Flow123d  DF_mechanic_bench-71cc9cb
Classes | Functions
detail Namespace Reference

Classes

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 >
 
struct  get_components
 
struct  get_components< FIELD_TUPLE, 0 >
 
struct  get_dependency
 
struct  get_dependency< 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, FMT_UNUSED uint i_comp) -> decltype(auto)
 
template<typename Function , typename Tuple >
auto call (Function f, Tuple t)
 

Function Documentation

◆ call()

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

Definition at line 200 of file field_model.hh.

◆ field_component() [1/2]

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

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

Definition at line 142 of file field_model.hh.

◆ field_component() [2/2]

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 132 of file field_model.hh.

Here is the caller graph for this function: