Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
#include <MultipleOutputs.hpp>
Public Types | |
using | ProgramOptions = std::map< std::string, pybind11::object > |
Public Member Functions | |
MultipleOutputs ()=default | |
MultipleOutputs (OutputFactory< Grid > factory, const ProgramOptions &opts) | |
template<typename T > | |
void | AddOutput (std::unique_ptr< T > &&output) |
Duration | NextOutputTime (Duration time_point) override |
Returns the time point at which the simulation shall stop to do some output. More... | |
bool | ShallOutputNow (const Grid &grid) override |
Returns true if this output class shall be invoked at the specified time point. More... | |
void | operator() (const Grid &grid) override |
Invoke the actual output logic. More... | |
Private Attributes | |
OutputFactory< Grid > | factory_ |
std::vector< std::unique_ptr< BasicOutput< Grid > > > | outputs_ |
using fub::MultipleOutputs< Grid >::ProgramOptions = std::map<std::string, pybind11::object> |
|
default |
|
inline |
|
inline |
|
inlineoverridevirtual |
Returns the time point at which the simulation shall stop to do some output.
Implements fub::BasicOutput< Grid >.
|
inlineoverridevirtual |
Invoke the actual output logic.
Implements fub::BasicOutput< Grid >.
|
inlineoverridevirtual |
Returns true if this output class shall be invoked at the specified time point.
Implements fub::BasicOutput< Grid >.
|
private |
|
private |