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
DMDAm - 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#
Examples#
src/ksp/ksp/tests/ex32.c
src/mat/tests/ex129.c
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages