NiHu  2.0

Declaration of class Mesh. More...

Include dependency graph for mesh.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NiHu::mesh_elem_iterator_t< ElemType >
 metafunction returning the iterator that traverses the homogeneous element vector of specified element type More...
 
class  NiHu::field_points< xType >
 container class for field points More...
 
struct  NiHu::first_elements_x_type< ElemTypeVector >
 metafunction computing the first element's x_t in a vector of elements More...
 
class  NiHu::mesh_base< Derived >
 
class  NiHu::mesh< ElemTypeVector >
 container class for a mesh More...
 
struct  NiHu::mesh< ElemTypeVector >::elem_iterator_t< ElemType >
 
struct  NiHu::mesh< ElemTypeVector >::elem_adder< elem_t >
 
struct  NiHu::mesh< ElemTypeVector >::elem_adder< elem_t >::type
 
class  NiHu::homogeneous_submesh< Mesh, Elem >
 

Functions

template<class nodes_t , class elements_t , class... Args>
mesh< tmp::vector< typename tag2type< Args >::type... > > NiHu::create_mesh (nodes_t const &nodes, elements_t const &elements, Args...)
 factory function to create a mesh from nodes and elements matrices More...
 
template<class Mesh , class Tag >
homogeneous_submesh< Mesh, typename tag2type< Tag >::type > NiHu::create_homogeneous_submesh (Mesh const &mesh, Tag)
 factory function to create a homogeneous submesh from a mesh More...
 

Detailed Description

Declaration of class Mesh.

Definition in file mesh.hpp.

Function Documentation

◆ create_homogeneous_submesh()

template<class Mesh , class Tag >
homogeneous_submesh<Mesh, typename tag2type<Tag>::type> NiHu::create_homogeneous_submesh ( Mesh const &  mesh,
Tag   
)

factory function to create a homogeneous submesh from a mesh

Template Parameters
Meshthe mesh type
Tagthe element tag type
Parameters
[in]meshthe parent mesh

Definition at line 344 of file mesh.hpp.

◆ create_mesh()

template<class nodes_t , class elements_t , class... Args>
mesh<tmp::vector<typename tag2type<Args>::type...> > NiHu::create_mesh ( nodes_t const &  nodes,
elements_t const &  elements,
Args...   
)

factory function to create a mesh from nodes and elements matrices

Template Parameters
nodes_ttype of the node definition matrix
elements_ttype of the element definition matrix
Argselement types of the mesh
Parameters
[in]nodesthe node definition matrix instance
[in]elementsthe element definition matrix instance
Returns
a mesh consisting of given element types

Definition at line 298 of file mesh.hpp.