|
| Vstack (bool check_overlap=true, double rtol=1e-5, double atol=1e-8) |
|
template<class C , class E , class N > |
void | push_back (const C &coor, const E &conn, const N &nodes_bot, const N &nodes_top) |
| Add a mesh to the top of the current stack. More...
|
|
| Stitch (double rtol=1e-5, double atol=1e-8) |
|
template<class C , class E > |
void | push_back (const C &coor, const E &conn) |
| Add mesh to be stitched. More...
|
|
size_t | nmesh () const |
| Number of sub meshes. More...
|
|
size_t | nelem () const |
| Number of elements. More...
|
|
size_t | nnode () const |
| Number of nodes. More...
|
|
size_t | nne () const |
| Number of nodes-per-element. More...
|
|
size_t | ndim () const |
| Number of dimensions. More...
|
|
const array_type::tensor< double, 2 > & | coor () const |
| Nodal coordinates [nnode, ndim]. More...
|
|
const array_type::tensor< size_t, 2 > & | conn () const |
| Connectivity [nelem, nne]. More...
|
|
array_type::tensor< size_t, 2 > | dofs () const |
| DOF numbers for each node (numbered sequentially) [nnode, ndim]. More...
|
|
std::vector< array_type::tensor< size_t, 1 > > | nodemap () const |
| Node-map per sub-mesh. More...
|
|
std::vector< array_type::tensor< size_t, 1 > > | elemmap () const |
| Element-map per sub-mesh. More...
|
|
array_type::tensor< size_t, 1 > | nodemap (size_t mesh_index) const |
| The node numbers in the stitched mesh that are coming from a specific sub-mesh. More...
|
|
array_type::tensor< size_t, 1 > | elemmap (size_t mesh_index) const |
| The element numbers in the stitched mesh that are coming from a specific sub-mesh. More...
|
|
template<class T > |
T | nodeset (const T &set, size_t mesh_index) const |
| Convert set of node-numbers for a sub-mesh to the stitched mesh. More...
|
|
template<class T > |
T | elemset (const T &set, size_t mesh_index) const |
| Convert set of element-numbers for a sub-mesh to the stitched mesh. More...
|
|
template<class T > |
T | nodeset (const std::vector< T > &set) const |
| Combine set of node numbers for an original to the final mesh (removes duplicates). More...
|
|
template<class T > |
T | nodeset (std::initializer_list< T > set) const |
| Combine set of node numbers for an original to the final mesh (removes duplicates). More...
|
|
template<class T > |
T | elemset (const std::vector< T > &set) const |
| Combine set of element numbers for an original to the final mesh. More...
|
|
template<class T > |
T | elemset (std::initializer_list< T > set) const |
| Combine set of element numbers for an original to the final mesh. More...
|
|
Vertically stack meshes.
Definition at line 2305 of file Mesh.h.
template<class C , class E , class N >
void GooseFEM::Mesh::Vstack::push_back |
( |
const C & |
coor, |
|
|
const E & |
conn, |
|
|
const N & |
nodes_bot, |
|
|
const N & |
nodes_top |
|
) |
| |
|
inline |
Add a mesh to the top of the current stack.
Each time the current nodes_bot
are stitched with the then highest nodes_top
.
- Parameters
-
coor | Nodal coordinates [nnode, ndim]. |
conn | Connectivity [nelem, nne]. |
nodes_bot | Nodes along the bottom edge [n]. |
nodes_top | Nodes along the top edge [n]. |
Definition at line 2329 of file Mesh.h.