Flow123d  JS_before_hm-913-g695b665
Classes | Functions
detail Namespace Reference

Classes

struct  get_components
 
struct  get_components< FIELD_TUPLE, 0 >
 
struct  model_cache_item
 base case for building up arguments for the function call More...
 
struct  model_cache_item< CALLABLE, FIELD_TUPLE, 0 >
 terminal case - do the actual function call More...
 
struct  n_components
 
struct  n_components< FIELD_TUPLE, 0 >
 

Functions

template<int spacedim, class Value >
auto field_component (const MultiField< spacedim, Value > &f, uint i_comp) -> decltype(auto)
 
template<int spacedim, class Value >
auto field_component (const Field< spacedim, Value > &f, uint i_comp) -> decltype(auto)
 
template<typename Function , typename Tuple >
auto call (Function f, Tuple t)
 

Function Documentation

template<typename Function , typename Tuple >
auto detail::call ( Function  f,
Tuple  t 
)

Definition at line 176 of file field_model.hh.

template<int spacedim, class Value >
auto detail::field_component ( const MultiField< spacedim, Value > &  f,
uint  i_comp 
) -> decltype(auto)

Return component 'i_comp' of the multifield 'f' or the field 'f'. Return component 'i_comp' of the multifield 'f'.

Definition at line 131 of file field_model.hh.

Here is the caller graph for this function:

template<int spacedim, class Value >
auto detail::field_component ( const Field< spacedim, Value > &  f,
uint  i_comp 
) -> decltype(auto)

Return the field 'f'. Variant to previous method.

Definition at line 141 of file field_model.hh.