call psb_glob_to_loc(x, y, desc_a, info, iact,owned)
call psb_glob_to_loc(x, desc_a, info, iact,owned)
- Type:
- Asynchronous.
- On Entry
-
- x
- An integer vector of indices to be converted.
Scope: local
Type: required
Intent: in, inout.
Specified as: a rank one integer array.
- desc_a
- the communication descriptor.
Scope:local.
Type:required.
Intent: in.
Specified as: a structured data of type descdatapsb_desc_type.
- iact
- specifies action to be taken in case of range errors.
Scope: global
Type: optional
Intent: in.
Specified as: a character variable I
gnore, W
arning or
A
bort, default I
gnore.
- owned
- Specfies valid range of input
Scope: global
Type: optional
Intent: in.
If true, then only indices strictly owned by the current process are
considered valid, if false then halo indices are also
accepted. Default: false.
- On Return
-
- x
- If is not present,
then is overwritten with the translated integer indices.
Scope: global
Type: required
Intent: inout.
Specified as: a rank one integer array.
- y
- If is present,
then is overwritten with the translated integer indices, and
is left unchanged.
Scope: global
Type: optional
Intent: out.
Specified as: a rank one integer array.
- info
- Error code.
Scope: local
Type: required
Intent: out.
An integer value; 0 means no error has been detected.
Notes
- If an input index is out of range, then the corresponding output
index is set to a negative number;
- The default
I
gnore means that the negative output is the
only action taken on an out-of-range input.