ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
Loading...
Searching...
No Matches
List of all members
ryujin::Skeleton::IndicatorView< dim, Number > Class Template Reference

#include <source/skeleton/indicator.h>

Public Types

Typedefs and constexpr constants
using View = HyperbolicSystemView< dim, Number >
 
using ScalarNumber = typename View::ScalarNumber
 
using state_type = typename View::state_type
 
using PrecomputedVectorView = typename View::PrecomputedVectorView
 

Public Member Functions

Stencil-based computation of indicators

Intended usage:

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) const
Definition indicator.h:177
void reset(const PrecomputedVectorView &, const unsigned int, const state_type &)
Definition indicator.h:155
void accumulate(const PrecomputedVectorView &, const unsigned int *, const state_type &, const dealii::Tensor< 1, dim, Number > &)
Definition indicator.h:166
 IndicatorView (const View &view, const Indicator< ScalarNumber > &indicator)
 
void reset (const PrecomputedVectorView &, const unsigned int, const state_type &)
 
void accumulate (const PrecomputedVectorView &, const unsigned int *, const state_type &, const dealii::Tensor< 1, dim, Number > &)
 
Number alpha (const Number) const
 

Detailed Description

template<int dim, typename Number>
class ryujin::Skeleton::IndicatorView< dim, Number >

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 105 of file indicator.h.

Member Typedef Documentation

◆ View

template<int dim, typename Number >
using ryujin::Skeleton::IndicatorView< dim, Number >::View = HyperbolicSystemView<dim, Number>

Definition at line 113 of file indicator.h.

◆ ScalarNumber

template<int dim, typename Number >
using ryujin::Skeleton::IndicatorView< dim, Number >::ScalarNumber = typename View::ScalarNumber

Definition at line 115 of file indicator.h.

◆ state_type

template<int dim, typename Number >
using ryujin::Skeleton::IndicatorView< dim, Number >::state_type = typename View::state_type

Definition at line 117 of file indicator.h.

◆ PrecomputedVectorView

template<int dim, typename Number >
using ryujin::Skeleton::IndicatorView< dim, Number >::PrecomputedVectorView = typename View::PrecomputedVectorView

Definition at line 119 of file indicator.h.

Constructor & Destructor Documentation

◆ IndicatorView()

template<int dim, typename Number >
ryujin::Skeleton::IndicatorView< dim, Number >::IndicatorView ( const View view,
const Indicator< ScalarNumber > &  indicator 
)
inline

Constructor taking a HyperbolicSystemView and an Indicator object as arguments

Definition at line 145 of file indicator.h.

Member Function Documentation

◆ reset()

template<int dim, typename Number >
void ryujin::Skeleton::IndicatorView< dim, Number >::reset ( const PrecomputedVectorView ,
const unsigned int  ,
const state_type  
)
inline

Reset temporary storage and initialize for a new row corresponding to state vector U_i.

Definition at line 155 of file indicator.h.

◆ accumulate()

template<int dim, typename Number >
void ryujin::Skeleton::IndicatorView< dim, Number >::accumulate ( const PrecomputedVectorView ,
const unsigned int *  ,
const state_type ,
const dealii::Tensor< 1, dim, Number > &   
)
inline

When looping over the sparsity row, add the contribution associated with the neighboring state U_j.

Definition at line 166 of file indicator.h.

◆ alpha()

template<int dim, typename Number >
Number ryujin::Skeleton::IndicatorView< dim, Number >::alpha ( const Number  ) const
inline

Return the computed alpha_i value.

Definition at line 177 of file indicator.h.


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