This class holds an explicit mesh, which is always given in 3 dimensions. If it describes a 2D mesh, the third dimension is set to 0. Vertices, Lines, Triangles, Tetras & Hexas are supported as geometric elements.
More...
|
const std::vector< Vec3D< T > > & | getNodes () const |
|
std::vector< Vec3D< T > > & | getNodes () |
|
template<int D, typename std::enable_if< D==1, int >::type = 0> |
std::vector< std::array< unsigned, D > > & | getElements () |
|
template<int D, typename std::enable_if< D==2, int >::type = 0> |
std::vector< std::array< unsigned, D > > & | getElements () |
|
template<int D, typename std::enable_if< D==3, int >::type = 0> |
std::vector< std::array< unsigned, D > > & | getElements () |
|
template<int D, typename std::enable_if< D==4, int >::type = 0> |
std::vector< std::array< unsigned, D > > & | getElements () |
|
template<int D, typename std::enable_if< D==8, int >::type = 0> |
std::vector< std::array< unsigned, D > > & | getElements () |
|
PointData< T > & | getPointData () |
|
const PointData< T > & | getPointData () const |
|
PointData< T > & | getCellData () |
|
const PointData< T > & | getCellData () const |
|
unsigned | insertNextNode (const Vec3D< T > &node) |
|
unsigned | insertNextVertex (const std::array< unsigned, 1 > &vertex) |
|
unsigned | insertNextLine (const std::array< unsigned, 2 > &line) |
|
unsigned | insertNextTriangle (const std::array< unsigned, 3 > &triangle) |
|
unsigned | insertNextTetra (const std::array< unsigned, 4 > &tetra) |
|
unsigned | insertNextHexa (const std::array< unsigned, 8 > &hexa) |
|
unsigned | insertNextElement (const std::array< unsigned, 1 > &vertex) |
|
unsigned | insertNextElement (const std::array< unsigned, 2 > &line) |
|
unsigned | insertNextElement (const std::array< unsigned, 3 > &triangle) |
|
unsigned | insertNextElement (const std::array< unsigned, 4 > &tetra) |
|
unsigned | insertNextElement (const std::array< unsigned, 8 > &hexa) |
|
void | removeDuplicateNodes () |
|
void | append (const Mesh< T > &passedMesh) |
|
void | clear () |
|
void | print () |
|
template<class
T = double>
class viennals::Mesh< T >
This class holds an explicit mesh, which is always given in 3 dimensions. If it describes a 2D mesh, the third dimension is set to 0. Vertices, Lines, Triangles, Tetras & Hexas are supported as geometric elements.