Flow123d  JS_before_hm-1598-g3b021b4
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 304 of file field_model.hh.

Member Typedef Documentation

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

Definition at line 307 of file field_model.hh.

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

Definition at line 306 of file field_model.hh.

Member Function Documentation

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

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

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


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