MFEM v2.0
|
#include <element.hpp>
Public Types | |
enum | { COARSE = 0, FINE = 1 } |
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. | |
virtual void | GetVertices (Array< int > &v) const |
Returns element's vertices. | |
virtual int * | GetVertices () |
virtual int | GetNVertices () const |
virtual int | GetNEdges () const |
virtual const int * | GetEdgeVertices (int ei) const |
virtual void | MarkEdge (DenseMatrix &pmat) |
Mark the longest edge by assuming/changing the order of the vertices. | |
virtual void | MarkEdge (const DSTable &v_to_v, const int *length) |
Mark the longest edge by assuming/changing the order of the vertices. | |
virtual int | NeedRefinement (DSTable &v_to_v, int *middle) const |
Return 1 if the element needs refinement in order to get conforming mesh. | |
Public Attributes | |
Element * | CoarseElem |
Element * | FirstChild |
Static Public Attributes | |
static int | State = RefinedElement::FINE |
Definition at line 76 of file element.hpp.
anonymous enum |
Definition at line 80 of file element.hpp.
RefinedElement::RefinedElement | ( | ) | [inline] |
Definition at line 87 of file element.hpp.
RefinedElement::RefinedElement | ( | Element * | ce | ) | [inline] |
Definition at line 89 of file element.hpp.
References Element::attribute, CoarseElem, and Element::GetAttribute().
virtual const int* RefinedElement::GetEdgeVertices | ( | int | ei | ) | const [inline, virtual] |
Implements Element.
Definition at line 122 of file element.hpp.
References GetEdgeVertices(), and IAm().
Referenced by GetEdgeVertices().
virtual int RefinedElement::GetNEdges | ( | ) | const [inline, virtual] |
Implements Element.
Definition at line 120 of file element.hpp.
References GetNEdges(), and IAm().
Referenced by GetNEdges().
virtual int RefinedElement::GetNVertices | ( | ) | const [inline, virtual] |
Implements Element.
Definition at line 118 of file element.hpp.
References Element::GetNVertices(), and IAm().
virtual void RefinedElement::GetVertices | ( | Array< int > & | v | ) | const [inline, virtual] |
Returns element's vertices.
Implements Element.
Definition at line 114 of file element.hpp.
References Element::GetVertices(), and IAm().
virtual int* RefinedElement::GetVertices | ( | ) | [inline, virtual] |
Implements Element.
Definition at line 116 of file element.hpp.
References Element::GetVertices(), and IAm().
Element* RefinedElement::IAm | ( | ) | [inline] |
Definition at line 101 of file element.hpp.
References COARSE, CoarseElem, FirstChild, and State.
Referenced by GetEdgeVertices(), GetNEdges(), GetNVertices(), GetVertices(), MarkEdge(), NeedRefinement(), and SetVertices().
const Element* RefinedElement::IAm | ( | ) | const [inline] |
Definition at line 106 of file element.hpp.
References COARSE, CoarseElem, FirstChild, and State.
virtual void RefinedElement::MarkEdge | ( | const DSTable & | v_to_v, |
const int * | length | ||
) | [inline, virtual] |
Mark the longest edge by assuming/changing the order of the vertices.
Reimplemented from Element.
Definition at line 127 of file element.hpp.
References IAm(), and Element::MarkEdge().
virtual void RefinedElement::MarkEdge | ( | DenseMatrix & | pmat | ) | [inline, virtual] |
Mark the longest edge by assuming/changing the order of the vertices.
Reimplemented from Element.
Definition at line 125 of file element.hpp.
References IAm(), and Element::MarkEdge().
virtual int RefinedElement::NeedRefinement | ( | DSTable & | v_to_v, |
int * | middle | ||
) | const [inline, virtual] |
Return 1 if the element needs refinement in order to get conforming mesh.
Reimplemented from Element.
Definition at line 130 of file element.hpp.
References IAm(), and Element::NeedRefinement().
void RefinedElement::SetCoarseElem | ( | Element * | ce | ) | [inline] |
Definition at line 94 of file element.hpp.
References Element::attribute, Element::base_geom, CoarseElem, Element::GetAttribute(), and Element::GetGeometryType().
Referenced by Mesh::Bisection(), Mesh::LocalRefinement(), and Mesh::QuadUniformRefinement().
virtual void RefinedElement::SetVertices | ( | const int * | ind | ) | [inline, virtual] |
Set the indices the element according to the input.
Reimplemented from Element.
Definition at line 112 of file element.hpp.
References IAm(), and Element::SetVertices().
Definition at line 85 of file element.hpp.
Referenced by Mesh::GetFineElem(), Mesh::GetFineElemTrans(), IAm(), RefinedElement(), SetCoarseElem(), and Mesh::SetState().
Definition at line 85 of file element.hpp.
Referenced by Mesh::Bisection(), Mesh::GetFineElem(), Mesh::GetFineElemPath(), Mesh::GetFineElemTrans(), Mesh::GetNumFineElems(), Mesh::HexUniformRefinement(), IAm(), Mesh::LocalRefinement(), Mesh::QuadUniformRefinement(), Mesh::SetState(), and Mesh::UniformRefinement().
int RefinedElement::State = RefinedElement::FINE [static] |
Definition at line 83 of file element.hpp.
Referenced by Mesh::HexUniformRefinement(), IAm(), Mesh::LocalRefinement(), Mesh::QuadUniformRefinement(), and Mesh::SetState().