DMDAGetNumFaces#
Return the number of local mesh faces of each orientation (including ghost faces) for a DMDA.
Synopsis#
#include "petscdmda.h"
PetscErrorCode DMDAGetNumFaces(DM dm, PetscInt *numXFacesX, PetscInt *numXFaces, PetscInt *numYFacesY, PetscInt *numYFaces, PetscInt *numZFacesZ, PetscInt *numZFaces)
Not Collective
Input Parameter#
dm - the
DMDA
Output Parameters#
numXFacesX - number of X-normal faces along the x direction, or
NULLif not needednumXFaces - total number of X-normal faces, or
NULLif not needednumYFacesY - number of Y-normal faces along the y direction, or
NULLif not needednumYFaces - total number of Y-normal faces (
0for 1D), orNULLif not needednumZFacesZ - number of Z-normal faces along the z direction, or
NULLif not needednumZFaces - total number of Z-normal faces (
0for 1D/2D), orNULLif not needed
See Also#
DM, DMDA, DMDAGetNumVertices(), DMDAGetNumCells()
Level#
developer
Location#
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages