MFEM  v3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mfem::RefinedElement Class Reference

#include <element.hpp>

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

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)
 
ElementIAm ()
 
const ElementIAm () 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 ElementDuplicate (Mesh *m) const =0
 
virtual ~Element ()
 Destroys element. More...
 

Public Attributes

ElementCoarseElem
 
ElementFirstChild
 

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
 

Detailed Description

Definition at line 92 of file element.hpp.

Member Enumeration Documentation

anonymous enum
Enumerator
COARSE 
FINE 

Definition at line 96 of file element.hpp.

Constructor & Destructor Documentation

mfem::RefinedElement::RefinedElement ( )
inline

Definition at line 103 of file element.hpp.

mfem::RefinedElement::RefinedElement ( Element ce)
inline

Definition at line 105 of file element.hpp.

Member Function Documentation

virtual const int* mfem::RefinedElement::GetEdgeVertices ( int  ei) const
inlinevirtual

Implements mfem::Element.

Definition at line 138 of file element.hpp.

virtual const int* mfem::RefinedElement::GetFaceVertices ( int  fi) const
inlinevirtual

Implements mfem::Element.

Definition at line 144 of file element.hpp.

virtual int mfem::RefinedElement::GetNEdges ( ) const
inlinevirtual

Implements mfem::Element.

Definition at line 136 of file element.hpp.

virtual int mfem::RefinedElement::GetNFaces ( int &  nFaceVertices) const
inlinevirtual

Implements mfem::Element.

Definition at line 141 of file element.hpp.

virtual int mfem::RefinedElement::GetNVertices ( ) const
inlinevirtual

Implements mfem::Element.

Definition at line 134 of file element.hpp.

virtual void mfem::RefinedElement::GetVertices ( Array< int > &  v) const
inlinevirtual

Returns element's vertices.

Implements mfem::Element.

Definition at line 130 of file element.hpp.

virtual int* mfem::RefinedElement::GetVertices ( )
inlinevirtual

Implements mfem::Element.

Definition at line 132 of file element.hpp.

Element* mfem::RefinedElement::IAm ( )
inline

Definition at line 117 of file element.hpp.

const Element* mfem::RefinedElement::IAm ( ) const
inline

Definition at line 122 of file element.hpp.

virtual void mfem::RefinedElement::MarkEdge ( DenseMatrix pmat)
inlinevirtual

Mark the longest edge by assuming/changing the order of the vertices.

Reimplemented from mfem::Element.

Definition at line 147 of file element.hpp.

virtual void mfem::RefinedElement::MarkEdge ( const DSTable v_to_v,
const int *  length 
)
inlinevirtual

Mark the longest edge by assuming/changing the order of the vertices.

Reimplemented from mfem::Element.

Definition at line 149 of file element.hpp.

virtual int mfem::RefinedElement::NeedRefinement ( DSTable v_to_v,
int *  middle 
) const
inlinevirtual

Return 1 if the element needs refinement in order to get conforming mesh.

Reimplemented from mfem::Element.

Definition at line 152 of file element.hpp.

void mfem::RefinedElement::SetCoarseElem ( Element ce)
inline

Definition at line 110 of file element.hpp.

virtual void mfem::RefinedElement::SetVertices ( const int *  ind)
inlinevirtual

Set the indices the element according to the input.

Reimplemented from mfem::Element.

Definition at line 128 of file element.hpp.

Member Data Documentation

Element* mfem::RefinedElement::CoarseElem

Definition at line 101 of file element.hpp.

Element * mfem::RefinedElement::FirstChild

Definition at line 101 of file element.hpp.

int mfem::RefinedElement::State = RefinedElement::FINE
static

Definition at line 99 of file element.hpp.


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