MFEM v2.0
Public Types | Public Member Functions | Public Attributes | Static Public Attributes
RefinedElement Class Reference

#include <element.hpp>

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

List of all members.

Public Types

enum  { COARSE = 0, FINE = 1 }

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.
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

ElementCoarseElem
ElementFirstChild

Static Public Attributes

static int State = RefinedElement::FINE

Detailed Description

Definition at line 76 of file element.hpp.


Member Enumeration Documentation

anonymous enum
Enumerator:
COARSE 
FINE 

Definition at line 80 of file element.hpp.


Constructor & Destructor Documentation

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().


Member Function Documentation

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]
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]
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().


Member Data Documentation

int RefinedElement::State = RefinedElement::FINE [static]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines