petsc-3.4.5 2014-06-29

DMDAConvertToCell

Convert (i,j,k) to local cell number

Synopsis

#include "petscdmda.h"   
PetscErrorCode DMDAConvertToCell(DM dm, MatStencil s, PetscInt *cell)
Not Collective

Input Parameter

Output Parameter

See Also

DMDAVecGetClosure()

Level:developer
Location:
src/dm/impls/da/dageometry.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

da - the distributed array = s - A MatStencil giving (i,j,k)
cell - the local cell number