Flow123d  JS_before_hm-2205-g8c1b58980
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 338 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 341 of file field_model.hh.

◆ FieldBaseType

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

Definition at line 340 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 356 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 348 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 366 of file field_model.hh.


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