GooseFEM 1.4.1.dev2+g78f16df
|
Simple meshes of and mesh operations for triangular elements of type ElementType::Tri3. More...
Classes | |
class | Regular |
Regular grid of squares, with each square cut into two triangular elements. More... | |
Functions | |
array_type::tensor< int, 1 > | getOrientation (const array_type::tensor< double, 2 > &coor, const array_type::tensor< size_t, 2 > &conn) |
Read the orientation of a mesh of triangular elements of type ElementType::Tri3. | |
array_type::tensor< size_t, 2 > | setOrientation (const array_type::tensor< double, 2 > &coor, const array_type::tensor< size_t, 2 > &conn, const array_type::tensor< int, 1 > &val, int orientation=-1) |
Set the orientation of a mesh of triangular elements of type ElementType::Tri3. | |
array_type::tensor< size_t, 2 > | setOrientation (const array_type::tensor< double, 2 > &coor, const array_type::tensor< size_t, 2 > &conn, int orientation=-1) |
Set the orientation of a mesh of triangular elements of type ElementType::Tri3. | |
Simple meshes of and mesh operations for triangular elements of type ElementType::Tri3.
|
inline |
Read the orientation of a mesh of triangular elements of type ElementType::Tri3.
coor | Nodal coordinates [nnode, ndim]. |
conn | Connectivity [nelem, nne]. |
Definition at line 240 of file MeshTri3.h.
|
inline |
Set the orientation of a mesh of triangular elements of type ElementType::Tri3.
For efficiency this function reuses the output of getOrientation().
coor | Nodal coordinates [nnode, ndim]. |
conn | Connectivity [nelem, nne]. |
val | Current orientation per element (output of getOrientation()) [nelem]. |
orientation | Target orientation (applied to all elements). |
Definition at line 279 of file MeshTri3.h.
|
inline |
Set the orientation of a mesh of triangular elements of type ElementType::Tri3.
coor | Nodal coordinates [nnode, ndim]. |
conn | Connectivity [nelem, nne]. |
orientation | Target orientation (applied to all elements). |
Definition at line 313 of file MeshTri3.h.