DMCreateFEDefault#
Create a PetscFE based on the celltype for the mesh
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMCreateFEDefault(DM dm, PetscInt Nc, const char prefix[], PetscInt qorder, PetscFE *fem)
Not collective
Input Parameters#
dm - The
DMNc - The number of components for the field
prefix - The options prefix for the output
PetscFE, or NULLqorder - The quadrature order or
PETSC_DETERMINEto usePetscSpacepolynomial degree
Output Parameter#
fem - The
PetscFE
Note#
This is a convenience method that just calls PetscFECreateByCell() underneath.
See Also#
PetscFECreateByCell(), DMAddField(), DMCreateDS(), DMGetCellDS(), DMGetRegionDS()
Level#
intermediate
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages