MFEM
v3.4
Finite element discretization library
|
#include <fe_coll.hpp>
Inherited by mfem::Const2DFECollection, mfem::Const3DFECollection, mfem::CrouzeixRaviartFECollection, mfem::CubicDiscont2DFECollection, mfem::CubicFECollection, mfem::GaussLinearDiscont2DFECollection, mfem::GaussQuadraticDiscont2DFECollection, mfem::H1_FECollection, mfem::L2_FECollection, mfem::LinearDiscont2DFECollection, mfem::LinearDiscont3DFECollection, mfem::LinearFECollection, mfem::LinearNonConf3DFECollection, mfem::Local_FECollection, mfem::ND1_3DFECollection, mfem::ND_FECollection, mfem::NURBSFECollection, mfem::P1OnQuadFECollection, mfem::QuadraticDiscont2DFECollection, mfem::QuadraticDiscont3DFECollection, mfem::QuadraticFECollection, mfem::QuadraticPosDiscont2DFECollection, mfem::QuadraticPosFECollection, mfem::RefinedLinearFECollection, mfem::RT0_2DFECollection, mfem::RT0_3DFECollection, mfem::RT1_2DFECollection, mfem::RT1_3DFECollection, mfem::RT2_2DFECollection, and mfem::RT_FECollection.
Public Member Functions | |
virtual const FiniteElement * | FiniteElementForGeometry (int GeomType) const =0 |
virtual int | DofForGeometry (int GeomType) const =0 |
virtual int * | DofOrderForOrientation (int GeomType, int Or) const =0 |
virtual const char * | Name () const |
int | HasFaceDofs (int GeomType) const |
virtual const FiniteElement * | TraceFiniteElementForGeometry (int GeomType) const |
virtual FiniteElementCollection * | GetTraceCollection () const |
virtual | ~FiniteElementCollection () |
void | SubDofOrder (int Geom, int SDim, int Info, Array< int > &dofs) const |
Get the local dofs for a given sub-manifold. More... | |
Static Public Member Functions | |
static FiniteElementCollection * | New (const char *name) |
Factory method: return a newly allocated FiniteElementCollection according to the given name. More... | |
Static Protected Member Functions | |
template<Geometry::Type geom> | |
static void | GetNVE (int &nv, int &ne) |
template<Geometry::Type geom, typename v_t > | |
static void | GetEdge (int &nv, v_t &v, int &ne, int &e, int &eo, const int edge_info) |
template<Geometry::Type geom, Geometry::Type f_geom, typename v_t , typename e_t , typename eo_t > | |
static void | GetFace (int &nv, v_t &v, int &ne, e_t &e, eo_t &eo, int &nf, int &f, int &fg, int &fo, const int face_info) |
Collection of finite elements from the same family in multiple dimensions. This class is used to match the degrees of freedom of a FiniteElementSpace between elements, and to provide the finite element restriction from an element to its boundary.
Definition at line 26 of file fe_coll.hpp.
|
inlinevirtual |
Definition at line 62 of file fe_coll.hpp.
|
pure virtual |
Implemented in mfem::Local_FECollection, mfem::RT1_3DFECollection, mfem::RT0_3DFECollection, mfem::ND1_3DFECollection, mfem::RefinedLinearFECollection, mfem::QuadraticDiscont3DFECollection, mfem::LinearDiscont3DFECollection, mfem::Const3DFECollection, mfem::CubicDiscont2DFECollection, mfem::GaussQuadraticDiscont2DFECollection, mfem::QuadraticPosDiscont2DFECollection, mfem::QuadraticDiscont2DFECollection, mfem::P1OnQuadFECollection, mfem::GaussLinearDiscont2DFECollection, mfem::LinearDiscont2DFECollection, mfem::Const2DFECollection, mfem::RT2_2DFECollection, mfem::RT1_2DFECollection, mfem::RT0_2DFECollection, mfem::LinearNonConf3DFECollection, mfem::CrouzeixRaviartFECollection, mfem::CubicFECollection, mfem::QuadraticPosFECollection, mfem::QuadraticFECollection, mfem::LinearFECollection, mfem::NURBSFECollection, mfem::ND_FECollection, mfem::RT_FECollection, mfem::L2_FECollection, and mfem::H1_FECollection.
|
pure virtual |
Implemented in mfem::Local_FECollection, mfem::RT1_3DFECollection, mfem::RT0_3DFECollection, mfem::ND1_3DFECollection, mfem::RefinedLinearFECollection, mfem::QuadraticDiscont3DFECollection, mfem::LinearDiscont3DFECollection, mfem::Const3DFECollection, mfem::CubicDiscont2DFECollection, mfem::GaussQuadraticDiscont2DFECollection, mfem::QuadraticPosDiscont2DFECollection, mfem::QuadraticDiscont2DFECollection, mfem::P1OnQuadFECollection, mfem::GaussLinearDiscont2DFECollection, mfem::LinearDiscont2DFECollection, mfem::Const2DFECollection, mfem::RT2_2DFECollection, mfem::RT1_2DFECollection, mfem::RT0_2DFECollection, mfem::LinearNonConf3DFECollection, mfem::CrouzeixRaviartFECollection, mfem::CubicFECollection, mfem::QuadraticPosFECollection, mfem::QuadraticFECollection, mfem::LinearFECollection, mfem::NURBSFECollection, mfem::ND_FECollection, mfem::RT_FECollection, mfem::L2_FECollection, and mfem::H1_FECollection.
|
pure virtual |
Implemented in mfem::Local_FECollection, mfem::RT1_3DFECollection, mfem::RT0_3DFECollection, mfem::ND1_3DFECollection, mfem::RefinedLinearFECollection, mfem::QuadraticDiscont3DFECollection, mfem::LinearDiscont3DFECollection, mfem::Const3DFECollection, mfem::CubicDiscont2DFECollection, mfem::GaussQuadraticDiscont2DFECollection, mfem::QuadraticPosDiscont2DFECollection, mfem::QuadraticDiscont2DFECollection, mfem::P1OnQuadFECollection, mfem::GaussLinearDiscont2DFECollection, mfem::LinearDiscont2DFECollection, mfem::Const2DFECollection, mfem::RT2_2DFECollection, mfem::RT1_2DFECollection, mfem::RT0_2DFECollection, mfem::LinearNonConf3DFECollection, mfem::CrouzeixRaviartFECollection, mfem::CubicFECollection, mfem::QuadraticPosFECollection, mfem::QuadraticFECollection, mfem::LinearFECollection, mfem::NURBSFECollection, mfem::ND_FECollection, mfem::RT_FECollection, mfem::L2_FECollection, and mfem::H1_FECollection.
|
inlinestaticprotected |
Definition at line 296 of file fe_coll.cpp.
|
inlinestaticprotected |
Definition at line 316 of file fe_coll.cpp.
|
inlinestaticprotected |
Definition at line 286 of file fe_coll.cpp.
|
virtual |
Reimplemented in mfem::NURBSFECollection, mfem::ND_FECollection, mfem::RT_FECollection, and mfem::H1_FECollection.
Definition at line 38 of file fe_coll.cpp.
int mfem::FiniteElementCollection::HasFaceDofs | ( | int | GeomType | ) | const |
Definition at line 25 of file fe_coll.cpp.
|
inlinevirtual |
Reimplemented in mfem::Local_FECollection, mfem::RT1_3DFECollection, mfem::RT0_3DFECollection, mfem::ND1_3DFECollection, mfem::RefinedLinearFECollection, mfem::QuadraticDiscont3DFECollection, mfem::LinearDiscont3DFECollection, mfem::Const3DFECollection, mfem::CubicDiscont2DFECollection, mfem::GaussQuadraticDiscont2DFECollection, mfem::QuadraticPosDiscont2DFECollection, mfem::QuadraticDiscont2DFECollection, mfem::P1OnQuadFECollection, mfem::GaussLinearDiscont2DFECollection, mfem::LinearDiscont2DFECollection, mfem::Const2DFECollection, mfem::RT2_2DFECollection, mfem::RT1_2DFECollection, mfem::RT0_2DFECollection, mfem::LinearNonConf3DFECollection, mfem::CrouzeixRaviartFECollection, mfem::CubicFECollection, mfem::QuadraticPosFECollection, mfem::QuadraticFECollection, mfem::LinearFECollection, mfem::NURBSFECollection, mfem::ND_FECollection, mfem::RT_FECollection, mfem::L2_FECollection, and mfem::H1_FECollection.
Definition at line 50 of file fe_coll.hpp.
|
static |
Factory method: return a newly allocated FiniteElementCollection according to the given name.
Definition at line 44 of file fe_coll.cpp.
void mfem::FiniteElementCollection::SubDofOrder | ( | int | Geom, |
int | SDim, | ||
int | Info, | ||
Array< int > & | dofs | ||
) | const |
Get the local dofs for a given sub-manifold.
Return the local dofs for a SDim-dimensional sub-manifold (0D - vertex, 1D - edge, 2D - face) including those on its boundary. The local index of the sub-manifold (inside Geom) and its orientation are given by the parameter Info = 64 * SubIndex + SubOrientation. Naturally, it is assumed that 0 <= SDim <= Dim(Geom).
Definition at line 361 of file fe_coll.cpp.
|
inlinevirtual |
Reimplemented in mfem::L2_FECollection.
Definition at line 54 of file fe_coll.hpp.