next up previous contents
Next: psb_get_boundary Extract Up: Data management routines Previous: psb_is_local   Contents

psb_local_index

call psb_local_index(y, x, desc_a, info)

Type:
Asynchronous.
On Entry
x
Integer indices.
Scope: local
Type: required
Intent: in, inout.
Specified as: a scalar or 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 Ignore, Warning or Abort, default Ignore.

On Return
y
A logical mask which is true for all corresponding entries of $x$ that are local to the current process Scope: local
Type: required
Intent: out.
Specified as: a scalar or rank one logical array.
info
Error code.
Scope: local
Type: required
Intent: out.
An integer value; 0 means no error has been detected.

Notes

  1. This routine returns a .true. value for those indices that are local to the current process, including the halo indices.