MFEM  v4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mfem::RT_FECollection Class Reference

Arbitrary order H(div)-conforming Raviart-Thomas finite elements. More...

#include <fe_coll.hpp>

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

Public Member Functions

 RT_FECollection (const int p, const int dim, const int cb_type=BasisType::GaussLobatto, const int ob_type=BasisType::GaussLegendre)
 
virtual const FiniteElementFiniteElementForGeometry (Geometry::Type GeomType) const
 
virtual int DofForGeometry (Geometry::Type GeomType) const
 
virtual const int * DofOrderForOrientation (Geometry::Type GeomType, int Or) const
 Returns an array, say p, that maps a local permuted index i to a local base index: base_i = p[i]. More...
 
virtual const char * Name () const
 
FiniteElementCollectionGetTraceCollection () const
 
virtual ~RT_FECollection ()
 
- Public Member Functions inherited from mfem::FiniteElementCollection
int HasFaceDofs (Geometry::Type GeomType) const
 
virtual const FiniteElementTraceFiniteElementForGeometry (Geometry::Type GeomType) const
 
virtual ~FiniteElementCollection ()
 
void SubDofOrder (Geometry::Type Geom, int SDim, int Info, Array< int > &dofs) const
 Get the local dofs for a given sub-manifold. More...
 

Protected Member Functions

void InitFaces (const int p, const int dim, const int map_type, const bool signs)
 
 RT_FECollection (const int p, const int dim, const int map_type, const bool signs, const int ob_type=BasisType::GaussLegendre)
 

Protected Attributes

int ob_type
 
char rt_name [32]
 
FiniteElementRT_Elements [Geometry::NumGeom]
 
int RT_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, Geometry::Type &fg, int &fo, const int face_info)
 

Detailed Description

Arbitrary order H(div)-conforming Raviart-Thomas finite elements.

Definition at line 180 of file fe_coll.hpp.

Constructor & Destructor Documentation

mfem::RT_FECollection::RT_FECollection ( const int  p,
const int  dim,
const int  map_type,
const bool  signs,
const int  ob_type = BasisType::GaussLegendre 
)
protected

Definition at line 1990 of file fe_coll.cpp.

mfem::RT_FECollection::RT_FECollection ( const int  p,
const int  dim,
const int  cb_type = BasisType::GaussLobatto,
const int  ob_type = BasisType::GaussLegendre 
)

Definition at line 1928 of file fe_coll.cpp.

mfem::RT_FECollection::~RT_FECollection ( )
virtual

Definition at line 2155 of file fe_coll.cpp.

Member Function Documentation

virtual int mfem::RT_FECollection::DofForGeometry ( Geometry::Type  GeomType) const
inlinevirtual

Implements mfem::FiniteElementCollection.

Definition at line 207 of file fe_coll.hpp.

const int * mfem::RT_FECollection::DofOrderForOrientation ( Geometry::Type  GeomType,
int  Or 
) const
virtual

Returns an array, say p, that maps a local permuted index i to a local base index: base_i = p[i].

Implements mfem::FiniteElementCollection.

Definition at line 2121 of file fe_coll.cpp.

virtual const FiniteElement* mfem::RT_FECollection::FiniteElementForGeometry ( Geometry::Type  GeomType) const
inlinevirtual

Implements mfem::FiniteElementCollection.

Definition at line 204 of file fe_coll.hpp.

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

Reimplemented from mfem::FiniteElementCollection.

Definition at line 2139 of file fe_coll.cpp.

void mfem::RT_FECollection::InitFaces ( const int  p,
const int  dim,
const int  map_type,
const bool  signs 
)
protected

Definition at line 2003 of file fe_coll.cpp.

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

Reimplemented from mfem::FiniteElementCollection.

Definition at line 211 of file fe_coll.hpp.

Member Data Documentation

int mfem::RT_FECollection::ob_type
protected

Definition at line 183 of file fe_coll.hpp.

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

Definition at line 187 of file fe_coll.hpp.

int mfem::RT_FECollection::RT_dof[Geometry::NumGeom]
protected

Definition at line 186 of file fe_coll.hpp.

FiniteElement* mfem::RT_FECollection::RT_Elements[Geometry::NumGeom]
protected

Definition at line 185 of file fe_coll.hpp.

char mfem::RT_FECollection::rt_name[32]
protected

Definition at line 184 of file fe_coll.hpp.

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

Definition at line 187 of file fe_coll.hpp.

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

Definition at line 187 of file fe_coll.hpp.


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