Nektar++
|
A lightweight struct for dealing with high-order triangle alignment. More...
#include <MeshElements.h>
Public Member Functions | |
HOTriangle (vector< int > pVertId, vector< T > pSurfVerts) | |
HOTriangle (vector< int > pVertId) | |
void | Rotate (int nrot) |
Rotates the triangle of data points inside surfVerts counter-clockwise nrot times. More... | |
void | Reflect () |
Reflect data points inside surfVerts. More... | |
void | Align (vector< int > vertId) |
Align this surface to a given vertex ID. More... | |
Public Attributes | |
vector< int > | vertId |
The triangle vertex IDs. More... | |
vector< T > | surfVerts |
The triangle surface vertices – templated so that this can either be nodes or IDs. More... | |
A lightweight struct for dealing with high-order triangle alignment.
The logic underlying these routines is taken from the original Nektar code.
Definition at line 1213 of file MeshElements.h.
|
inline |
Definition at line 1215 of file MeshElements.h.
|
inline |
Definition at line 1218 of file MeshElements.h.
|
inline |
Align this surface to a given vertex ID.
Definition at line 1295 of file MeshElements.h.
Referenced by Nektar::Utilities::Tetrahedron::Tetrahedron(), and Nektar::Utilities::InputGmsh::TetReordering().
|
inline |
Reflect data points inside surfVerts.
This applies a mapping essentially doing the following reordering:
9 9 7 8 -> 8 7 4 5 6 6 5 4 0 1 2 3 3 2 1 0
Definition at line 1269 of file MeshElements.h.
|
inline |
Rotates the triangle of data points inside surfVerts counter-clockwise nrot times.
nrot | Number of times to rotate triangle. |
Definition at line 1233 of file MeshElements.h.
vector<T> Nektar::Utilities::HOTriangle< T >::surfVerts |
The triangle surface vertices – templated so that this can either be nodes or IDs.
Definition at line 1225 of file MeshElements.h.
Referenced by Nektar::Utilities::Tetrahedron::Tetrahedron(), and Nektar::Utilities::InputGmsh::TetReordering().
vector<int> Nektar::Utilities::HOTriangle< T >::vertId |
The triangle vertex IDs.
Definition at line 1221 of file MeshElements.h.