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 on da

Input Parameters#

  • da - the DMDA

  • 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#

DMDASetSizes(), PetscSplitOwnership()

Level#

intermediate

Location#

src/dm/impls/da/da.c


Edit on GitLab

Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages