MFEM v4.7.0
Finite element discretization library
|
Possible basis types. Note that not all elements can use all BasisType(s). More...
#include <fe_base.hpp>
Public Types | |
enum | { Invalid = -1 , GaussLegendre = 0 , GaussLobatto = 1 , Positive = 2 , OpenUniform = 3 , ClosedUniform = 4 , OpenHalfUniform = 5 , Serendipity = 6 , ClosedGL = 7 , IntegratedGLL = 8 , NumBasisTypes = 9 } |
Static Public Member Functions | |
static int | Check (int b_type) |
If the input does not represents a valid BasisType, abort with an error; otherwise return the input. | |
static int | CheckNodal (int b_type) |
If the input does not represents a valid nodal BasisType, abort with an error; otherwise return the input. | |
static int | GetQuadrature1D (int b_type) |
Get the corresponding Quadrature1D constant, when that makes sense; otherwise return Quadrature1D::Invalid. | |
static int | GetNodalBasis (int qpt_type) |
Return the nodal BasisType corresponding to the Quadrature1D type. | |
static const char * | Name (int b_type) |
Check and convert a BasisType constant to a string identifier. | |
static char | GetChar (int b_type) |
Check and convert a BasisType constant to a char basis identifier. | |
static int | GetType (char b_ident) |
Convert char basis identifier to a BasisType constant. | |
Possible basis types. Note that not all elements can use all BasisType(s).
Definition at line 25 of file fe_base.hpp.
anonymous enum |
Definition at line 28 of file fe_base.hpp.
|
inlinestatic |
If the input does not represents a valid BasisType, abort with an error; otherwise return the input.
Definition at line 45 of file fe_base.hpp.
|
inlinestatic |
If the input does not represents a valid nodal BasisType, abort with an error; otherwise return the input.
Definition at line 53 of file fe_base.hpp.
|
inlinestatic |
Check and convert a BasisType constant to a char basis identifier.
Definition at line 104 of file fe_base.hpp.
|
inlinestatic |
Return the nodal BasisType corresponding to the Quadrature1D type.
Definition at line 78 of file fe_base.hpp.
|
inlinestatic |
Get the corresponding Quadrature1D constant, when that makes sense; otherwise return Quadrature1D::Invalid.
Definition at line 61 of file fe_base.hpp.
|
inlinestatic |
Convert char basis identifier to a BasisType constant.
Definition at line 111 of file fe_base.hpp.
|
inlinestatic |
Check and convert a BasisType constant to a string identifier.
Definition at line 92 of file fe_base.hpp.