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...
#include <lsMesh.hpp>
Public Member Functions | |
const std::vector< Vec3D< T > > & | getNodes () const |
std::vector< Vec3D< T > > & | getNodes () |
template<int D, std::enable_if_t< D==1, int > = 0> | |
std::vector< std::array< unsigned, D > > & | getElements () |
template<int D, std::enable_if_t< D==2, int > = 0> | |
std::vector< std::array< unsigned, D > > & | getElements () |
template<int D, std::enable_if_t< D==3, int > = 0> | |
std::vector< std::array< unsigned, D > > & | getElements () |
template<int D, std::enable_if_t< D==4, int > = 0> | |
std::vector< std::array< unsigned, D > > & | getElements () |
template<int D, std::enable_if_t< D==8, int > = 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 () |
Public Attributes | |
std::vector< Vec3D< T > > | nodes |
std::vector< std::array< unsigned, 1 > > | vertices |
std::vector< std::array< unsigned, 2 > > | lines |
std::vector< std::array< unsigned, 3 > > | triangles |
std::vector< std::array< unsigned, 4 > > | tetras |
std::vector< std::array< unsigned, 8 > > | hexas |
PointData< T > | pointData |
PointData< T > | cellData |
Vec3D< T > | minimumExtent |
Vec3D< T > | maximumExtent |
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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
PointData<T> viennals::Mesh< T >::cellData |
std::vector<std::array<unsigned, 8> > viennals::Mesh< T >::hexas |
std::vector<std::array<unsigned, 2> > viennals::Mesh< T >::lines |
Vec3D<T> viennals::Mesh< T >::maximumExtent |
Vec3D<T> viennals::Mesh< T >::minimumExtent |
std::vector<Vec3D<T> > viennals::Mesh< T >::nodes |
PointData<T> viennals::Mesh< T >::pointData |
std::vector<std::array<unsigned, 4> > viennals::Mesh< T >::tetras |
std::vector<std::array<unsigned, 3> > viennals::Mesh< T >::triangles |
std::vector<std::array<unsigned, 1> > viennals::Mesh< T >::vertices |