DMLocalToGlobalEnd#
updates global vectors from local vectors
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMLocalToGlobalEnd(DM dm, Vec l, InsertMode mode, Vec g)
Neighbor-wise Collective
Input Parameters#
dm - the
DM
objectl - the local vector
mode -
INSERT_VALUES
orADD_VALUES
g - the global vector
Note#
See DMLocalToGlobalBegin()
for full details
See Also#
DM Basics, DM
, DMLocalToGlobalBegin()
, DMCoarsen()
, DMDestroy()
, DMView()
, DMCreateGlobalVector()
, DMCreateInterpolation()
, DMGlobalToLocalEnd()
Level#
intermediate
Location#
Examples#
src/dm/tutorials/ex9.c
src/snes/tutorials/ex19.c
src/snes/tutorials/ex5.c
src/tao/complementarity/tutorials/blackscholes.c
src/dm/tutorials/ex1.c
src/dm/tutorials/ex7.c
src/dm/tutorials/ex14.c
src/tao/bound/tutorials/plate2.c
src/dm/tutorials/ex5.c
src/tao/bound/tutorials/plate2f.F90
Implementations#
DMLocalToGlobalEnd_Composite() in src/dm/impls/composite/pack.c
DMLocalToGlobalEnd_DA() in src/dm/impls/da/dagtol.c
DMLocalToGlobalEnd_Moab() in src/dm/impls/moab/dmmbvec.cxx
DMLocalToGlobalEnd_Network() in src/dm/impls/network/network.c
DMLocalToGlobalEnd_Redundant() in src/dm/impls/redundant/dmredundant.c
DMLocalToGlobalEnd_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