|
Nektar++
|
A lightweight struct for dealing with high-order triangle alignment. More...
#include <Triangle.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 53 of file Triangle.h.
|
inline |
Definition at line 55 of file Triangle.h.
|
inline |
Definition at line 59 of file Triangle.h.
|
inline |
Align this surface to a given vertex ID.
Definition at line 138 of file Triangle.h.
References Nektar::NekMeshUtils::HOTriangle< T >::Reflect(), and Nektar::NekMeshUtils::HOTriangle< T >::Rotate().
Referenced by Nektar::NekMeshUtils::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 112 of file Triangle.h.
Referenced by Nektar::NekMeshUtils::HOTriangle< T >::Align().
|
inline |
Rotates the triangle of data points inside surfVerts counter-clockwise nrot times.
| nrot | Number of times to rotate triangle. |
Definition at line 76 of file Triangle.h.
Referenced by Nektar::NekMeshUtils::HOTriangle< T >::Align().
| vector<T> Nektar::NekMeshUtils::HOTriangle< T >::surfVerts |
The triangle surface vertices – templated so that this can either be nodes or IDs.
Definition at line 68 of file Triangle.h.
Referenced by Nektar::NekMeshUtils::Tetrahedron::Tetrahedron(), and Nektar::Utilities::InputGmsh::TetReordering().
| vector<int> Nektar::NekMeshUtils::HOTriangle< T >::vertId |
The triangle vertex IDs.
Definition at line 64 of file Triangle.h.
1.8.8