|
Feellgood
|
Public Member Functions | |
| BasicTri (const std::array< int, 3 > &inds, const int idReg, const bool surface=false) | |
| BasicTri (const Triangle::Tri &tri) | |
| bool | operator< (const BasicTri &o) const |
Public Attributes | |
| std::array< int, 3 > | nodesInd |
| int | idRegion |
| bool | isSurfaceElement |
| bool | isFlipped |
BasicTri is a simplified version of the class Tri which contains only the nodes, the surface region and the region. It is used when checking the validity of the mesh is needed but not all the triangle elements are needed.
|
inline |
Constructor using the indices vector and the region. sRegion is false by default. The nodes are sorted because it makes it easier to compare two BasicTri.
|
inlineexplicit |
Constructor used to copy a surface region triangle
|
inline |
Compare the nodes indice lexicographically
| int BasicTri::idRegion |
index of the region of the triangle
| bool BasicTri::isFlipped |
Whether the index order normalization flipped the triangle.
| bool BasicTri::isSurfaceElement |
If the triangle is in a surface region
| std::array<int,3> BasicTri::nodesInd |
The 3 node indices composing the triangle