DALocalToLocalEnd
Maps from a local vector (including ghost points that contain irrelevant values) to another local vector where the ghost points in the second are set correctly. Must be preceeded by DALocalToLocalBegin().
Synopsis
int DALocalToLocalEnd(DA da,Vec g, InsertMode mode,Vec l)
Collective on DA and
Vec
Input Parameters
da | - the distributed array context
|
g | - the original local vector
|
mode | - one of INSERT_VALUES or ADD_VALUES
|
Output Parameter
l -the local vector with correct ghost values
Note
The local vectors used here need not be the same as
thoseobtained from DACreateGlobalVector() and DACreateLocalVector(), BUT
theymust have the same parallel data layout; they could, for example,
beobtained with VecDuplicate() from the DA originating vectors.
Keywords
distributed array, local-to-local, end
See Also
DALocalToLocalBegin(), DALocalToGlobal(), DAGlobalToLocal()
Location: src/da/src/daltol.c
IS and DA Index
Table of Contents