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 on dm

Input Parameters

dm - the DM object
l - the local vector
mode - INSERT_VALUES or ADD_VALUES
g - the global vector

Level: intermediate

See Also

DMCoarsen(), DMDestroy(), DMView(), DMCreateGlobalVector(), DMCreateInterpolation(), DMGlobalToLocalEnd(), DMGlobalToLocalEnd()

Location:dm.c