class Tetrahedron : public Element

Data type tetrahedron element

Inheritance:


Public Classes

enum
Constants for different types of tetrahedrons.

Public Methods

Tetrahedron( int *ind, int attr = 1 )
Constructs tetrahedron by specifying the indices and the attribute.
Tetrahedron( int ind1, int ind2, int ind3, int ind4, int attr = 1 )
Constructs tetrahedron by specifying the indices and the attribute.
virtual int NeedRefinement( STable &v_to_v, int *middle) const
Return 1 if the element needs refinement in order to get conforming mesh.
virtual void SetVertices(const int *ind)
Set the vertices according to the given input.
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)
Reorder the vertices so that the longest edge is from vertex 0 to vertex 1
virtual int GetType() const
Return element's type.
virtual void GetVertices( Array<int> &v ) const
Returns the indices of the element's vertices.

Protected Fields

int refinement_flag
The refinement flag keeps (in order) : 1

Inherited from Element:

Public Methods

inline void GetAttribute( int &attr ) const
inline int GetAttribute() const
inline void SetAttribute(const int attr)

Documentation

Data type tetrahedron element
int refinement_flag
The refinement flag keeps (in order) : 1. Two marked edges given with local index (0..5) for the two faces that don't have the refinement edge as edge. The refinement edge is determined by the first two nodes of the tetrahedron. Each marked edge is stored in 3 bits (or as implemented in the functions CreateRefinementFlag and ParseRefinementFlag. 2. Type of the element, stored in the next 3 bits. 3. The rest is free for now. *

enum
Constants for different types of tetrahedrons.

Tetrahedron( int *ind, int attr = 1 )
Constructs tetrahedron by specifying the indices and the attribute.

Tetrahedron( int ind1, int ind2, int ind3, int ind4, int attr = 1 )
Constructs tetrahedron by specifying the indices and the attribute.

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

virtual void SetVertices(const int *ind)
Set the vertices according to the given input.

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)
Reorder the vertices so that the longest edge is from vertex 0 to vertex 1. If called it should be once from the mesh constructor, because the order may be used later for setting the edges. *

virtual int GetType() const
Return element's type.

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


This class has no child classes.

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