Maps values from the global vector to a global vector in the “natural” grid ordering. Must be followed by
DMDAGlobalToNaturalEnd() to complete the exchange.
Neighbor-wise Collective on da
l - the natural ordering values
The global and natrual vectors used here need not be the same as those
DMDACreateNaturalVector(), BUT they
must have the same parallel data layout; they could, for example, be
VecDuplicate() from the
DMDA originating vectors.
You must call
DMDACreateNaturalVector() before using this routine