DMGlobalToLocalEnd#
Ends updating local vectors from global vector
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMGlobalToLocalEnd(DM dm, Vec g, InsertMode mode, Vec l)
Neighbor-wise Collective
Input Parameters#
dm - the
DM
objectg - the global vector
mode -
INSERT_VALUES
orADD_VALUES
l - the local vector
Note#
See DMGlobalToLocalBegin()
for details.
See Also#
DM Basics, DM
, DMCoarsen()
, DMDestroy()
, DMView()
, DMCreateGlobalVector()
, DMCreateInterpolation()
, DMGlobalToLocal()
, DMLocalToGlobalBegin()
, DMLocalToGlobal()
, DMLocalToGlobalEnd()
Level#
intermediate
Location#
Examples#
src/dm/tutorials/ex9.c
src/tao/unconstrained/tutorials/eptorsion2.c
src/tao/complementarity/tutorials/blackscholes.c
src/tao/unconstrained/tutorials/eptorsion2f.F90
src/dm/tutorials/ex5.c
src/dm/tutorials/ex3.c
src/tao/bound/tutorials/plate2.c
src/tao/bound/tutorials/plate2f.F90
src/tao/bound/tutorials/jbearing2.c
src/tao/unconstrained/tutorials/minsurf2.c
Implementations#
DMGlobalToLocalEnd_Composite() in src/dm/impls/composite/pack.c
DMGlobalToLocalEnd_DA() in src/dm/impls/da/dagtol.c
DMGlobalToLocalEnd_Moab() in src/dm/impls/moab/dmmbvec.cxx
DMGlobalToLocalEnd_Network() in src/dm/impls/network/network.c
DMGlobalToLocalEnd_Redundant() in src/dm/impls/redundant/dmredundant.c
DMGlobalToLocalEnd_Sliced() in src/dm/impls/sliced/sliced.c
DMGlobalToLocalEnd_Stag() in src/dm/impls/stag/stag.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages