DMDASetNumProcs#
Sets the number of processes in each dimension
Synopsis#
#include "petscdmda.h"   
PetscErrorCode DMDASetNumProcs(DM da, PetscInt m, PetscInt n, PetscInt p)
Logically Collective
Input Parameters#
- da - the - DMDA
- m - the number of X processes (or - PETSC_DECIDE)
- n - the number of Y processes (or - PETSC_DECIDE)
- p - the number of Z processes (or - PETSC_DECIDE)
See Also#
DMDA - Creating vectors for structured grids, DM, DMDA, DMDASetSizes(), PetscSplitOwnership()
Level#
intermediate
Location#
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages