GridGlobalToLocal

Scatters values including ghost variables from the given global vector into the local grid ghost vector.

Synopsis

#include "grid.h" 
#include "gvec.h" 
int GridGlobalToLocal(Grid grid, InsertMode mode, GVec vec)
Collective on Grid

Input Parameters

grid - The grid
mode - The insertion mode, either INSERT_VALUES or ADD_VALUES
vec - The grid vector

Keywords

grid, scatter, global, local

See Also

GridGlobalToLocalGeneral(), GridLocalToGlobal(), GVecGlobalToLocal()

Level:intermediate
Location:
src/grid/interface/grid.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages