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

Discontinuous collection defined locally by a given finite element. More...

#include <fe_coll.hpp>

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

Public Member Functions

 Local_FECollection (const char *fe_name)
 
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 ~Local_FECollection ()
 
virtual int GetContType () const
 
- Public Member Functions inherited from mfem::FiniteElementCollection
int HasFaceDofs (Geometry::Type geom, int p) const
 
virtual const FiniteElementTraceFiniteElementForGeometry (Geometry::Type GeomType) const
 
virtual FiniteElementCollectionGetTraceCollection () 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...
 

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 Member Functions inherited from mfem::FiniteElementCollection
 FiniteElementCollection ()
 
 FiniteElementCollection (int p)
 
void InitVarOrder (int p) const
 
- 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)
 
- Protected Attributes inherited from mfem::FiniteElementCollection
const int base_p
 Order as returned by GetOrder(). More...
 
Array< FiniteElementCollection * > var_orders
 

Detailed Description

Discontinuous collection defined locally by a given finite element.

Definition at line 1103 of file fe_coll.hpp.

Constructor & Destructor Documentation

mfem::Local_FECollection::Local_FECollection ( const char *  fe_name)

Definition at line 2760 of file fe_coll.cpp.

virtual mfem::Local_FECollection::~Local_FECollection ( )
inlinevirtual

Definition at line 1123 of file fe_coll.hpp.

Member Function Documentation

virtual int mfem::Local_FECollection::DofForGeometry ( Geometry::Type  GeomType_) const
inlinevirtual

Implements mfem::FiniteElementCollection.

Definition at line 1116 of file fe_coll.hpp.

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

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 1118 of file fe_coll.hpp.

virtual const FiniteElement* mfem::Local_FECollection::FiniteElementForGeometry ( Geometry::Type  GeomType_) const
inlinevirtual

Implements mfem::FiniteElementCollection.

Definition at line 1113 of file fe_coll.hpp.

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

Implements mfem::FiniteElementCollection.

Definition at line 1124 of file fe_coll.hpp.

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

Reimplemented from mfem::FiniteElementCollection.

Definition at line 1121 of file fe_coll.hpp.


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