21 #ifndef FUB_OUTPUT_BASIC_OUTPUT_HPP 
   22 #define FUB_OUTPUT_BASIC_OUTPUT_HPP 
The fub namespace.
Definition: AnyBoundaryCondition.hpp:31
 
std::chrono::duration< double > Duration
Definition: Duration.hpp:31
 
This is a abstract base class for an output strategy.
Definition: BasicOutput.hpp:33
 
virtual ~BasicOutput()=default
The destructor needs to be virtual to prevent leaking resources.
 
virtual void operator()(const GriddingAlgorithm &grid)=0
Invoke the actual output logic.
 
virtual bool ShallOutputNow(const GriddingAlgorithm &grid)=0
Returns true if this output class shall be invoked at the specified time point.
 
virtual Duration NextOutputTime(Duration time_point)=0
Returns the time point at which the simulation shall stop to do some output.