petsc-3.9.0 2018-04-07
Report Typos and Errors

DMDASetSizes

Sets the global sizes

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDASetSizes(DM da, PetscInt M, PetscInt N, PetscInt P)
Logically Collective on DMDA

Input Parameters

da - the DMDA
M - the global X size (or PETSC_DECIDE)
N - the global Y size (or PETSC_DECIDE)
P - the global Z size (or PETSC_DECIDE)

See Also

DMDAGetSize(), PetscSplitOwnership()

Level

intermediate

Location

src/dm/impls/da/da.c

Examples

src/dm/examples/tutorials/ex19.c.html

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