DASetNumProcs

Sets the number of processes in each dimension

Synopsis

#include "petscda.h"   
PetscErrorCode PETSCDM_DLLEXPORT DASetNumProcs(DA da, PetscInt m, PetscInt n, PetscInt p)
Collective on DA

Input Parameters

da - the DA
m - the number of X procs (or PETSC_DECIDE)
n - the number of Y procs (or PETSC_DECIDE)
p - the number of Z procs (or PETSC_DECIDE)

See Also

DASetSizes(), DAGetSize(), PetscSplitOwnership()

Level:intermediate
Location:
src/dm/da/src/da.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages