Public Member Functions | List of all members
Hllc Class Reference

HLLC Riemann solver for an Eulerian grid. More...

#include <hllc.hpp>

Inheritance diagram for Hllc:
Inheritance graph
[legend]
Collaboration diagram for Hllc:
Collaboration graph
[legend]

Public Member Functions

 Hllc (bool massflux=true)
 Class constructor. More...
 
Conserved operator() (Primitive const &left, Primitive const &right, double velocity) const
 Solve Riemann porblme. More...
 

Detailed Description

HLLC Riemann solver for an Eulerian grid.

Definition at line 13 of file hllc.hpp.

Constructor & Destructor Documentation

◆ Hllc()

Hllc::Hllc ( bool  massflux = true)
explicit

Class constructor.

Parameters
massfluxDetermines whether a correction for the mass flux should be applied

Definition at line 95 of file hllc.cpp.

Member Function Documentation

◆ operator()()

Conserved Hllc::operator() ( Primitive const &  left,
Primitive const &  right,
double  velocity 
) const
virtual

Solve Riemann porblme.

Parameters
leftPrimitive variables on the left side
rightPrimitive variables on the right side
velocityVelocity of the vertex
Returns
Corrected fluxes

Implements RiemannSolver.

Definition at line 98 of file hllc.cpp.

Here is the call graph for this function:

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