Flow123d  build_with_4.0.3-01443f6
Public Types | Static Public Member Functions | List of all members
Model< spacedim, Value > Class Template Reference

#include <field_model.hh>

Inheritance diagram for Model< spacedim, Value >:
Inheritance graph
[legend]

Public Types

typedef FieldAlgorithmBase< spacedim, ValueFieldBaseType
 
typedef std::shared_ptr< FieldBaseTypeFieldBasePtr
 

Static Public Member Functions

template<typename Fn , class ... InputFields>
static auto create (Fn fn, InputFields &&... inputs) -> decltype(auto)
 
template<typename Function , typename Tuple , size_t ... I>
static auto call_create (Function f, Tuple t, std::index_sequence< I ... >)
 
template<typename Fn , class ... InputFields>
static auto create_multi (Fn fn, InputFields &&... inputs) -> decltype(auto)
 

Detailed Description

template<int spacedim, class Value>
class Model< spacedim, Value >

Auxiliary class to avoid explicit specification of constructor template parameters.

Definition at line 291 of file field_model.hh.

Member Typedef Documentation

◆ FieldBasePtr

template<int spacedim, class Value >
typedef std::shared_ptr< FieldBaseType > Model< spacedim, Value >::FieldBasePtr

Definition at line 294 of file field_model.hh.

◆ FieldBaseType

template<int spacedim, class Value >
typedef FieldAlgorithmBase<spacedim, Value> Model< spacedim, Value >::FieldBaseType

Definition at line 293 of file field_model.hh.

Member Function Documentation

◆ call_create()

template<int spacedim, class Value >
template<typename Function , typename Tuple , size_t ... I>
static auto Model< spacedim, Value >::call_create ( Function  f,
Tuple  t,
std::index_sequence< I ... >   
)
inlinestatic

Definition at line 309 of file field_model.hh.

Here is the caller graph for this function:

◆ create()

template<int spacedim, class Value >
template<typename Fn , class ... InputFields>
static auto Model< spacedim, Value >::create ( Fn  fn,
InputFields &&...  inputs 
) -> decltype(auto)
inlinestatic

Fn is a functor class and fn its instance.

Definition at line 301 of file field_model.hh.

Here is the caller graph for this function:

◆ create_multi()

template<int spacedim, class Value >
template<typename Fn , class ... InputFields>
static auto Model< spacedim, Value >::create_multi ( Fn  fn,
InputFields &&...  inputs 
) -> decltype(auto)
inlinestatic

Fn is a functor class and fn its instance.

Definition at line 319 of file field_model.hh.


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