#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMCreateFEDefault(DM dm, PetscInt Nc, const char prefix[], PetscInt qorder, PetscFE *fem)Not collective
| dm | - The DM | |
| Nc | - The number of components for the field | |
| prefix | - The options prefix for the output PetscFE, or NULL | |
| qorder | - The quadrature order or PETSC_DETERMINE to use PetscSpace polynomial degree |
| fem | - The PetscFE |
Note: This is a convenience method that just calls PetscFECreateByCell() underneath.