48 int numberOfCoarseSaves,
69 alsfvm::shared_ptr<Writer> writer;
70 const real timeInterval;
71 const int numberOfCoarseSaves;
72 const int numberOfSkips;
75 int numberSmallSaved{0};
virtual real adjustTimestep(real dt, const simulator::TimestepInformation ×tepInformation) const
adjustTimestep returns the new timestep that the simulator should use
Definition: CoarseGrainingIntervalWriter.cpp:77
The CoarseGrainingIntervalWriter class is a decorator for another writer. Its purpose is to only call...
Definition: CoarseGrainingIntervalWriter.hpp:36
CoarseGrainingIntervalWriter(alsfvm::shared_ptr< Writer > &writer, real timeInterval, int numberOfCoarseSaves, real endTime, int numberOfSkips)
Definition: CoarseGrainingIntervalWriter.cpp:24
The Volume class represents a volume (a collection of cells with values for each cell (eg...
Definition: Volume.hpp:30
virtual void write(const volume::Volume &conservedVariables, const grid::Grid &grid, const simulator::TimestepInformation ×tepInformation)
write writes the data to disk
Definition: CoarseGrainingIntervalWriter.cpp:36
virtual void finalize(const grid::Grid &grid, const simulator::TimestepInformation ×tepInformation) override
This method should be called at the end of the simulation.
Definition: CoarseGrainingIntervalWriter.cpp:90
double real
Definition: types.hpp:65
const grid::Grid & grid
Definition: NumericalFluxFactory.cpp:104
The Writer class is an abstract interface to represent output writers.
Definition: Writer.hpp:28
The TimestepAdjuster class is an abstract interface for adjusting timesteps.
Definition: TimestepAdjuster.hpp:31
Various utility functions to implement the tecno flux.
Definition: types.hpp:30
virtual ~CoarseGrainingIntervalWriter()
Definition: CoarseGrainingIntervalWriter.hpp:52