Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Public Types | Public Member Functions | Private Attributes | List of all members
fub::ExactRiemannSolver< Advection2d > Class Reference

#include <Advection.hpp>

Public Types

using Complete = typename Advection2d::Complete
 
using CompleteArray = typename Advection2d::CompleteArray
 

Public Member Functions

 ExactRiemannSolver (const Advection2d &equation)
 
void SolveRiemannProblem (Complete &state, const Complete &left, const Complete &right, Direction dir)
 Returns either left or right, depending on the upwind velocity. More...
 
void SolveRiemannProblem (CompleteArray &state, const CompleteArray &left, const CompleteArray &right, Direction dir)
 Returns either left or right, depending on the upwind velocity. More...
 
std::array< double, 1 > ComputeSignals (const Complete &, const Complete &, Direction dir)
 Returns the upwind velocity in the specified direction. More...
 
std::array< Array1d, 1 > ComputeSignals (const CompleteArray &, const CompleteArray &, Direction dir)
 Returns the upwind velocity in the specified direction. More...
 

Private Attributes

Advection2d equation_
 

Member Typedef Documentation

◆ Complete

◆ CompleteArray

Constructor & Destructor Documentation

◆ ExactRiemannSolver()

Member Function Documentation

◆ ComputeSignals() [1/2]

std::array<double, 1> fub::ExactRiemannSolver< Advection2d >::ComputeSignals ( const Complete ,
const Complete ,
Direction  dir 
)

Returns the upwind velocity in the specified direction.

◆ ComputeSignals() [2/2]

std::array<Array1d, 1> fub::ExactRiemannSolver< Advection2d >::ComputeSignals ( const CompleteArray ,
const CompleteArray ,
Direction  dir 
)

Returns the upwind velocity in the specified direction.

◆ SolveRiemannProblem() [1/2]

void fub::ExactRiemannSolver< Advection2d >::SolveRiemannProblem ( Complete state,
const Complete left,
const Complete right,
Direction  dir 
)

Returns either left or right, depending on the upwind velocity.

◆ SolveRiemannProblem() [2/2]

void fub::ExactRiemannSolver< Advection2d >::SolveRiemannProblem ( CompleteArray state,
const CompleteArray left,
const CompleteArray right,
Direction  dir 
)

Returns either left or right, depending on the upwind velocity.

Member Data Documentation

◆ equation_


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