1 #ifndef SIM_STEP_CONTROLLER_H_INCLUDED
2 #define SIM_STEP_CONTROLLER_H_INCLUDED
52 void Go(
double time_slice, SimPhase phase = SimPhase::NONE);
55 std::lock_guard<std::mutex> m_guard;
61 #endif // end_of_include_guard
TimeSlicer & operator=(const TimeSlicer &other)=delete
No assignment operator.
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.
Simulator: mesh & parameters, model & algorithms.
~TimeSlicer()
Destructor does some wrapping up.
void IncrementStepCount()
Increment time step count because slices have covered a full step.