Abstract class for a termination condition for the main loop. More...
#include <main_loop_2d.hpp>
Public Member Functions | |
virtual bool | operator() (const hdsim &sim)=0 |
Returns true if the simulation should continue, false otherwise. More... | |
virtual | ~TerminationCondition (void) |
Virtual destructor. | |
Abstract class for a termination condition for the main loop.
Definition at line 61 of file main_loop_2d.hpp.
|
pure virtual |
Returns true if the simulation should continue, false otherwise.
sim | Hydrodynamic simulation |
Implemented in CycleTermination, SafeTimeTermination, and KillSwitch.