33 template<
class Flux,
class Equation,
size_t dimension>
38 alsfvm::shared_ptr<reconstruction::Reconstruction>& reconstruction,
60 rvec3& waveSpeed,
bool computeWaveSpeed,
62 const ivec3& end = {0, 0, 0}
73 void createVolumes(
size_t nx,
size_t ny,
size_t nz,
size_t ngc);
75 alsfvm::shared_ptr<reconstruction::Reconstruction> reconstruction;
76 alsfvm::shared_ptr<volume::Volume> left;
77 alsfvm::shared_ptr<volume::Volume> right;
80 alsfvm::shared_ptr<volume::Volume> temporaryVolume;
alsfvm::shared_ptr< DeviceConfiguration > & deviceConfiguration
Definition: NumericalFluxFactory.cpp:103
const alsfvm::shared_ptr< simulator::SimulatorParameters > & simulatorParameters
Definition: NumericalFluxFactory.cpp:102
Definition: VolumeFactory.hpp:29
The Volume class represents a volume (a collection of cells with values for each cell (eg...
Definition: Volume.hpp:30
Definition: NumericalFlux.hpp:25
Definition: NumericalFluxCPU.hpp:34
size_t nx
Definition: VolumeFactory.cpp:87
virtual void computeFlux(const volume::Volume &conservedVariables, rvec3 &waveSpeed, bool computeWaveSpeed, volume::Volume &output, const ivec3 &start={0, 0, 0}, const ivec3 &end={0, 0, 0})
Definition: NumericalFluxCPU.cpp:171
size_t ny
Definition: VolumeFactory.cpp:88
const grid::Grid & grid
Definition: NumericalFluxFactory.cpp:104
NumericalFluxCPU(const grid::Grid &grid, alsfvm::shared_ptr< reconstruction::Reconstruction > &reconstruction, const alsfvm::shared_ptr< simulator::SimulatorParameters > &simulatorParameters, alsfvm::shared_ptr< DeviceConfiguration > &deviceConfiguration)
Definition: NumericalFluxCPU.cpp:149
size_t nz
Definition: VolumeFactory.cpp:89
Various utility functions to implement the tecno flux.
Definition: types.hpp:30
alsutils::parameters::Parameters Parameters
Definition: Parameters.hpp:24
virtual size_t getNumberOfGhostCells()
Definition: NumericalFluxCPU.cpp:227