#include "petscdmda.h" PetscErrorCode DMDAGetNumCells(DM dm, PetscInt *numCellsX, PetscInt *numCellsY, PetscInt *numCellsZ, PetscInt *numCells)
numCellsX | - The number of local cells in the x-direction | |
numCellsY | - The number of local cells in the y-direction | |
numCellsZ | - The number of local cells in the z-direction | |
numCells | - The number of local cells |