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

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

#include <field.hpp>

Public Types

typedef field< ElemType, NSet, Dimension > Derived
 the derived field type
 
typedef ElemType elem_t
 the element type
 
typedef ElemType::xi_t xi_t
 the intrinsic location type
 
typedef field_traits::dof_vector_type< Derived >::type dofs_t
 the dof vector type
 
typedef field_traits::dof_vector_return_type< Derived >::type dofs_return_t
 the dof vector type
 
typedef field_traits::eval_return_type< Derived >::type eval_return_t
 

Public Member Functions

 field_impl (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
 

Protected Attributes

elem_t m_elem
 the element part by value
 
dofs_t m_dofs
 the dofs vector part by value
 

Detailed Description

template<class ElemType, class NSet, class Dimension>
class NiHu::field_impl< field< ElemType, NSet, Dimension > >

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 395 of file field.hpp.

Constructor & Destructor Documentation

◆ field_impl()

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

constructor from element and dof vector

Parameters
[in]elemthe element reference
[in]dofsthe dof vector reference

Definition at line 415 of file field.hpp.

Member Function Documentation

◆ get_dofs()

template<class ElemType , class NSet , class Dimension >
dofs_return_t NiHu::field_impl< field< ElemType, NSet, Dimension > >::get_dofs ( ) const
inline
Returns
dofs

Definition at line 432 of file field.hpp.


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