# psb_cdasb — Communication descriptor assembly routine

[next] [prev] [prev-tail] [tail] [up]

#### 6.3 psb_cdasb — Communication descriptor assembly routine

call psb_cdasb(desc_a, info [, mold])

Type:
  Synchronous.
On Entry
desc_a
  the communication descriptor.
  Scope:local.
  Type:required.
  Intent: inout.
  Specified as: a structured data of type psb_desc_type.
mold
  The desired dynamic type for the internal index storage.
  Scope: local.
  Type: optional.
  Intent: in.
  Specified as: a object of type derived from (integer) psb_T_base_vect_type.

On Return
desc_a
  the communication descriptor.
  Scope:local.
  Type:required.
  Intent: inout.
  Specified as: a structured data of type psb_desc_type.
info
  Error code.
  Scope: local
  Type: required
  Intent: out.
  An integer value; 0 means no error has been detected.

Notes

1. On exit from this routine the descriptor is in the assembled state.

This call will set up all the necessary information for the halo data exchanges. In doing so, the library will need to identify the set of processes owning the halo indices through the use of the desc%fnd_owner() method; the owning processes are the topological neighbours of the calling process. If the user has some background information on the processes that are neighbours of the current one, it is possible to specify explicitly the list of adjacent processes with a call to desc%set_p_adjcncy(list); this will speed up the subsequent call to psb_cdasb.

[next] [prev] [prev-tail] [front] [up]