MFEM  v3.3.2
Finite element discretization library
Public Member Functions | Protected Attributes | List of all members
mfem::H1_FECollection Class Reference

Arbitrary order H1-conforming (continuous) finite elements. More...

#include <fe_coll.hpp>

Inheritance diagram for mfem::H1_FECollection:
[legend]
Collaboration diagram for mfem::H1_FECollection:
[legend]

Public Member Functions

 H1_FECollection (const int p, const int dim=3, const int type=BasisType::GaussLobatto)
 
virtual const FiniteElementFiniteElementForGeometry (int GeomType) const
 
virtual int DofForGeometry (int GeomType) const
 
virtual int * DofOrderForOrientation (int GeomType, int Or) const
 
virtual const char * Name () const
 
FiniteElementCollectionGetTraceCollection () const
 
int GetBasisType () const
 
const int * GetDofMap (int GeomType) const
 Get the Cartesian to local H1 dof map. More...
 
virtual ~H1_FECollection ()
 
- Public Member Functions inherited from mfem::FiniteElementCollection
int HasFaceDofs (int GeomType) const
 
virtual const FiniteElementTraceFiniteElementForGeometry (int GeomType) 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...
 

Protected Attributes

int m_type
 
char h1_name [32]
 
FiniteElementH1_Elements [Geometry::NumGeom]
 
int H1_dof [Geometry::NumGeom]
 
int * SegDofOrd [2]
 
int * TriDofOrd [6]
 
int * QuadDofOrd [8]
 

Additional Inherited Members

- Static Public Member Functions inherited from mfem::FiniteElementCollection
static FiniteElementCollectionNew (const char *name)
 Factory method: return a newly allocated FiniteElementCollection according to the given name. More...
 
- Static Protected Member Functions inherited from mfem::FiniteElementCollection
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)
 

Detailed Description

Arbitrary order H1-conforming (continuous) finite elements.

Definition at line 146 of file fe_coll.hpp.

Constructor & Destructor Documentation

mfem::H1_FECollection::H1_FECollection ( const int  p,
const int  dim = 3,
const int  type = BasisType::GaussLobatto 
)
explicit

Definition at line 1461 of file fe_coll.cpp.

mfem::H1_FECollection::~H1_FECollection ( )
virtual

Definition at line 1673 of file fe_coll.cpp.

Member Function Documentation

virtual int mfem::H1_FECollection::DofForGeometry ( int  GeomType) const
inlinevirtual

Implements mfem::FiniteElementCollection.

Definition at line 162 of file fe_coll.hpp.

int * mfem::H1_FECollection::DofOrderForOrientation ( int  GeomType,
int  Or 
) const
virtual

Implements mfem::FiniteElementCollection.

Definition at line 1611 of file fe_coll.cpp.

virtual const FiniteElement* mfem::H1_FECollection::FiniteElementForGeometry ( int  GeomType) const
inlinevirtual

Implements mfem::FiniteElementCollection.

Definition at line 160 of file fe_coll.hpp.

int mfem::H1_FECollection::GetBasisType ( ) const
inline

Definition at line 168 of file fe_coll.hpp.

const int * mfem::H1_FECollection::GetDofMap ( int  GeomType) const

Get the Cartesian to local H1 dof map.

Definition at line 1647 of file fe_coll.cpp.

FiniteElementCollection * mfem::H1_FECollection::GetTraceCollection ( ) const
virtual

Reimplemented from mfem::FiniteElementCollection.

Definition at line 1628 of file fe_coll.cpp.

virtual const char* mfem::H1_FECollection::Name ( ) const
inlinevirtual

Reimplemented from mfem::FiniteElementCollection.

Definition at line 165 of file fe_coll.hpp.

Member Data Documentation

int mfem::H1_FECollection::H1_dof[Geometry::NumGeom]
protected

Definition at line 153 of file fe_coll.hpp.

FiniteElement* mfem::H1_FECollection::H1_Elements[Geometry::NumGeom]
protected

Definition at line 152 of file fe_coll.hpp.

char mfem::H1_FECollection::h1_name[32]
protected

Definition at line 151 of file fe_coll.hpp.

int mfem::H1_FECollection::m_type
protected

Definition at line 150 of file fe_coll.hpp.

int * mfem::H1_FECollection::QuadDofOrd[8]
protected

Definition at line 154 of file fe_coll.hpp.

int* mfem::H1_FECollection::SegDofOrd[2]
protected

Definition at line 154 of file fe_coll.hpp.

int * mfem::H1_FECollection::TriDofOrd[6]
protected

Definition at line 154 of file fe_coll.hpp.


The documentation for this class was generated from the following files: