#include "grid.h" #include "gvec.h" int GridGhostExchange(MPI_Comm comm, int numGhosts, int *ghostProcs, int *ghostIndices, PetscDataType dataType, int *firstVar, InsertMode addv, ScatterMode mode, void *locVars, void *ghostVars)Collective on MPI_Comm
comm | - The communicator | |
numGhosts | - The number of ghosts in this domain | |
ghostProcs | - The processor from which to obtain each ghost | |
ghostIndices | - The global index for each ghost | |
dataType | - The type of the variables | |
firstVar | - The first variable on each processor | |
addv | - The insert mode, INSERT_VALUES or ADD_VALUES | |
mode | - The direction of the transfer, SCATTER_FORWARD or SCATTER_REVERSE |
locVars | - The local variable array | |
ghostVars | - The ghost variables |
Level:advanced
Location:src/grid/interface/grid.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages