MFEM v2.0
|
#include <fe_coll.hpp>
Public Member Functions | |
Const2DFECollection () | |
virtual const FiniteElement * | FiniteElementForGeometry (int GeomType) const |
virtual int | DofForGeometry (int GeomType) const |
virtual int * | DofOrderForOrientation (int GeomType, int Or) const |
virtual const char * | Name () const |
Private Attributes | |
const P0TriangleFiniteElement | TriangleFE |
const P0QuadFiniteElement | QuadrilateralFE |
Piecewise-constant discontinuous finite elements in 2D. This class is kept only for backward compatibility, consider using L2_FECollection instead.
Definition at line 369 of file fe_coll.hpp.
Const2DFECollection::Const2DFECollection | ( | ) | [inline] |
Definition at line 375 of file fe_coll.hpp.
int Const2DFECollection::DofForGeometry | ( | int | GeomType | ) | const [virtual] |
Implements FiniteElementCollection.
Definition at line 446 of file fe_coll.cpp.
References mfem_error(), Geometry::POINT, Geometry::SEGMENT, Geometry::SQUARE, and Geometry::TRIANGLE.
int * Const2DFECollection::DofOrderForOrientation | ( | int | GeomType, |
int | Or | ||
) | const [virtual] |
Implements FiniteElementCollection.
Definition at line 460 of file fe_coll.cpp.
const FiniteElement * Const2DFECollection::FiniteElementForGeometry | ( | int | GeomType | ) | const [virtual] |
Implements FiniteElementCollection.
Definition at line 434 of file fe_coll.cpp.
References mfem_error(), QuadrilateralFE, Geometry::SQUARE, Geometry::TRIANGLE, and TriangleFE.
virtual const char* Const2DFECollection::Name | ( | ) | const [inline, virtual] |
Reimplemented from FiniteElementCollection.
Definition at line 384 of file fe_coll.hpp.
const P0QuadFiniteElement Const2DFECollection::QuadrilateralFE [private] |
Definition at line 373 of file fe_coll.hpp.
Referenced by FiniteElementForGeometry().
const P0TriangleFiniteElement Const2DFECollection::TriangleFE [private] |
Definition at line 372 of file fe_coll.hpp.
Referenced by FiniteElementForGeometry().