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

#include <source/euler/wave_speed_estimator.h>

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

Classes

struct  Parameters
 

Public Types

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

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 data

template<int , typename , typename >
class WaveSpeedEstimatorView
 

Detailed Description

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

A fast approximative solver for the 1D Riemann problem. The solver ensures that the estimate \(\lambda_{\text{max}}\) that is returned for the maximal wavespeed is a strict upper bound.

The solver is based on [5].

Definition at line 41 of file wave_speed_estimator.h.

Member Typedef Documentation

◆ View

template<typename ScalarNumber = double>
template<int dim, typename Number = double, typename MemorySpace = dealii::MemorySpace::Host>
using ryujin::Euler::WaveSpeedEstimator< ScalarNumber >::View = WaveSpeedEstimatorView<dim, Number, MemorySpace>

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

Definition at line 66 of file wave_speed_estimator.h.

Constructor & Destructor Documentation

◆ WaveSpeedEstimator()

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

Constructor.

Definition at line 77 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::Euler::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.

Definition at line 128 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 155 of file wave_speed_estimator.h.


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