|
NiHu
2.0
|
container class for a mesh More...
#include <mesh.hpp>
Classes | |
| struct | elem_adder |
| struct | elem_iterator_t |
Public Types | |
| typedef ElemTypeVector | elem_type_vector_t |
| define template parameter as nested type | |
| typedef field_points< typename first_elements_x_type< ElemTypeVector >::type > | base_t |
| type of base class | |
| typedef tmp::inherit< typename tmp::transform< elem_type_vector_t, tmp::inserter< typename tmp::empty< elem_type_vector_t >::type, tmp::push_back< tmp::_1, tmp::_2 > >, eigen_std_vector< tmp::_1 > >::type >::type | elem_container_t |
| combine elem_vector into a BIG heterogeneous std::vector container | |
| typedef base_t::x_t | x_t |
| type of a nodal vector | |
| typedef x_t::Scalar | scalar_t |
| type of a nodal coordinate | |
Public Types inherited from NiHu::field_points< first_elements_x_type< ElemTypeVector >::type > | |
| typedef first_elements_x_type< ElemTypeVector >::type | x_t |
| template parameter as nested type | |
| typedef eigen_std_vector< x_t >::type::const_iterator | iterator_t |
| node iterator type | |
Public Member Functions | |
| template<class node_t , class elem_t > | |
| mesh (node_t const &nodes, elem_t const &elements) | |
| build the mesh from mesh description matrices More... | |
| template<class ElemType > | |
| elem_iterator_t< ElemType >::type | begin () const |
| return begin iterator of the elements | |
| template<class ElemType > | |
| elem_iterator_t< ElemType >::type | end () const |
| return end iterator of the elements | |
| template<class ElemType > | |
| const ElemType & | get_elem (size_t i) const |
| return element with a given index | |
| bool | add_elem (unsigned const input[]) |
| add a new element to the mesh More... | |
| void | add_node (scalar_t input[]) |
| add a new node to the mesh More... | |
| template<class elem_t > | |
| const elem_t & | push_element (element_base< elem_t > const &e) |
| add a new element to the mesh More... | |
| unsigned | get_num_elements () const |
| return number of elements More... | |
Public Member Functions inherited from NiHu::field_points< first_elements_x_type< ElemTypeVector >::type > | |
| void | add_point (x_t const &p) |
| add a point to the field point mesh More... | |
| size_t | get_num_points () const |
| return number of points More... | |
Static Public Attributes | |
| static const unsigned | nDim = base_t::nDim |
| number of dimensions of the mesh | |
Static Public Attributes inherited from NiHu::field_points< first_elements_x_type< ElemTypeVector >::type > | |
| static const unsigned | nDim |
| number of dimensions | |
Protected Attributes | |
| elem_container_t | m_elements |
| element geometries (BIG heterogeneous container) | |
| unsigned | m_num_elements |
| total number of elements in the mesh | |
Protected Attributes inherited from NiHu::field_points< first_elements_x_type< ElemTypeVector >::type > | |
| eigen_std_vector< x_t >::type | points |
| nodal coordinates | |
container class for a mesh
| ElemTypeVector | compile time vector of the contained element types |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |