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

#include <alsfvm/numflux/NumericalFluxFactory.hpp>

Public Types

typedef alsfvm::shared_ptr< NumericalFluxNumericalFluxPtr
 

Public Member Functions

 NumericalFluxFactory (const std::string &equation, const std::string &fluxname, const std::string &reconstruction, const alsfvm::shared_ptr< simulator::SimulatorParameters > &simulatorParameters, alsfvm::shared_ptr< DeviceConfiguration > &deviceConfiguration)
 
NumericalFluxPtr createNumericalFlux (const grid::Grid &grid)
 

Detailed Description

Use this to instantiate new numerical fluxes.

Member Typedef Documentation

◆ NumericalFluxPtr

The numerical flux pointer

Constructor & Destructor Documentation

◆ NumericalFluxFactory()

alsfvm::numflux::NumericalFluxFactory::NumericalFluxFactory ( const std::string &  equation,
const std::string &  fluxname,
const std::string &  reconstruction,
const alsfvm::shared_ptr< simulator::SimulatorParameters > &  simulatorParameters,
alsfvm::shared_ptr< DeviceConfiguration > &  deviceConfiguration 
)
Parameters
equationthe name of the equation (eg. Euler)
fluxnamethe name of the flux (eg. HLL)
reconstructionthe reconstruction to use ("none" is default).
deviceConfigurationthe relevant device configuration
simulatorParametersthe given parameters for the simulation
Note
The platform name is deduced by deviceConfiguration
Parameters
equationthe name of the equation (eg. Euler)
fluxnamethe name of the flux (eg. HLL)
reconstructionthe reconstruction to use ("none" is default).
deviceConfigurationthe relevant device configuration
Note
The platform name is deduced by deviceConfiguration

Member Function Documentation

◆ createNumericalFlux()

NumericalFluxFactory::NumericalFluxPtr alsfvm::numflux::NumericalFluxFactory::createNumericalFlux ( const grid::Grid grid)

Creates the numerical flux


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