PETSc version 3.16.5
Fix/Edit manual page

# PetscDualSpaceCreateReferenceCell

Create a DMPLEX with the appropriate FEM reference cell

### Synopsis

    #include "petscfe.h"
    PetscErrorCode PetscDualSpaceCreateReferenceCell(PetscDualSpace sp, PetscInt dim, PetscBool simplex, DM *refdm)

Collective on sp

### Input Parameters

| sp | - The PetscDualSpace
| dim | - The spatial dimension
| simplex | - Flag for simplex, otherwise use a tensor-product cell

### Output Parameter

| refdm | - The reference cell

Note: This DM is on PETSC_COMM_SELF.

### See Also

PetscDualSpaceCreate(), DMPLEX

### Level

intermediate

### Location

src/dm/dt/dualspace/interface/dualspace.c
Index of all DUALSPACE routines
Table of Contents for all manual pages
Index of all manual pages