Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Types | Public Member Functions | List of all members
alsfvm::reconstruction::ReconstructionFactory Class Reference

Responsible for creating the different reconstructions. More...

#include <alsfvm/reconstruction/ReconstructionFactory.hpp>

Public Types

typedef alsfvm::shared_ptr< ReconstructionReconstructionPtr
 

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)
 

Detailed Description

Responsible for creating the different reconstructions.

Member Typedef Documentation

◆ ReconstructionPtr

Member Function Documentation

◆ createReconstruction()

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.

Parameters
namethe 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)
equationequation name. Currently only supports "euler1", "euler2", "euler3" and "burgers"
simulatorParametersthe parameters to be used (only used for WENOF)
memoryFactoryused to create new temporary memory areas (relevant for ENO)
gridthe grid to compute on
deviceConfigurationthe deviceConfiguration to use.

The documentation for this class was generated from the following files: