![]() |
MFEM v4.8.0
Finite element discretization library
|
#include <fe_base.hpp>
Public Types | |
| enum | DofMapType { L2_DOF_MAP = 0 , H1_DOF_MAP = 1 , Sr_DOF_MAP = 2 } |
Public Member Functions | |
| TensorBasisElement (const int dims, const int p, const int btype, const DofMapType dmtype) | |
| int | GetBasisType () const |
| const Poly_1D::Basis & | GetBasis1D () const |
| const Array< int > & | GetDofMap () const |
| Get an Array<int> that maps lexicographically ordered indices to the indices of the respective nodes/dofs/basis functions. If the dofs are ordered lexicographically, i.e. the mapping is identity, the returned Array will be empty. | |
Static Public Member Functions | |
| static Geometry::Type | GetTensorProductGeometry (int dim) |
| static int | Pow (int base, int dim) |
| Return base raised to the power dim. | |
| static const DofToQuad & | GetTensorDofToQuad (const FiniteElement &fe, const IntegrationRule &ir, DofToQuad::Mode mode, const Poly_1D::Basis &basis, bool closed, Array< DofToQuad * > &dof2quad_array) |
Protected Attributes | |
| int | b_type |
| Array< int > | dof_map |
| Poly_1D::Basis & | basis1d |
| Array< int > | inv_dof_map |
An element defined as an ND tensor product of 1D elements on a segment, square, or cube
Definition at line 1246 of file fe_base.hpp.
| Enumerator | |
|---|---|
| L2_DOF_MAP | |
| H1_DOF_MAP | |
| Sr_DOF_MAP | |
Definition at line 1255 of file fe_base.hpp.
| mfem::TensorBasisElement::TensorBasisElement | ( | const int | dims, |
| const int | p, | ||
| const int | btype, | ||
| const DofMapType | dmtype ) |
Definition at line 2399 of file fe_base.cpp.
|
inline |
Definition at line 1267 of file fe_base.hpp.
|
inline |
Definition at line 1265 of file fe_base.hpp.
|
inline |
Get an Array<int> that maps lexicographically ordered indices to the indices of the respective nodes/dofs/basis functions. If the dofs are ordered lexicographically, i.e. the mapping is identity, the returned Array will be empty.
Definition at line 1273 of file fe_base.hpp.
|
static |
Definition at line 2599 of file fe_base.cpp.
|
inlinestatic |
Definition at line 1275 of file fe_base.hpp.
|
inlinestatic |
Return base raised to the power dim.
Definition at line 1289 of file fe_base.hpp.
|
protected |
Definition at line 1249 of file fe_base.hpp.
|
protected |
Definition at line 1251 of file fe_base.hpp.
|
protected |
Definition at line 1250 of file fe_base.hpp.
|
protected |
Definition at line 1252 of file fe_base.hpp.