SpECTRE  2021.08.02
PhaseControl::InitializePhaseChangeDecisionData< PhaseChangeRegistrars > Struct Template Reference

Initialize the Main chare's phase_change_decision_data for the option-selected PhaseChanges. More...

#include <ExecutePhaseChange.hpp>

Static Public Member Functions

template<typename... DecisionTags, typename Metavariables >
static void apply (const gsl::not_null< tuples::TaggedTuple< DecisionTags... > * > phase_change_decision_data, const Parallel::GlobalCache< Metavariables > &cache) noexcept
 

Detailed Description

template<typename PhaseChangeRegistrars>
struct PhaseControl::InitializePhaseChangeDecisionData< PhaseChangeRegistrars >

Initialize the Main chare's phase_change_decision_data for the option-selected PhaseChanges.

Details

This struct provides a convenient method of specifying the initialization of the phase_change_decision_data. To instruct the Main chare to use this initialization routine, define the type alias in the Metavariables:

using initialize_phase_data =
Initialize the Main chare's phase_change_decision_data for the option-selected PhaseChanges.
Definition: ExecutePhaseChange.hpp:169