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

#include <source/shallow_water/wave_speed_estimator.h>

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

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::ShallowWater::WaveSpeedEstimator< ScalarNumber >

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

Definition at line 41 of file wave_speed_estimator.h.

Constructor & Destructor Documentation

◆ WaveSpeedEstimator()

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

Constructor.

Definition at line 52 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::ShallowWater::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 69 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 86 of file wave_speed_estimator.h.


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