Nektar++
|
class for interfacing with external library triangle More...
#include <TriangleInterface.h>
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 55 of file TriangleInterface.h.
|
inline |
|
inline |
assign meshing paramters
Definition at line 68 of file TriangleInterface.h.
References m_boundingloops, m_centers, m_str, and sid.
|
inline |
Definition at line 79 of file TriangleInterface.h.
References m_stienerpoints.
void Nektar::NekMeshUtils::TriangleInterface::Extract | ( | std::vector< std::vector< NodeSharedPtr > > & | Connec | ) |
Extract mesh.
Definition at line 193 of file TriangleInterface.cpp.
References ASSERTL0, and Nektar::iterator.
void Nektar::NekMeshUtils::TriangleInterface::Mesh | ( | bool | Quality = false | ) |
Execute meshing.
Definition at line 46 of file TriangleInterface.cpp.
References ASSERTL0.
|
private |
Clear memory.
Definition at line 132 of file TriangleInterface.cpp.
|
friend |
Definition at line 58 of file TriangleInterface.h.
|
private |
Triangle data strucutres.
Definition at line 113 of file TriangleInterface.h.
|
private |
List of bounding nodes to the surface.
Definition at line 101 of file TriangleInterface.h.
Referenced by Assign().
Coordinates of the centers of the loops.
Definition at line 105 of file TriangleInterface.h.
Referenced by Assign().
|
private |
List of additional nodes.
Definition at line 103 of file TriangleInterface.h.
Referenced by AssignStiener().
|
private |
Stretching factor of parameter plane.
Definition at line 111 of file TriangleInterface.h.
Referenced by Assign().
|
private |
Map from NekMesh id to triangle id.
Definition at line 107 of file TriangleInterface.h.
|
private |