Alsvinn  0.5.3
The fast FVM simulator with UQ support
Namespaces | Classes | Typedefs | Functions
alsfvm::equation Namespace Reference

Namespaces

 buckleyleverett
 
 burgers
 
 cubic
 
 euler
 
 linear
 

Classes

class  CellComputer
 The CellComputer class defines some useful per cell computations. More...
 
class  CellComputerFactory
 The CellComputerFactory class is used to create new cell computers. More...
 
class  CPUCellComputer
 
class  CUDACellComputer
 
class  EquationInformation
 
class  EquationParameterFactory
 
class  EquationParameters
 

Typedefs

typedef boost::fusion::vector< EquationInformation< euler::Euler< 1 > >, EquationInformation< euler::Euler< 2 > >, EquationInformation< euler::Euler< 3 > >, EquationInformation< burgers::Burgers >, EquationInformation< buckleyleverett::BuckleyLeverett >, EquationInformation< cubic::Cubic >, EquationInformation< linear::Linear > > EquationList
 EquationList is a type list of all equations available. More...
 

Functions

template<class Function >
void for_each_equation (const Function &f)
 

Typedef Documentation

◆ EquationList

EquationList is a type list of all equations available.

Function Documentation

◆ for_each_equation()

template<class Function >
void alsfvm::equation::for_each_equation ( const Function &  f)

Loops through each Equation element. Example usage

struct Functor {
template<class T>
void operator()(const T& t) const {
std::cout << T::getName() << std::endl;
}
};
for_each_equation(Functor());