petsc-3.3-p7 2013-05-11

DMCreateDomainDecompositionDM

creates a DM that encapsulates a decomposition of the original DM into subdomains.

Synopsis

#include "petscdm.h"     
PetscErrorCode DMCreateDomainDecompositionDM(DM dm, const char* name, DM *ddm)
Not Collective

Input Parameters

dm - the DM object
name - the name of the subdomain decomposition

Output Parameter

ddm -the subdomain decomposition DM (PETSC_NULL, if no such decomposition is known)

See Also

DMDestroy(), DMCreate(), DMCreateFieldDecomposition(), DMCreateDomainDecompositionDM()

Level:advanced
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages