27 : m_guard(time_step_mutex), m_sim(sim)
29 m_sim->TimeSliceSetup(m_guard);
34 m_sim->TimeSliceWrapup(m_guard);
44 m_sim->TimeSliceGo(m_guard, time_slice, phase);
void Go(double time_slice, SimPhase phase=SimPhase::NONE)
Actualy propagate over a time slice.
Simulator: mesh & parameters, model & algorithms.
TimeSlicer(std::mutex &time_step_mutex, Sim *sim)
Constructor does almost no initialization work.
Namespace for the core simulator.
Sim, the actual simulator.
~TimeSlicer()
Destructor does some wrapping up.
void IncrementStepCount()
Increment time step count because slices have covered a full step.
CoreData & GetCoreData() override final