GridGlobalToLocalGeneral

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

Synopsis

#include "grid.h" 
#include "gvec.h" 
int GridGlobalToLocalGeneral(Grid grid, GVec vec, Vec ghostVec, InsertMode mode, VecScatter scatter)
Collective on Grid

Input Parameters

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

Output Parameters

ghostVec -The local vector

Keywords

grid, scatter, global, local

See Also

GridGlobalToLocal(), 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