![]() |
ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
|
#include <source/euler_barotropic/wave_speed_estimator.h>
Public Member Functions | |
Compute wavespeed estimates | |
| WaveSpeedEstimatorView (const View &view, const WaveSpeedEstimator< ScalarNumber > &wave_speed_estimator) | |
| Number | compute (const primitive_type &riemann_data_i, const primitive_type &riemann_data_j) const |
| Number | compute (const PrecomputedVectorView &pv, const state_type &U_i, const state_type &U_j, const unsigned int i, const unsigned int *js, const dealii::Tensor< 1, dim, Number > &n_ij) const |
Typedefs and constexpr constants | |
| using | View = HyperbolicSystemView< dim, Number > |
| using | ScalarNumber = typename View::ScalarNumber |
| using | state_type = typename View::state_type |
| using | primitive_type = typename std::array< Number, riemann_data_size > |
| using | precomputed_type = typename View::precomputed_type |
| using | PrecomputedVectorView = typename View::PrecomputedVectorView |
| static constexpr auto | problem_dimension = View::problem_dimension |
| static constexpr unsigned int | riemann_data_size = 2 |
A view of the WaveSpeedEstimator that makes the interface available 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 105 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number >::View = HyperbolicSystemView<dim, Number> |
Definition at line 113 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number >::ScalarNumber = typename View::ScalarNumber |
Definition at line 115 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number >::state_type = typename View::state_type |
Definition at line 119 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number >::primitive_type = typename std::array<Number, riemann_data_size> |
The array type to store the primitive state for the Riemann solver \([v, a]\)
Definition at line 130 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number >::precomputed_type = typename View::precomputed_type |
Definition at line 132 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number >::PrecomputedVectorView = typename View::PrecomputedVectorView |
Definition at line 134 of file wave_speed_estimator.h.
|
inline |
Constructor taking a HyperbolicSystemView and a WaveSpeedEstimator object as arguments
Definition at line 146 of file wave_speed_estimator.h.
| Number ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number >::compute | ( | const primitive_type & | riemann_data_i, |
| const primitive_type & | riemann_data_j | ||
| ) | const |
For two given 1D primitive states riemann_data_i and riemann_data_j, compute an estimate for an upper bound of the maximum wavespeed lambda.
Definition at line 20 of file wave_speed_estimator.template.h.
|
inline |
For two given states U_i a U_j and a (normalized) "direction" n_ij compute an estimate for an upper bound of the maximum wavespeed lambda.
Definition at line 42 of file wave_speed_estimator.template.h.
|
staticconstexpr |
Definition at line 117 of file wave_speed_estimator.h.
|
staticconstexpr |
Number of components in a primitive state, we store \([v, a]\).
Definition at line 124 of file wave_speed_estimator.h.