class Element

Abstract data type element

Inheritance:


Public Classes

enum
Constants for the classes derived from Element.

Public Methods

Element(int bg = Element::POINT)
Default element constructor.
virtual void SetVertices(const int *ind)
Set the indices the element according to the input.
virtual int GetType() const
Returns element's type
virtual void GetVertices( Array<int> &v ) const
Returns element's vertices.
virtual void MarkEdge(RectangularMatrix &pmat)
Mark the longest edge by assuming/changing the order of the vertices.
virtual void MarkEdge(const STable &v_to_v, const int *length)
Mark the longest edge by assuming/changing the order of the vertices.
virtual int NeedRefinement( STable &v_to_v, int *middle) const
Return 1 if the element needs refinement in order to get conforming mesh.
inline void GetAttribute( int &attr ) const
Returns element's attribute.
inline int GetAttribute() const
Return element's attribute.
inline void SetAttribute(const int attr)
Set element's attribute.
virtual ~Element()
Destroys element.

Documentation

Abstract data type element
enum
Constants for the classes derived from Element.

Element(int bg = Element::POINT)
Default element constructor.

virtual void SetVertices(const int *ind)
Set the indices the element according to the input.

virtual int GetType() const
Returns element's type

virtual void GetVertices( Array<int> &v ) const
Returns element's vertices.

virtual void MarkEdge(RectangularMatrix &pmat)
Mark the longest edge by assuming/changing the order of the vertices.

virtual void MarkEdge(const STable &v_to_v, const int *length)
Mark the longest edge by assuming/changing the order of the vertices.

virtual int NeedRefinement( STable &v_to_v, int *middle) const
Return 1 if the element needs refinement in order to get conforming mesh.

inline void GetAttribute( int &attr ) const
Returns element's attribute.

inline int GetAttribute() const
Return element's attribute.

inline void SetAttribute(const int attr)
Set element's attribute.

virtual ~Element()
Destroys element.


Direct child classes:
Triangle
Tetrahedron
Segment
Quadrilateral
Point
Hexahedron

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de