NiHu  2.0
NiHu::field_base< Derived > Class Template Reference

CRTP base class of all fields. More...

#include <field.hpp>

Public Types

enum  { id = field_traits::id<Derived>::value, quantity_dimension = field_traits::quantity_dimension<Derived>::value, num_dofs = quantity_dimension * nset_t::num_nodes }
 
typedef field_traits::elem_type< Derived >::type elem_t
 the element type
 
typedef elem_t::x_t x_t
 the element location type
 
typedef elem_t::xi_t xi_t
 the intrinsic coordinate type
 
typedef field_traits::nset_type< Derived >::type nset_t
 the nset type
 
typedef field_traits::dof_vector_type< Derived >::type dofs_t
 the dofs vector type
 
typedef field_traits::dof_vector_return_type< Derived >::type dofs_return_t
 the dofs vector return type
 
typedef field_traits::eval_return_type< Derived >::type eval_return_t
 

Public Member Functions

eval_return_t eval (xi_t const &xi) const
 
const elem_tget_elem () const
 return underlying element
 
dofs_return_t get_dofs () const
 return DOF vector
 
double get_corner_angle (unsigned nset_corner_idx) const
 

Public Attributes

NIHU_CRTP_HELPERS typedef Derived type
 self returning metafunction
 

Detailed Description

template<class Derived>
class NiHu::field_base< Derived >

CRTP base class of all fields.

Template Parameters
Derivedthe CRTP derived class

Definition at line 111 of file field.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class Derived >
anonymous enum
Enumerator
id 

the field id

quantity_dimension 

the quantity's dimensionality

num_dofs 

the number of dofs

Definition at line 134 of file field.hpp.


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