Programming tasks to Scientific Computing I
|
#include <triangMesh.h>
Public Types | |
typedef TriangleType | ElementType |
typedef DataTypeContainer::RealType | RealType |
typedef DataTypeContainer::Point3DType | Point3DType |
typedef DataTypeContainer::TangentVecType | TangentVecType |
typedef DataTypeContainer::Indices3DType | Indices3DType |
typedef DataTypeContainer::VectorType | VectorType |
typedef DataTypeContainer::MaskType | MaskType |
Public Member Functions | |
TriangMesh () | |
Create empty TriangMesh. More... | |
TriangMesh (const string &fileName) | |
virtual | ~TriangMesh () |
int | getNumVertices () const |
int | getNumTriangs () const |
int | pushBackVertex (const Point3DType newVertex) |
Insert new vertex and return global index. More... | |
int | pushBackTriang (const Indices3DType nodeIdx) |
Insert new triangle and return global index. More... | |
const Point3DType & | getVertex (const int num) const |
void | setVertex (const int num, const Point3DType Arg) |
int | getNeighbour (const int elementID, const int acrossLocalEdge) const |
Get neighbor on edge. More... | |
void | setNeighbour (const int elementID, const int acrossLocalEdge, const int value) const |
Set neighbor on edge. More... | |
const TriangleType & | getTriang (const int num) const |
TriangleType & | getTriang (const int num) |
Returns a triangle. More... | |
void | setTriang (const int num, const TriangleType Arg) |
int | getTriangNodeIdx (const int num, const int localNode) const |
void | setTriangNodeIdx (const int num, const int localNode, const int newIdx) |
void | updateAllTriangles () |
void | print () |
void | loadFromLegacyVTK (const string &filename) |
load from file in the .vtk file format. Currently only loads geometric information. More... | |
void | makeNeighbour () const |
void | makeOrientationConsistent () |
Protected Attributes | |
std::vector< Point3DType > | _vertexIterator |
std::vector< TriangleType > | _triangIterator |
std::vector< Indices3DType > | _neighbour_ |
Definition at line 10 of file triangMesh.h.
typedef TriangleType shellFE::TriangMesh< DataTypeContainer, TriangleType >::ElementType |
Definition at line 13 of file triangMesh.h.
typedef DataTypeContainer::Indices3DType shellFE::TriangMesh< DataTypeContainer, TriangleType >::Indices3DType |
Definition at line 17 of file triangMesh.h.
typedef DataTypeContainer::MaskType shellFE::TriangMesh< DataTypeContainer, TriangleType >::MaskType |
Definition at line 19 of file triangMesh.h.
typedef DataTypeContainer::Point3DType shellFE::TriangMesh< DataTypeContainer, TriangleType >::Point3DType |
Definition at line 15 of file triangMesh.h.
typedef DataTypeContainer::RealType shellFE::TriangMesh< DataTypeContainer, TriangleType >::RealType |
Definition at line 14 of file triangMesh.h.
typedef DataTypeContainer::TangentVecType shellFE::TriangMesh< DataTypeContainer, TriangleType >::TangentVecType |
Definition at line 16 of file triangMesh.h.
typedef DataTypeContainer::VectorType shellFE::TriangMesh< DataTypeContainer, TriangleType >::VectorType |
Definition at line 18 of file triangMesh.h.
|
inline |
Create empty TriangMesh.
Definition at line 29 of file triangMesh.h.
|
inline |
Definition at line 33 of file triangMesh.h.
|
inlinevirtual |
Definition at line 38 of file triangMesh.h.
|
inline |
|
inline |
Definition at line 46 of file triangMesh.h.
|
inline |
Definition at line 42 of file triangMesh.h.
|
inline |
Definition at line 87 of file triangMesh.h.
|
inline |
Returns a triangle.
[in] | num | Triangle index |
Definition at line 94 of file triangMesh.h.
|
inline |
Definition at line 104 of file triangMesh.h.
|
inline |
Definition at line 66 of file triangMesh.h.
|
inline |
load from file in the .vtk file format. Currently only loads geometric information.
Definition at line 131 of file triangMesh.h.
|
inline |
Definition at line 180 of file triangMesh.h.
|
inline |
Definition at line 252 of file triangMesh.h.
|
inline |
Definition at line 120 of file triangMesh.h.
|
inline |
Insert new triangle and return global index.
Definition at line 59 of file triangMesh.h.
|
inline |
Insert new vertex and return global index.
Definition at line 52 of file triangMesh.h.
|
inline |
|
inline |
Definition at line 99 of file triangMesh.h.
|
inline |
Definition at line 109 of file triangMesh.h.
|
inline |
Definition at line 70 of file triangMesh.h.
|
inline |
Definition at line 115 of file triangMesh.h.
|
mutableprotected |
Definition at line 25 of file triangMesh.h.
|
protected |
Definition at line 23 of file triangMesh.h.
|
protected |
Definition at line 22 of file triangMesh.h.