![]() |
ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
|
#include <source/euler_aeos/indicator.h>
Public Member Functions | |
Stencil-based computation of indicators | |
Intended usage: IndicatorView<dim, Number> indicator_view;
for (unsigned int i = n_internal; i < n_owned; ++i) {
// ...
indicator_view.reset(pv, i, U_i);
for (unsigned int col_idx = 1; col_idx < row_length; ++col_idx) {
// ...
indicator_view.accumulate(pv, js, U_j, c_ij);
}
indicator_view.alpha(hd_i);
}
Number alpha(const Number h_i) const Definition indicator.h:318 void accumulate(const PrecomputedVectorView &pv, const unsigned int *js, const state_type &U_j, const dealii::Tensor< 1, dim, Number > &c_ij) Definition indicator.h:287 void reset(const PrecomputedVectorView &pv, const unsigned int i, const state_type &U_i) Definition indicator.h:259 | |
| IndicatorView (const View &view, const Indicator< ScalarNumber > &indicator) | |
| void | reset (const PrecomputedVectorView &pv, const unsigned int i, const state_type &U_i) |
| void | accumulate (const PrecomputedVectorView &pv, const unsigned int *js, const state_type &U_j, const dealii::Tensor< 1, dim, Number > &c_ij) |
| Number | alpha (const Number h_i) const |
Typedefs and constexpr constants | |
| using | View = HyperbolicSystemView< dim, Number > |
| using | ScalarNumber = typename View::ScalarNumber |
| using | state_type = typename View::state_type |
| using | flux_type = typename View::flux_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 Indicator 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 152 of file indicator.h.
| using ryujin::EulerAEOS::IndicatorView< dim, Number >::View = HyperbolicSystemView<dim, Number> |
Definition at line 160 of file indicator.h.
| using ryujin::EulerAEOS::IndicatorView< dim, Number >::ScalarNumber = typename View::ScalarNumber |
Definition at line 162 of file indicator.h.
| using ryujin::EulerAEOS::IndicatorView< dim, Number >::state_type = typename View::state_type |
Definition at line 166 of file indicator.h.
| using ryujin::EulerAEOS::IndicatorView< dim, Number >::flux_type = typename View::flux_type |
Definition at line 168 of file indicator.h.
| using ryujin::EulerAEOS::IndicatorView< dim, Number >::precomputed_type = typename View::precomputed_type |
Definition at line 170 of file indicator.h.
| using ryujin::EulerAEOS::IndicatorView< dim, Number >::PrecomputedVectorView = typename View::PrecomputedVectorView |
Definition at line 172 of file indicator.h.
|
inline |
Constructor taking a HyperbolicSystemView and an Indicator object as arguments
Definition at line 198 of file indicator.h.
|
inline |
Reset temporary storage and initialize for a new row corresponding to state vector U_i.
Definition at line 259 of file indicator.h.
|
inline |
When looping over the sparsity row, add the contribution associated with the neighboring state U_j.
Definition at line 287 of file indicator.h.
|
inline |
Return the computed alpha_i value.
Definition at line 318 of file indicator.h.
References ryujin::EulerAEOS::safe_division().
|
staticconstexpr |
Definition at line 164 of file indicator.h.