OGS
ProcessLib::ConstitutiveRelations::detail Namespace Reference

Functions

template<typename... Ts, std::size_t... Idcs>
void assign (std::tuple< PrevState< Ts >... > &prev_states, std::tuple< Ts... > const &current_states, std::index_sequence< Idcs... >)
 

Function Documentation

◆ assign()

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

Definition at line 55 of file Base.h.

58{
59 ((std::get<Idcs>(prev_states) = std::get<Idcs>(current_states)), ...);
60}

Referenced by ProcessLib::ConstitutiveRelations::assign().