DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
dbpp::HLLSolver1D Class Reference

Riemann solver that belongs to Approximate Riemann solver. Solve the Riemann problem at cell Face. Riemann problem u want to set which is made of discontinuity and state vector (left/right) Shall return a map with key = cellFaceID and value is flux face (FF1,FF2) More...

#include <dbpp_HLLSolver1D.h>

Classes

struct  hllParams
 aggregate that hold hll algorithm parameters More...

Public Member Functions

 HLLSolver1D ()=default
 default ctor
 HLLSolver1D (const HLLSolver1D &aOther)=delete
 denied copy/assignment
HLLSolver1Doperator= (const HLLSolver1D &aOther)=delete
 denied copy/assignment
FluxTensor solve (const RiemannProblem &aRprob)
 solution of the Riemann problem at cell face j+1/2
std::pair< double, double > getShockSpeed () const
 Shock speed.

Protected Member Functions

virtual std::pair< double, double > computeShockSpeed (const Sfx::cellFaceVariables &aFace)
 Compute shock speed values at cell faces.
virtual hllParams computeParams (const Sfx::cellFaceVariables &aFace)
 Compute HLL algorithm parameters.

Detailed Description

Riemann solver that belongs to Approximate Riemann solver. Solve the Riemann problem at cell Face. Riemann problem u want to set which is made of discontinuity and state vector (left/right) Shall return a map with key = cellFaceID and value is flux face (FF1,FF2)

Constructor & Destructor Documentation

◆ HLLSolver1D() [1/2]

dbpp::HLLSolver1D::HLLSolver1D ( )
default

default ctor

◆ HLLSolver1D() [2/2]

dbpp::HLLSolver1D::HLLSolver1D ( const HLLSolver1D & aOther)
delete

denied copy/assignment

Parameters
aOtherobject to copy from

Member Function Documentation

◆ computeParams()

HLLSolver1D::hllParams dbpp::HLLSolver1D::computeParams ( const Sfx::cellFaceVariables & aFace)
protectedvirtual

Compute HLL algorithm parameters.

Parameters
aFacestate variables at cell face
Returns
parameters structure

◆ computeShockSpeed()

std::pair< float64, float64 > dbpp::HLLSolver1D::computeShockSpeed ( const Sfx::cellFaceVariables & aFace)
protectedvirtual

Compute shock speed values at cell faces.

Parameters
aFacestate variables at cell face
Returns
pair of values (left/right)

◆ getShockSpeed()

std::pair< double, double > dbpp::HLLSolver1D::getShockSpeed ( ) const
inline

Shock speed.

Returns
pair of values

◆ operator=()

HLLSolver1D & dbpp::HLLSolver1D::operator= ( const HLLSolver1D & aOther)
delete

denied copy/assignment

Parameters
aOtherobject to copy from
Returns
this

◆ solve()

FluxTensor dbpp::HLLSolver1D::solve ( const RiemannProblem & aRprob)

solution of the Riemann problem at cell face j+1/2

Parameters
aRprobRiemann problem
Returns
tensor flux

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