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< ShallowWater > Class Reference

#include <ShallowWater.hpp>

Public Types

using Complete = typename ShallowWater::Complete
 
using CompleteArray = typename ShallowWater::CompleteArray
 

Public Member Functions

 ExactRiemannSolver (const ShallowWater &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, 2 > ComputeSignals (const Complete &, const Complete &, Direction dir)
 Returns the upwind velocity in the specified direction. More...
 
std::array< Array1d, 2 > ComputeSignals (const CompleteArray &, const CompleteArray &, Direction dir)
 Returns the upwind velocity in the specified direction. More...
 
Complete ComputeMiddleState (const Complete &left, const Complete &right, Direction dir)
 

Private Attributes

ShallowWater equation_
 

Member Typedef Documentation

◆ Complete

◆ CompleteArray

Constructor & Destructor Documentation

◆ ExactRiemannSolver()

Member Function Documentation

◆ ComputeMiddleState()

Complete fub::ExactRiemannSolver< ShallowWater >::ComputeMiddleState ( const Complete left,
const Complete right,
Direction  dir 
)

◆ ComputeSignals() [1/2]

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

Returns the upwind velocity in the specified direction.

◆ ComputeSignals() [2/2]

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

Returns the upwind velocity in the specified direction.

◆ SolveRiemannProblem() [1/2]

void fub::ExactRiemannSolver< ShallowWater >::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< ShallowWater >::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: