24 namespace integrator {
112 std::vector<alsfvm::shared_ptr<TimestepAdjuster> > timestepAdjusters;
113 std::vector<WaveSpeedAdjusterPtr > waveSpeedAdjusters;
void addWaveSpeedAdjuster(WaveSpeedAdjusterPtr adjuster)
Definition: Integrator.cpp:53
virtual size_t getNumberOfSubsteps() const =0
The Volume class represents a volume (a collection of cells with values for each cell (eg...
Definition: Volume.hpp:30
alsfvm::shared_ptr< WaveSpeedAdjuster > WaveSpeedAdjusterPtr
Definition: WaveSpeedAdjuster.hpp:30
double real
Definition: types.hpp:65
void addTimestepAdjuster(alsfvm::shared_ptr< TimestepAdjuster > &adjuster)
addTimestepAdjuster adds a timestep adjuster
Definition: Integrator.cpp:48
real adjustTimestep(real dt, const simulator::TimestepInformation ×tepInformation) const
adjustTimestep adjusts the timesteps according to the timestepsadjusters
Definition: Integrator.cpp:57
Definition: Integrator.hpp:52
virtual real performSubstep(std::vector< alsfvm::shared_ptr< volume::Volume > > &inputConserved, rvec3 spatialCellSizes, real dt, real cfl, volume::Volume &output, size_t substep, const simulator::TimestepInformation ×tepInformation)=0
Various utility functions to implement the tecno flux.
Definition: types.hpp:30
real computeTimestep(const rvec3 &waveSpeeds, const rvec3 &cellLengths, real cfl, const simulator::TimestepInformation ×tepInformation) const
Definition: Integrator.cpp:20
virtual ~Integrator()
Definition: Integrator.hpp:54