Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
#include <MultiWriteHdf5.hpp>
Public Member Functions | |
MultiWriteHdf52 (const fub::ProgramOptions &vm) | |
void | operator() (const MultiBlockGriddingAlgorithm2 &grid) override |
Duration | NextOutputTime (Duration time_point) override |
Returns the time point at which the simulation shall stop to do some output. More... | |
bool | ShallOutputNow (const MultiBlockGriddingAlgorithm2 &grid) override |
Returns true if this output class shall be invoked at the specified time point. More... | |
virtual bool | ShallOutputNow (const GriddingAlgorithm &grid)=0 |
Returns true if this output class shall be invoked at the specified time point. More... | |
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 Types | |
enum class | Type { plenum , tube } |
Private Attributes | |
Type | type_ |
int | grid_id_ |
std::string | path_to_file_ |
std::optional<::amrex::Box > | output_box_ |
|
strongprivate |
fub::amrex::MultiWriteHdf52::MultiWriteHdf52 | ( | const fub::ProgramOptions & | vm | ) |
|
inlineoverridevirtualinherited |
Returns the time point at which the simulation shall stop to do some output.
Implements fub::BasicOutput< GriddingAlgorithm >.
|
pure virtualinherited |
Invoke the actual output logic.
Implemented in fub::MultipleOutputs< Grid >, fub::CounterOutput< Grid, PrintDuration >, fub::AnyOutput< Grid >, and fub::AsOutput< Grid, Fn >.
|
override |
|
inlineinherited |
|
pure virtualinherited |
Returns true if this output class shall be invoked at the specified time point.
Implemented in fub::OutputAtFrequencyOrInterval< GriddingAlgorithm >, fub::OutputAtFrequencyOrInterval< Grid >, and fub::MultipleOutputs< Grid >.
|
inlineoverrideinherited |
Returns true if this output class shall be invoked at the specified time point.
|
protectedinherited |
|
private |
|
protectedinherited |
|
private |
|
private |
|
protectedinherited |
|
private |