Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
Responsible for creating the different reconstructions. More...
#include <alsfvm/reconstruction/ReconstructionFactory.hpp>
Public Types | |
typedef alsfvm::shared_ptr< Reconstruction > | ReconstructionPtr |
Public Member Functions | |
ReconstructionPtr | createReconstruction (const std::string &name, const std::string &equation, const simulator::SimulatorParameters &simulatorParameters, alsfvm::shared_ptr< memory::MemoryFactory > &memoryFactory, const grid::Grid &grid, alsfvm::shared_ptr< DeviceConfiguration > &deviceConfiguration) |
Responsible for creating the different reconstructions.
typedef alsfvm::shared_ptr<Reconstruction> alsfvm::reconstruction::ReconstructionFactory::ReconstructionPtr |
ReconstructionFactory::ReconstructionPtr alsfvm::reconstruction::ReconstructionFactory::createReconstruction | ( | const std::string & | name, |
const std::string & | equation, | ||
const simulator::SimulatorParameters & | simulatorParameters, | ||
alsfvm::shared_ptr< memory::MemoryFactory > & | memoryFactory, | ||
const grid::Grid & | grid, | ||
alsfvm::shared_ptr< DeviceConfiguration > & | deviceConfiguration | ||
) |
Create the reconstruction.
name | the name of the reconstruction. Possibilities: name | description ----—+----------------------------------------— none | no reconstruction eno2 | second order ENO eno3 | third order ENO eno4 | fourth order ENO weno2 | second order WENO weno3 | third order WENO wenof2 | second order WENOF (clamping of variables) |
equation | equation name. Currently only supports "euler1", "euler2", "euler3" and "burgers" |
simulatorParameters | the parameters to be used (only used for WENOF) |
memoryFactory | used to create new temporary memory areas (relevant for ENO) |
grid | the grid to compute on |
deviceConfiguration | the deviceConfiguration to use. |