PetscFELimitDegree#
Copy a PetscFE but limit the degree to be in the given range
Synopsis#
#include "petscfe.h"
PetscErrorCode PetscFELimitDegree(PetscFE fe, PetscInt minDegree, PetscInt maxDegree, PetscFE *newfe)
Collective
Input Parameters#
fe - The
PetscFEminDegree - The minimum degree, or
PETSC_DETERMINEfor no limitmaxDegree - The maximum degree, or
PETSC_DETERMINEfor no limit
Output Parameter#
newfe - The
PetscFEobject
Note#
This currently only works for Lagrange elements.
See Also#
PetscFECreateLagrange(), PetscFECreateDefault(), PetscFECreateByCell(), PetscFECreate(), PetscSpaceCreate(), PetscDualSpaceCreate()
Level#
advanced
Location#
Index of all FE routines
Table of Contents for all manual pages
Index of all manual pages