petsc-3.8.4 2018-03-24
DMDAGlobalToNaturalEnd
Maps values from the global vector to a global vector in the natural ordering. Must be preceeded by DMDAGlobalToNaturalBegin().
Synopsis
#include "petscdmda.h"
PetscErrorCode DMDAGlobalToNaturalEnd(DM da,Vec g,InsertMode mode,Vec l)
Neighbor-wise Collective on DMDA
Input Parameters
Output Parameter
l -the global values in the natural ordering
Notes
The global and local vectors used here need not be the same as those
obtained from DMCreateGlobalVector() and DMDACreateNaturalVector(), BUT they
must have the same parallel data layout; they could, for example, be
obtained with VecDuplicate() from the DMDA originating vectors.
Keywords
distributed array, global to local, end
See Also
DMDAGlobalToNaturalBegin(), DMLocalToGlobalBegin(), DMDACreate2d(),
DMGlobalToLocalBegin(), DMGlobalToLocalEnd(), DMDACreateNaturalVector()
Level:advanced
Location:src/dm/impls/da/dagtol.c
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages