#include "petscdmplex.h" #include "petscdmplex.h" PetscErrorCode DMPlexCreateDoublet(MPI_Comm comm, PetscInt dim, PetscBool simplex, PetscBool interpolate, PetscBool refinementUniform, PetscReal refinementLimit, DM *newdm)Collective
comm | - The communicator for the DM object | |
dim | - The spatial dimension | |
simplex | - Flag for simplicial cells, otherwise they are tensor product cells | |
interpolate | - Flag to create intermediate mesh pieces (edges, faces) | |
refinementUniform | - Flag for uniform parallel refinement | |
refinementLimit | - A nonzero number indicates the largest admissible volume for a refined cell |