NiHu
2.0
|
class describing a function space More...
#include <function_space.hpp>
Classes | |
struct | field_adder |
subclass called by call_each to add a field to the function space More... | |
Public Types | |
typedef function_space_traits< function_space< FieldTypeVector > > | traits_t |
the traits class | |
typedef traits_t::field_type_vector_t | field_type_vector_t |
the field type vector | |
typedef traits_t::mesh_t | mesh_t |
the underlying mesh type | |
typedef tmp::inherit< typename tmp::transform< field_type_vector_t, tmp::inserter< typename tmp::empty< field_type_vector_t >::type, tmp::push_back< tmp::_1, tmp::_2 > >, eigen_std_vector< tmp::_1 > >::type >::type | field_container_t |
combine field_type_vector into a BIG heterogeneous std::vector container | |
Public Member Functions | |
function_space_impl () | |
constructor | |
template<class node_matrix_t , class field_matrix_t > | |
function_space_impl (node_matrix_t const &nodes, field_matrix_t const &fields) | |
constructor from node and field definition matrices | |
const mesh_t & | get_mesh () const |
return underlying mesh reference More... | |
template<class FieldType > | |
traits_t::template iterator< FieldType >::type | field_begin () const |
return begin iterator of a subspace | |
template<class FieldType > | |
traits_t::template iterator< FieldType >::type | field_end () const |
return end iterator of a subspace | |
bool | add_field (unsigned const input[]) |
add a field to the function space | |
template<class field_t > | |
const field_t & | push_field (field_base< field_t > const &f) |
push a field to the vector of fields | |
unsigned | get_num_fields () const |
return number of fields More... | |
unsigned | get_num_dofs () const |
return number of dofs | |
Protected Attributes | |
field_container_t | m_fields |
fields (BIG heterogeneous container) | |
unsigned | m_num_dofs |
number of degrees of freedoms | |
class describing a function space
FieldTypeVector | compile time vector of fields building the function space |
Definition at line 464 of file function_space.hpp.
|
inline |
|
inline |
return number of fields
Definition at line 598 of file function_space.hpp.