MFEM
v3.1
Finite element discretization library
|
#include <element.hpp>
Public Types | |
enum | { COARSE = 0, FINE = 1 } |
Public Types inherited from mfem::Element | |
enum | Type { POINT, SEGMENT, TRIANGLE, QUADRILATERAL, TETRAHEDRON, HEXAHEDRON, BISECTED, QUADRISECTED, OCTASECTED } |
Constants for the classes derived from Element. More... | |
Public Member Functions | |
RefinedElement () | |
RefinedElement (Element *ce) | |
void | SetCoarseElem (Element *ce) |
Element * | IAm () |
const Element * | IAm () const |
virtual void | SetVertices (const int *ind) |
Set the indices the element according to the input. More... | |
virtual void | GetVertices (Array< int > &v) const |
Returns element's vertices. More... | |
virtual int * | GetVertices () |
virtual int | GetNVertices () const |
virtual int | GetNEdges () const |
virtual const int * | GetEdgeVertices (int ei) const |
virtual int | GetNFaces (int &nFaceVertices) const |
virtual const int * | GetFaceVertices (int fi) const |
virtual void | MarkEdge (DenseMatrix &pmat) |
Mark the longest edge by assuming/changing the order of the vertices. More... | |
virtual void | MarkEdge (const DSTable &v_to_v, const int *length) |
Mark the longest edge by assuming/changing the order of the vertices. More... | |
virtual int | NeedRefinement (DSTable &v_to_v, int *middle) const |
Return 1 if the element needs refinement in order to get conforming mesh. More... | |
Public Member Functions inherited from mfem::Element | |
Element (int bg=Geometry::POINT) | |
Default element constructor. More... | |
virtual int | GetType () const =0 |
Returns element's type. More... | |
int | GetGeometryType () const |
const int * | GetVertices () const |
int | GetAttribute () const |
Return element's attribute. More... | |
void | SetAttribute (const int attr) |
Set element's attribute. More... | |
virtual int | GetRefinementFlag () |
virtual Element * | Duplicate (Mesh *m) const =0 |
virtual | ~Element () |
Destroys element. More... | |
Public Attributes | |
Element * | CoarseElem |
Element * | FirstChild |
Static Public Attributes | |
static int | State = RefinedElement::FINE |
Additional Inherited Members | |
Protected Attributes inherited from mfem::Element | |
int | attribute |
Element's attribute (specifying material property, etc). More... | |
int | base_geom |
Definition at line 93 of file element.hpp.
anonymous enum |
Enumerator | |
---|---|
COARSE | |
FINE |
Definition at line 97 of file element.hpp.
|
inline |
Definition at line 104 of file element.hpp.
|
inline |
Definition at line 106 of file element.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 139 of file element.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 145 of file element.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 137 of file element.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 142 of file element.hpp.
|
inlinevirtual |
Implements mfem::Element.
Definition at line 135 of file element.hpp.
|
inlinevirtual |
|
inlinevirtual |
Implements mfem::Element.
Definition at line 133 of file element.hpp.
|
inline |
Definition at line 118 of file element.hpp.
|
inline |
Definition at line 123 of file element.hpp.
|
inlinevirtual |
Mark the longest edge by assuming/changing the order of the vertices.
Reimplemented from mfem::Element.
Definition at line 148 of file element.hpp.
|
inlinevirtual |
Mark the longest edge by assuming/changing the order of the vertices.
Reimplemented from mfem::Element.
Definition at line 150 of file element.hpp.
|
inlinevirtual |
Return 1 if the element needs refinement in order to get conforming mesh.
Reimplemented from mfem::Element.
Definition at line 153 of file element.hpp.
|
inline |
Definition at line 111 of file element.hpp.
|
inlinevirtual |
Set the indices the element according to the input.
Reimplemented from mfem::Element.
Definition at line 129 of file element.hpp.
Element* mfem::RefinedElement::CoarseElem |
Definition at line 102 of file element.hpp.
Element * mfem::RefinedElement::FirstChild |
Definition at line 102 of file element.hpp.
|
static |
Definition at line 100 of file element.hpp.