ryujin 2.1.1 revision b04fb4aba7bd97ddfa5994a6b4b6e8586eb15db2
Loading...
Searching...
No Matches
Classes | 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]

Classes

struct  Parameters
 

Public Member Functions

Constructor and setup
 WaveSpeedEstimator (const HyperbolicSystem &hyperbolic_system, const std::string &subsection="/WaveSpeedEstimator")
 
template<int dim, typename Number , typename MemorySpace = dealii::MemorySpace::Host>
auto view () const
 

Internal fields, methods, and friends

template<int , typename , typename >
class WaveSpeedEstimatorView
 

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 43 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 70 of file wave_speed_estimator.h.

Member Function Documentation

◆ view()

template<typename ScalarNumber = double>
template<int dim, typename Number , typename MemorySpace = dealii::MemorySpace::Host>
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). The optional MemorySpace template parameter selects whether the view is intended for the host or device memory space.

Note
Enforcing entropy inequalities for additional Krŭzkov entropies requires calling into the selected flux, which is only possible on the host. The corresponding runtime options are thus only supported for a view on the host memory space.

Definition at line 126 of file wave_speed_estimator.h.

Friends And Related Symbol Documentation

◆ WaveSpeedEstimatorView

template<typename ScalarNumber = double>
template<int , typename , typename >
friend class WaveSpeedEstimatorView
friend

Definition at line 157 of file wave_speed_estimator.h.


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