Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
#include <DebugOutput.hpp>
Public Member Functions | |
DebugOutput (const ProgramOptions &opts, const std::shared_ptr< DebugStorage > &storage) | |
Read program options from opts and enable the storage. More... | |
void | operator() (const GriddingAlgorithm &grid) override |
Write out the debug storage on the grid. More... | |
Duration | NextOutputTime (Duration time_point) override |
Returns the time point at which the simulation shall stop to do some output. More... | |
bool | ShallOutputNow (const GriddingAlgorithm &grid) override |
Returns true if this output class shall be invoked at the specified time point. More... | |
template<typename Log > | |
void | Print (Log &log) |
virtual void | operator() (const GriddingAlgorithm &grid)=0 |
Invoke the actual output logic. More... | |
Protected Attributes | |
std::vector< std::ptrdiff_t > | frequencies_ |
std::vector< fub::Duration > | intervals_ |
Duration | smallest_time_step_size_ |
Private Attributes | |
std::string | directory_ |
This is the base directory where the snapshots will be output to. More... | |
|
explicit |
Read program options from opts and enable the storage.
|
inlineoverridevirtualinherited |
Returns the time point at which the simulation shall stop to do some output.
Implements fub::BasicOutput< GriddingAlgorithm >.
|
override |
Write out the debug storage on the grid.
|
pure virtualinherited |
Invoke the actual output logic.
Implemented in fub::MultipleOutputs< Grid >, fub::CounterOutput< Grid, PrintDuration >, fub::AnyOutput< Grid >, and fub::AsOutput< Grid, Fn >.
|
inlineinherited |
|
inlineoverridevirtualinherited |
Returns true if this output class shall be invoked at the specified time point.
Implements fub::BasicOutput< GriddingAlgorithm >.
|
private |
This is the base directory where the snapshots will be output to.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |