![]() |
ryujin 2.1.1 revision b04fb4aba7bd97ddfa5994a6b4b6e8586eb15db2
|
#include <source/euler_barotropic/wave_speed_estimator.h>
Public Member Functions | |
Compute wavespeed estimates | |
| WaveSpeedEstimatorView (const View &view, const WaveSpeedEstimator< ScalarNumber > &) | |
| DEAL_II_HOST_DEVICE Number | compute (const primitive_type &riemann_data_i, const primitive_type &riemann_data_j) const |
| DEAL_II_HOST_DEVICE 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, MemorySpace > |
| 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 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 99 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number, MemorySpace >::View = HyperbolicSystemView<dim, Number, MemorySpace> |
Definition at line 112 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number, MemorySpace >::ScalarNumber = typename View::ScalarNumber |
Definition at line 114 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number, MemorySpace >::state_type = typename View::state_type |
Definition at line 116 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number, MemorySpace >::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 127 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number, MemorySpace >::precomputed_type = typename View::precomputed_type |
Definition at line 129 of file wave_speed_estimator.h.
| using ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number, MemorySpace >::PrecomputedVectorView = typename View::PrecomputedVectorView |
Definition at line 131 of file wave_speed_estimator.h.
|
inline |
Constructor taking a HyperbolicSystemView and a WaveSpeedEstimator object as arguments
Definition at line 143 of file wave_speed_estimator.h.
| DEAL_II_HOST_DEVICE_ALWAYS_INLINE Number ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number, MemorySpace >::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 193 of file wave_speed_estimator.h.
| DEAL_II_HOST_DEVICE_ALWAYS_INLINE Number ryujin::EulerBarotropic::WaveSpeedEstimatorView< dim, Number, MemorySpace >::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 |
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 215 of file wave_speed_estimator.h.
|
staticconstexpr |
Number of components in a primitive state, we store \([v, a]\).
Definition at line 121 of file wave_speed_estimator.h.