OGS
ProcessLib::ConstitutiveRelations Namespace Reference

Namespaces

namespace  detail
 

Classes

struct  PrevState
 Represents a previous state of type T. More...
 
struct  SpaceTimeData
 
struct  StrainData
 
struct  StressData
 

Typedefs

template<typename Tuple >
using PrevStateOf = boost::mp11::mp_transform<PrevState, Tuple>
 Applies PrevState to a tuple of constitutive data.
 

Functions

template<typename... Ts>
void assign (std::tuple< PrevState< Ts >... > &prev_states, std::tuple< Ts... > const &current_states)
 Assigns a tuple of current states to a tuple of previous states.
 

Variables

static constexpr double nan = std::numeric_limits<double>::quiet_NaN()
 Convenience alias for not a number.
 

Typedef Documentation

◆ PrevStateOf

template<typename Tuple >
using ProcessLib::ConstitutiveRelations::PrevStateOf = boost::mp11::mp_transform<PrevState, Tuple>

Applies PrevState to a tuple of constitutive data.

Definition at line 50 of file Base.h.

Function Documentation

◆ assign()

template<typename... Ts>
void ProcessLib::ConstitutiveRelations::assign ( std::tuple< PrevState< Ts >... > & prev_states,
std::tuple< Ts... > const & current_states )

Assigns a tuple of current states to a tuple of previous states.

Definition at line 65 of file Base.h.

67{
68 detail::assign(prev_states, current_states,
69 std::make_index_sequence<sizeof...(Ts)>{});
70}

References ProcessLib::ConstitutiveRelations::detail::assign().

Variable Documentation

◆ nan

constexpr double ProcessLib::ConstitutiveRelations::nan = std::numeric_limits<double>::quiet_NaN()
staticconstexpr