petsc-3.7.1 2016-05-15
Report Typos and Errors

DMPlexCreateDoublet

Creates a mesh of two cells of the specified type, optionally with later refinement.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateDoublet(MPI_Comm comm, PetscInt dim, PetscBool simplex, PetscBool interpolate, PetscBool refinementUniform, PetscReal refinementLimit, DM *newdm)
Collective on MPI_Comm Many br

Input Parameters

comm - The communicator for the DM object Many br
dim - The spatial dimension Many br
simplex - Flag for simplicial cells, otherwise they are tensor product cells Many br
interpolate - Flag to create intermediate mesh pieces (edges, faces) Many br
refinementUniform - Flag for uniform parallel refinement Many br
refinementLimit - A nonzero number indicates the largest admissible volume for a refined cell Many br

Output Parameter

dm -The DM object Many br

Many br

Keywords

DM, create

See Also

DMSetType(), DMCreate()

Level:beginner
Location:
src/dm/impls/plex/plexcreate.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages