next up previous contents
Next: psb_cdasb Communication Up: Data management routines Previous: psb_cdall Allocates   Contents

psb_cdins -- Communication descriptor insert routine

call psb_cdins(nz, ia, ja, desc_a, info)

This subroutine examines the edges of the graph associated with the discretization mesh (and isomorphic to the sparsity pattern of a linear system coefficient matrix), storing them as necessary into the communication descriptor.

Type:
Asynchronous.
On Entry
nz
the number of points being inserted.
Scope: local.
Type: required.
Intent: in.
Specified as: an integer value.
ia
the indices of the starting vertex of the edges being inserted.
Scope: local.
Type: required.
Intent: in.
Specified as: an integer array of length $nz$.
ja
the indices of the end vertex of the edges being inserted.
Scope: local.
Type: required.
Intent: in.
Specified as: an integer array of length $nz$.

On Return
desc_a
the updated communication descriptor.
Scope:local.
Type:required.
Intent: inout.
Specified as: a structured data of type descdatapsb_desc_type.
info
Error code.
Scope: local
Type: required
Intent: out.
An integer value; 0 means no error has been detected.
Notes
  1. This routine may only be called if the descriptor is in the build state;
  2. This routine automatically ignores edges that do not insist on the current process, i.e. edges for which neither the starting nor the end vertex belong to the current process.


next up previous contents
Next: psb_cdasb Communication Up: Data management routines Previous: psb_cdall Allocates   Contents