MFEM  v4.6.0
Finite element discretization library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mfem::RT_R2D_FECollection Class Reference

Arbitrary order 3D H(div)-conforming Raviart-Thomas finite elements in 2D. More...

#include <fe_coll.hpp>

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

Public Member Functions

 RT_R2D_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
 
virtual int GetContType () const
 
FiniteElementCollectionGetTraceCollection () const
 
virtual ~RT_R2D_FECollection ()
 
- Public Member Functions inherited from mfem::FiniteElementCollection
virtual const FiniteElementFiniteElementForDim (int dim) const
 Returns the first non-NULL FiniteElement for the given dimension. More...
 
virtual StatelessDofTransformationDofTransformationForGeometry (Geometry::Type GeomType) const
 Returns a DoF transformation object compatible with this basis and geometry type. More...
 
int HasFaceDofs (Geometry::Type geom, int p) 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...
 
const FiniteElementGetFE (Geometry::Type geom, int p) const
 Variable order version of FiniteElementForGeometry(). More...
 
int GetNumDof (Geometry::Type geom, int p) const
 Variable order version of DofForGeometry(). More...
 
const int * GetDofOrdering (Geometry::Type geom, int p, int ori) const
 Variable order version of DofOrderForOrientation(). More...
 
int GetOrder () const
 Return the order (polynomial degree) of the FE collection, corresponding to the order/degree returned by FiniteElement::GetOrder() of the highest-dimensional FiniteElements defined by the collection. More...
 
virtual FiniteElementCollectionClone (int p) const
 Instantiate a new collection of the same type with a different order. More...
 
virtual int GetRangeType (int dim) const
 
virtual int GetDerivRangeType (int dim) const
 
virtual int GetMapType (int dim) const
 
virtual int GetDerivType (int dim) const
 
virtual int GetDerivMapType (int dim) const
 

Protected Member Functions

void InitFaces (const int p, const int dim, const int map_type, const bool signs)
 
 RT_R2D_FECollection (const int p, const int dim, const int map_type, const bool signs, const int ob_type=BasisType::GaussLegendre)
 
- Protected Member Functions inherited from mfem::FiniteElementCollection
 FiniteElementCollection ()
 
 FiniteElementCollection (int p)
 
void InitVarOrder (int p) const
 

Protected Attributes

int ob_type
 
char rt_name [32]
 
FiniteElementRT_Elements [Geometry::NumGeom]
 
int RT_dof [Geometry::NumGeom]
 
int * SegDofOrd [2]
 
- Protected Attributes inherited from mfem::FiniteElementCollection
const int base_p
 Order as returned by GetOrder(). More...
 
Array< FiniteElementCollection * > var_orders
 
ErrorMode error_mode = RAISE_MFEM_ERROR
 How to treat errors in FiniteElementForGeometry() calls. More...
 

Additional Inherited Members

- Public Types inherited from mfem::FiniteElementCollection
enum  { CONTINUOUS, TANGENTIAL, NORMAL, DISCONTINUOUS }
 Enumeration for ContType: defines the continuity of the field across element interfaces. More...
 
- 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...
 
- Protected Types inherited from mfem::FiniteElementCollection
enum  ErrorMode { RETURN_NULL, RAISE_MFEM_ERROR }
 How to treat errors in FiniteElementForGeometry() calls. 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 3D H(div)-conforming Raviart-Thomas finite elements in 2D.

Definition at line 600 of file fe_coll.hpp.

Constructor & Destructor Documentation

◆ RT_R2D_FECollection() [1/2]

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

Definition at line 3307 of file fe_coll.cpp.

◆ RT_R2D_FECollection() [2/2]

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

Definition at line 3252 of file fe_coll.cpp.

◆ ~RT_R2D_FECollection()

mfem::RT_R2D_FECollection::~RT_R2D_FECollection ( )
virtual

Definition at line 3386 of file fe_coll.cpp.

Member Function Documentation

◆ DofForGeometry()

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

Implements mfem::FiniteElementCollection.

Definition at line 626 of file fe_coll.hpp.

◆ DofOrderForOrientation()

const int * mfem::RT_R2D_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].

Note
Only provides information about interior dofs. See FiniteElementCollection::SubDofOrder if interior and boundary dof order is needed.

Implements mfem::FiniteElementCollection.

Definition at line 3360 of file fe_coll.cpp.

◆ FiniteElementForGeometry()

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

Implements mfem::FiniteElementCollection.

Definition at line 623 of file fe_coll.hpp.

◆ GetContType()

virtual int mfem::RT_R2D_FECollection::GetContType ( ) const
inlinevirtual

Implements mfem::FiniteElementCollection.

Definition at line 631 of file fe_coll.hpp.

◆ GetTraceCollection()

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

Reimplemented from mfem::FiniteElementCollection.

Definition at line 3370 of file fe_coll.cpp.

◆ InitFaces()

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

Definition at line 3321 of file fe_coll.cpp.

◆ Name()

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

Reimplemented from mfem::FiniteElementCollection.

Definition at line 630 of file fe_coll.hpp.

Member Data Documentation

◆ ob_type

int mfem::RT_R2D_FECollection::ob_type
protected

Definition at line 603 of file fe_coll.hpp.

◆ RT_dof

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

Definition at line 606 of file fe_coll.hpp.

◆ RT_Elements

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

Definition at line 605 of file fe_coll.hpp.

◆ rt_name

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

Definition at line 604 of file fe_coll.hpp.

◆ SegDofOrd

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

Definition at line 607 of file fe_coll.hpp.


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