Module ppm_module_util_invert_list

This module provides the utility routines for inverting lists

Defined Types

name description

no types

Defined Module Interfaces

name description

ppm_util_invert_list

Defined Module Subroutines

name description

no subroutines

Interface ppm_util_invert_list

Subroutines contained in this interface:

name description

ppm_util_invert_list

Creates the inverse list (indiced become entries

Subroutine ppm_util_invert_list

Creates the inverse list (indiced become entries and vice versa) for a 1D integer list.

[Note]Note

Entries in outlist for which no corresponding entry in inlist exists are initialized to -HUGE(outlist(.)) and can be recognized like this.

Arguments

name type dimension intent optional description

inlist

integer array

(:)

Non-negative integer list to be inverted

outlist

integer array

(:)

Inverse list

info

integer

(OUT)

Return status, 0 on success

inlist

integer array, (:), no intent declared

Non-negative integer list to be inverted

outlist

integer array, (:), no intent declared

Inverse list

info

integer, , (OUT)

Return status, 0 on success

Used Modules

ppm_module_data, ppm_module_error, ppm_module_alloc, ppm_module_substop, ppm_module_write, ppm_module_substart

Defined Module Variables

name type dimension description

no variables

Used Modules

has no uses