#include "petscdm.h" #include "petscdmlabel.h" PetscErrorCode DMLocalToGlobalBegin(DM dm,Vec l,InsertMode mode,Vec g)Neighbor-wise Collective on DM Many br
dm | - the DM object Many br | |
l | - the local vector Many br | |
mode | - if INSERT_VALUES then no parallel communication is used, if ADD_VALUES then all ghost points from the same base point accumulate into that base point. Many br | |
g | - the global vector Many br |
Notes: In the ADD_VALUES case you normally would zero the receiving vector before beginning this operation. Many brINSERT_VALUES is not supported for DMDA, in that case simply compute the values directly into a global vector instead of a local one. Many br
Many br
Level:beginner
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages