MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::CubicDiscont2DFECollection Class Reference

Piecewise-cubic discontinuous finite elements in 2D. This class is kept only for backward compatibility, consider using L2_FECollection instead. More...

#include <fe_coll.hpp>

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

Public Member Functions

 CubicDiscont2DFECollection ()
 
const FiniteElementFiniteElementForGeometry (Geometry::Type GeomType) const override
 
int DofForGeometry (Geometry::Type GeomType) const override
 
const int * DofOrderForOrientation (Geometry::Type GeomType, int Or) const override
 Returns an array, say p, that maps a local permuted index i to a local base index: base_i = p[i].
 
const char * Name () const override
 
int GetContType () const override
 
- Public Member Functions inherited from mfem::FiniteElementCollection
virtual const FiniteElementFiniteElementForDim (int dim) const
 Returns the first non-NULL FiniteElement for the given dimension.
 
virtual const StatelessDofTransformationDofTransformationForGeometry (Geometry::Type GeomType) const
 Returns a DoF transformation object compatible with this basis and geometry type.
 
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.
 
const FiniteElementGetFE (Geometry::Type geom, int p) const
 Variable order version of FiniteElementForGeometry().
 
int GetNumDof (Geometry::Type geom, int p) const
 Variable order version of DofForGeometry().
 
const int * GetDofOrdering (Geometry::Type geom, int p, int ori) const
 Variable order version of DofOrderForOrientation().
 
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.
 
virtual FiniteElementCollectionClone (int p) const
 Instantiate a new collection of the same type with a different order.
 
int GetRangeType (int dim) const
 
int GetDerivRangeType (int dim) const
 
int GetMapType (int dim) const
 
int GetDerivType (int dim) const
 
int GetDerivMapType (int dim) const
 
int GetRangeDim (int dim) const
 

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.
 
- Protected Types inherited from mfem::FiniteElementCollection
enum  ErrorMode { RETURN_NULL , RAISE_MFEM_ERROR }
 How to treat errors in FiniteElementForGeometry() calls. 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().
 
Array< FiniteElementCollection * > var_orders
 
ErrorMode error_mode = RAISE_MFEM_ERROR
 How to treat errors in FiniteElementForGeometry() calls.
 

Detailed Description

Piecewise-cubic discontinuous finite elements in 2D. This class is kept only for backward compatibility, consider using L2_FECollection instead.

Definition at line 1137 of file fe_coll.hpp.

Constructor & Destructor Documentation

◆ CubicDiscont2DFECollection()

mfem::CubicDiscont2DFECollection::CubicDiscont2DFECollection ( )
inline

Definition at line 1144 of file fe_coll.hpp.

Member Function Documentation

◆ DofForGeometry()

int mfem::CubicDiscont2DFECollection::DofForGeometry ( Geometry::Type GeomType) const
overridevirtual

Implements mfem::FiniteElementCollection.

Definition at line 1269 of file fe_coll.cpp.

◆ DofOrderForOrientation()

const int * mfem::CubicDiscont2DFECollection::DofOrderForOrientation ( Geometry::Type GeomType,
int Or ) const
overridevirtual

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 1283 of file fe_coll.cpp.

◆ FiniteElementForGeometry()

const FiniteElement * mfem::CubicDiscont2DFECollection::FiniteElementForGeometry ( Geometry::Type GeomType) const
overridevirtual

Implements mfem::FiniteElementCollection.

Definition at line 1255 of file fe_coll.cpp.

◆ GetContType()

int mfem::CubicDiscont2DFECollection::GetContType ( ) const
inlineoverridevirtual

Implements mfem::FiniteElementCollection.

Definition at line 1156 of file fe_coll.hpp.

◆ Name()

const char * mfem::CubicDiscont2DFECollection::Name ( ) const
inlineoverridevirtual

Reimplemented from mfem::FiniteElementCollection.

Definition at line 1154 of file fe_coll.hpp.


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