![]() |
ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
|
#include <source/scalar_conservation/wave_speed_estimator.h>
Public Member Functions | |
Compute wavespeed estimates | |
| WaveSpeedEstimatorView (const View &view, const WaveSpeedEstimator< ScalarNumber > &wave_speed_estimator) | |
| Number | compute (const Number &u_i, const Number &u_j, const precomputed_type &prec_i, const precomputed_type &prec_j, const dealii::Tensor< 1, dim, Number > &n_ij) 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 | precomputed_type = typename View::precomputed_type |
| using | PrecomputedVectorView = typename View::PrecomputedVectorView |
| static constexpr auto | problem_dimension = View::problem_dimension |
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 146 of file wave_speed_estimator.h.
| using ryujin::ScalarConservation::WaveSpeedEstimatorView< dim, Number >::View = HyperbolicSystemView<dim, Number> |
Definition at line 154 of file wave_speed_estimator.h.
| using ryujin::ScalarConservation::WaveSpeedEstimatorView< dim, Number >::ScalarNumber = typename View::ScalarNumber |
Definition at line 156 of file wave_speed_estimator.h.
| using ryujin::ScalarConservation::WaveSpeedEstimatorView< dim, Number >::state_type = typename View::state_type |
Definition at line 160 of file wave_speed_estimator.h.
| using ryujin::ScalarConservation::WaveSpeedEstimatorView< dim, Number >::precomputed_type = typename View::precomputed_type |
Definition at line 162 of file wave_speed_estimator.h.
| using ryujin::ScalarConservation::WaveSpeedEstimatorView< dim, Number >::PrecomputedVectorView = typename View::PrecomputedVectorView |
Definition at line 164 of file wave_speed_estimator.h.
|
inline |
Constructor taking a HyperbolicSystemView and a WaveSpeedEstimator object as arguments
Definition at line 177 of file wave_speed_estimator.h.
| Number ryujin::ScalarConservation::WaveSpeedEstimatorView< dim, Number >::compute | ( | const Number & | u_i, |
| const Number & | u_j, | ||
| const precomputed_type & | prec_i, | ||
| const precomputed_type & | prec_j, | ||
| const dealii::Tensor< 1, dim, Number > & | n_ij | ||
| ) | const |
For two states u_i, u_j, precomputed values prec_i, prec_j, and a (normalized) "direction" n_ij compute an upper bound estimate for the wavespeed.
Definition at line 23 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 lambda.
Definition at line 195 of file wave_speed_estimator.template.h.
|
staticconstexpr |
Definition at line 158 of file wave_speed_estimator.h.