Module ppm_module_util_collapse_list

This module provides the utility routines.

Defined Types

name description

no types

Defined Module Interfaces

name description

ppm_util_collapse_list

Defined Module Subroutines

name description

no subroutines

Interface ppm_util_collapse_list

Subroutines contained in this interface:

name description

ppm_util_collapse_list

Generates a list whose entries are unique from a list of

Subroutine ppm_util_collapse_list

Generates a list whose entries are unique from a list of integer vectors.

Arguments

name type dimension intent optional description

inlist

integer array

(:,:)

Original list of n-plets.

nin

integer

(IN)

Length of inlist.

outlist

integer array

(:,:)

Collapsed list of n-plets. The list is sorted and has the same

nout

integer

(OUT)

Length of outlist, i.e. UBOUND = LBOUND + nout - 1.

info

integer

(OUT)

Return status, 0 on success

idx

integer array

(:)

X

Index array such that outlist(i) = inlist(idx(i))

inlist

integer array, (:,:), no intent declared

Original list of n-plets.

1st index: 1…n 2nd index: 1…nin.

nin

integer, , (IN)

Length of inlist.

outlist

integer array, (:,:), no intent declared

Collapsed list of n-plets. The list is sorted and has the same LBOUND as inlist.

nout

integer, , (OUT)

Length of outlist, i.e. UBOUND = LBOUND + nout - 1.

info

integer, , (OUT)

Return status, 0 on success

(Optional) idx

integer array, (:), no intent declared

Index array such that outlist(i) = inlist(idx(i))

Used Modules

ppm_module_data, ppm_module_error, ppm_module_alloc, ppm_module_substop, ppm_module_util_qsort, ppm_module_substart

Defined Module Variables

name type dimension description

no variables

Used Modules

has no uses