|
MAIA bb96820c
Multiphysics at AIA
|
#include <geometryelement.h>
Public Member Functions | |
| void | boundingBox () |
| void | writeElement () const |
| void | calcNormal (const MFloat *const vertices, MFloat *normal) const |
| Calculates the normal vector from the geometry element vertices. More... | |
| void | calcCentroid (const MFloat *const vertices, MFloat *centroid) const |
| Calculate the centroid of the geometry element vertices. More... | |
| void | getVertices (MFloat *vertices) const |
| Return the vertices of the geometry element. More... | |
| void | allocateElements (void *, void *, MInt &) |
Static Public Member Functions | |
| static void | init (MInt NotUsed(dimensions), MInt, MInt) |
| static MInt | staticElementSize () |
Public Attributes | |
| MInt | m_segmentId |
| MInt | m_bndCndId |
| MInt | m_originalId |
| MFloat ** | m_vertices |
| MFloat * | m_normal |
| MFloat * | m_minMax |
Representation of the geometrical concept of an element
Collector class! In 2D an element consists of two vertices and is part of a segment. In 3D an element consists of at least 3 vertices and is part of a segment.
Definition at line 20 of file geometryelement.h.
| void GeometryElement< nDim >::allocateElements | ( | void * | tmpPointer, |
| void * | , | ||
| MInt & | |||
| ) |
Definition at line 24 of file geometryelement.cpp.
| void GeometryElement< nDim >::boundingBox |
Definition at line 45 of file geometryelement.cpp.
| void GeometryElement< nDim >::calcCentroid | ( | const MFloat *const | vertices, |
| MFloat * | centroid | ||
| ) | const |
| [in] | vertices | Geometry element vertices |
| [out] | centroid | After a call to calcCentroid(), centroid holds the centroid of the element. Must point to storage of at least size nDim. |
Definition at line 159 of file geometryelement.cpp.
| void GeometryElement< nDim >::calcNormal | ( | const MFloat *const | vertices, |
| MFloat * | normal | ||
| ) | const |
| [in] | vertices | Geometry element vertices |
| [out] | normal | After a call to calcNormal(), normal holds the normalized normal vector. Must point to storage of at least size nDim. |
Definition at line 103 of file geometryelement.cpp.
| void GeometryElement< nDim >::getVertices | ( | MFloat * | vertices | ) | const |
| [out] | vertices | After a call to getVertices(), 'vertices' holds the vertices of the geometry element. |
Definition at line 184 of file geometryelement.cpp.
|
inlinestatic |
Definition at line 38 of file geometryelement.h.
|
inlinestatic |
Definition at line 42 of file geometryelement.h.
| void GeometryElement< nDim >::writeElement |
Definition at line 63 of file geometryelement.cpp.
| MInt GeometryElement< nDim >::m_bndCndId |
Definition at line 23 of file geometryelement.h.
| MFloat* GeometryElement< nDim >::m_minMax |
Definition at line 29 of file geometryelement.h.
| MFloat* GeometryElement< nDim >::m_normal |
Definition at line 26 of file geometryelement.h.
| MInt GeometryElement< nDim >::m_originalId |
Definition at line 24 of file geometryelement.h.
| MInt GeometryElement< nDim >::m_segmentId |
Definition at line 22 of file geometryelement.h.
| MFloat** GeometryElement< nDim >::m_vertices |
Definition at line 25 of file geometryelement.h.