petsc-3.3-p7 2013-05-11

DMComplexDistribute

Distributes the mesh and any associated sections.

Synopsis

#include "petscdmcomplex.h"   
PetscErrorCode DMComplexDistribute(DM dm, const char partitioner[], DM *dmParallel)
Not Collective

Input Parameter

dm - The original DMComplex object
partitioner - The partitioning package, or NULL for the default

Output Parameter

parallelMesh -The distributed DMComplex object, or PETSC_NULL

Note: If the mesh was not distributed, the return value is PETSC_NULL

Keywords

mesh, elements

See Also

DMComplexCreate(), DMComplexDistributeByFace()

Level:intermediate
Location:
src/dm/impls/complex/complex.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex52.c.html
src/snes/examples/tutorials/ex62.c.html