ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
Loading...
Searching...
No Matches
List of all members
ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber > Class Template Reference

#include <source/scalar_conservation/wave_speed_estimator.h>

Inheritance diagram for ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >:
Inheritance graph
[legend]
Collaboration diagram for ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >:
Collaboration graph
[legend]

Public Types

Typedefs and constexpr constants
template<int dim, typename Number = double>
using View = WaveSpeedEstimatorView< dim, Number >
 

Public Member Functions

Constructor and setup
 WaveSpeedEstimator (const HyperbolicSystem &hyperbolic_system, const std::string &subsection="/WaveSpeedEstimator")
 
Information and statistics
 ACCESSOR_READ_ONLY (use_greedy_wavespeed)
 
 ACCESSOR_READ_ONLY (use_averaged_entropy)
 
 ACCESSOR_READ_ONLY (random_entropies)
 
template<int dim, typename Number >
auto view () const
 

Detailed Description

template<typename ScalarNumber = double>
class ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >

A fast estimate for a sufficient maximal wavespeed of the 1D Riemann problem. The wavespeed estimate is based on a guaranteed upper bound on the maximal wavespeed for convex fluxes, see Example 79.17 on page 333 of [GuermondErn2021]. As well as an augmented "Roe average" based on an entropy inequality of a suitable Krŭzkov entropy, see [ryujin-2023-5] Section 4.

Definition at line 36 of file wave_speed_estimator.h.

Member Typedef Documentation

◆ View

template<typename ScalarNumber = double>
template<int dim, typename Number = double>
using ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >::View = WaveSpeedEstimatorView<dim, Number>

Alias for the view on the wave speed estimator for a given dimension dim and choice of number type Number.

Definition at line 49 of file wave_speed_estimator.h.

Constructor & Destructor Documentation

◆ WaveSpeedEstimator()

template<typename ScalarNumber = double>
ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >::WaveSpeedEstimator ( const HyperbolicSystem hyperbolic_system,
const std::string &  subsection = "/WaveSpeedEstimator< ScalarNumber >" 
)
inline

Constructor.

Definition at line 60 of file wave_speed_estimator.h.

Member Function Documentation

◆ ACCESSOR_READ_ONLY() [1/3]

template<typename ScalarNumber = double>
ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >::ACCESSOR_READ_ONLY ( use_greedy_wavespeed  )

◆ ACCESSOR_READ_ONLY() [2/3]

template<typename ScalarNumber = double>
ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >::ACCESSOR_READ_ONLY ( use_averaged_entropy  )

◆ ACCESSOR_READ_ONLY() [3/3]

template<typename ScalarNumber = double>
ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >::ACCESSOR_READ_ONLY ( random_entropies  )

◆ view()

template<typename ScalarNumber = double>
template<int dim, typename Number >
auto ryujin::ScalarConservation::WaveSpeedEstimator< ScalarNumber >::view ( ) const
inline

Return a view on the WaveSpeedEstimator for a given dimension dim and choice of number type Number (which can be a scalar float, or double, as well as a VectorizedArray holding packed scalars).

Definition at line 108 of file wave_speed_estimator.h.


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