DMDAMapMatStencilToGlobal#
Map a list of MatStencil
on a grid to global indices.
Synopsis#
#include "petscdmda.h"
PetscErrorCode DMDAMapMatStencilToGlobal(DM da, PetscInt m, const MatStencil idxm[], PetscInt gidxm[])
Not Collective
Input Parameters#
da - the
DMDA
objectm - number of
MatStencil
to mapidxm - grid points (and component number when dof > 1)
Output Parameter#
gidxm - global row indices
See Also#
DMDA - Creating vectors for structured grids, DM
, DMDA
, MatStencil
Level#
intermediate
Location#
Examples#
src/snes/tutorials/ex55k.kokkos.cxx
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages