ryujin 2.1.1 revision 336b16a72e829721302c626ec7071b92032b8248
List of all members
ryujin::Skeleton::Indicator< 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 PrecomputedVector = typename View::PrecomputedVector
 
using Parameters = IndicatorParameters< ScalarNumber >
 

Public Member Functions

Stencil-based computation of indicators

Intended usage:

for (unsigned int i = n_internal; i < n_owned; ++i) {
// ...
indicator.reset(i, U_i);
for (unsigned int col_idx = 1; col_idx < row_length; ++col_idx) {
// ...
indicator.accumulate(js, U_j, c_ij);
}
indicator.alpha(hd_i);
}
void accumulate(const unsigned int *, const state_type &, const dealii::Tensor< 1, dim, Number > &)
Definition: indicator.h:102
void reset(const unsigned int, const state_type &)
Definition: indicator.h:93
Number alpha(const Number) const
Definition: indicator.h:112
 Indicator (const HyperbolicSystem &hyperbolic_system, const Parameters &parameters, const PrecomputedVector &precomputed_values)
 
void reset (const unsigned int, const state_type &)
 
void accumulate (const unsigned int *, const state_type &, const dealii::Tensor< 1, dim, Number > &)
 
Number alpha (const Number) const
 

Detailed Description

template<int dim, typename Number = double>
class ryujin::Skeleton::Indicator< dim, Number >

An suitable indicator strategy that is used to form the preliminary high-order update.

Definition at line 39 of file indicator.h.

Member Typedef Documentation

◆ View

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

Definition at line 47 of file indicator.h.

◆ ScalarNumber

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

Definition at line 49 of file indicator.h.

◆ state_type

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

Definition at line 51 of file indicator.h.

◆ PrecomputedVector

template<int dim, typename Number = double>
using ryujin::Skeleton::Indicator< dim, Number >::PrecomputedVector = typename View::PrecomputedVector

Definition at line 53 of file indicator.h.

◆ Parameters

template<int dim, typename Number = double>
using ryujin::Skeleton::Indicator< dim, Number >::Parameters = IndicatorParameters<ScalarNumber>

Definition at line 55 of file indicator.h.

Constructor & Destructor Documentation

◆ Indicator()

template<int dim, typename Number = double>
ryujin::Skeleton::Indicator< dim, Number >::Indicator ( const HyperbolicSystem hyperbolic_system,
const Parameters parameters,
const PrecomputedVector precomputed_values 
)
inline

Constructor taking a HyperbolicSystem instance as argument

Definition at line 80 of file indicator.h.

Member Function Documentation

◆ reset()

template<int dim, typename Number = double>
void ryujin::Skeleton::Indicator< dim, Number >::reset ( 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 93 of file indicator.h.

◆ accumulate()

template<int dim, typename Number = double>
void ryujin::Skeleton::Indicator< dim, Number >::accumulate ( 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 102 of file indicator.h.

◆ alpha()

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

Return the computed alpha_i value.

Definition at line 112 of file indicator.h.


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