NiHu  2.0
NiHu::field< ElemType, NSet, Dimension > Class Template Reference

field class that stores the dof vector and an element by value More...

#include <field.hpp>

Public Types

typedef field type
 self-returning metafunction
 
typedef field_base< field< ElemType, NSet, Dimension > > base_t
 the CRTP base type
 
typedef field_impl< field< ElemType, NSet, Dimension > > impl_t
 the implementation class type
 
typedef base_t::elem_t elem_t
 the element type
 
typedef base_t::dofs_t dofs_t
 the dofs vector type
 

Public Member Functions

 field (element_base< elem_t > const &elem, dofs_t const &dofs)
 constructor from element and dof vector More...
 
eval_return_t eval (xi_t const &xi) const
 
const elem_tget_elem () const
 return underlying element
 
dofs_return_t get_dofs () const
 

Detailed Description

template<class ElemType, class NSet, class Dimension = field_dimension::_1d>
class NiHu::field< ElemType, NSet, Dimension >

field class that stores the dof vector and an element by value

the field class that stores the dof vector and the element by value

Template Parameters
ElemTypethe underlying element type
NSetthe shape function set

Definition at line 367 of file field.hpp.

Constructor & Destructor Documentation

◆ field()

template<class ElemType , class NSet , class Dimension = field_dimension::_1d>
NiHu::field< ElemType, NSet, Dimension >::field ( element_base< elem_t > const &  elem,
dofs_t const &  dofs 
)
inline

constructor from element and dof vector

Parameters
[in]elemthe element reference
[in]dofsthe degree of freedom vector reference

Definition at line 475 of file field.hpp.

Member Function Documentation

◆ get_dofs()

template<class ElemType , class NSet , class Dimension = field_dimension::_1d>
dofs_return_t NiHu::field_impl< field< ElemType, NSet, Dimension > >::get_dofs
inline
Returns
dofs

Definition at line 432 of file field.hpp.


The documentation for this class was generated from the following file: