DMDACreate#
Creates a DMDA object for managing structured grids.
Synopsis#
#include "petscdmda.h"
PetscErrorCode DMDACreate(MPI_Comm comm, DM *da)
Collective
Input Parameter#
comm - The communicator for the
DMDAobject
Output Parameter#
da - the
DMDAobject
Notes#
See DMDA - Creating vectors for structured grids for details on the construction of a DMDA
DMDACreate1d(), DMDACreate2d(), and DMDACreate3d() are convenience routines to quickly completely create a DMDA
See Also#
DMDA - Creating vectors for structured grids, DM, DMDA, DMSetUp(), DMDASetSizes(), DMClone(), DMDACreate1d(), DMDACreate2d(), DMDACreate3d()
Level#
advanced
Location#
Examples#
src/dm/tutorials/ex19.c
src/dm/impls/swarm/tests/ex12.c
src/ksp/ksp/tests/ex32.c
src/mat/tests/ex129.c
src/snes/tests/ex2.c
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages