Nektar++
|
class for interfacing with external library triangle More...
#include <TriangleInterface.h>
Classes | |
struct | DelaunayTriangle |
Public Member Functions | |
TriangleInterface () | |
default constructor More... | |
void | Assign (std::vector< std::vector< NodeSharedPtr > > &boundingloops, std::vector< Array< OneD, NekDouble > > ¢ers, int i, NekDouble str=1.0) |
assign meshing paramters More... | |
void | AssignStiener (std::vector< NodeSharedPtr > stiner) |
void | Mesh (bool Quality=false) |
Execute meshing. More... | |
void | Extract (std::vector< std::vector< NodeSharedPtr > > &Connec) |
Extract mesh. More... | |
Private Member Functions | |
void | SetUp () |
Clear memory. More... | |
Private Attributes | |
std::vector< std::vector< NodeSharedPtr > > | m_boundingloops |
List of bounding nodes to the surface. More... | |
std::vector< NodeSharedPtr > | m_stienerpoints |
List of additional nodes. More... | |
std::vector< Array< OneD, NekDouble > > | m_centers |
Coordinates of the centers of the loops. More... | |
std::map< int, NodeSharedPtr > | nodemap |
Map from NekMesh id to triangle id. More... | |
int | sid |
ID of the surface. More... | |
NekDouble | m_str |
Stretching factor of parameter plane. More... | |
DelaunayTriangle | dt |
Triangle data strucutres. More... | |
Friends | |
class | MemoryManager< TriangleInterface > |
class for interfacing with external library triangle
Definition at line 60 of file TriangleInterface.h.
|
inline |
|
inline |
assign meshing paramters
Definition at line 73 of file TriangleInterface.h.
References m_boundingloops, m_centers, m_str, and sid.
|
inline |
Definition at line 84 of file TriangleInterface.h.
References Extract(), m_stienerpoints, Mesh(), and SetUp().
void Nektar::NekMeshUtils::TriangleInterface::Extract | ( | std::vector< std::vector< NodeSharedPtr > > & | Connec | ) |
Extract mesh.
Definition at line 191 of file TriangleInterface.cpp.
References ASSERTL0.
Referenced by AssignStiener().
void Nektar::NekMeshUtils::TriangleInterface::Mesh | ( | bool | Quality = false | ) |
Execute meshing.
Definition at line 45 of file TriangleInterface.cpp.
References ASSERTL0.
Referenced by AssignStiener().
|
private |
Clear memory.
Definition at line 130 of file TriangleInterface.cpp.
Referenced by AssignStiener().
|
friend |
Definition at line 63 of file TriangleInterface.h.
|
private |
Triangle data strucutres.
Definition at line 128 of file TriangleInterface.h.
|
private |
List of bounding nodes to the surface.
Definition at line 116 of file TriangleInterface.h.
Referenced by Assign().
Coordinates of the centers of the loops.
Definition at line 120 of file TriangleInterface.h.
Referenced by Assign().
|
private |
List of additional nodes.
Definition at line 118 of file TriangleInterface.h.
Referenced by AssignStiener().
|
private |
Stretching factor of parameter plane.
Definition at line 126 of file TriangleInterface.h.
Referenced by Assign().
|
private |
Map from NekMesh id to triangle id.
Definition at line 122 of file TriangleInterface.h.
|
private |