![]() |
ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
|
#include <source/scalar_conservation/hyperbolic_system.h>


Public Types | |
| template<int dim, typename Number = double> | |
| using | View = HyperbolicSystemView< dim, Number > |
Public Member Functions | |
| HyperbolicSystem (const std::string &subsection="/HyperbolicSystem") | |
| template<int dim, typename Number > | |
| auto | view () const |
| template<int dim, typename ScalarNumber > | |
| void | fill_precomputed_values (const OfflineData< dim, ScalarNumber > &offline_data, typename HyperbolicSystemView< dim, ScalarNumber >::StateVector &state_vector, const bool skip_constrained_dofs=true) const |
Static Public Attributes | |
| static std::string | problem_name = "Scalar conservation equation" |
Internal data | |
| template<int dim, typename Number > | |
| class | HyperbolicSystemView |
A scalar conservation equation for a state \(u\) with a user specified flux \(f(u)\).
Definition at line 38 of file hyperbolic_system.h.
| using ryujin::ScalarConservation::HyperbolicSystem::View = HyperbolicSystemView<dim, Number> |
Alias for the view on the hyperbolic system for a given dimension dim and choice of number type Number.
Definition at line 56 of file hyperbolic_system.h.
|
inline |
Constructor.
Definition at line 541 of file hyperbolic_system.h.
References ryujin::FluxLibrary::populate_flux_list(), and problem_name.
|
inline |
Return a view on the Hyperbolic System 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 65 of file hyperbolic_system.h.
Referenced by ryujin::ScalarConservation::Uniform< dim, Number >::compute(), and fill_precomputed_values().
|
inline |
Part of step 1 of the hyperbolic update step: Compute "precomputed values" and fill into the state vector.
Definition at line 582 of file hyperbolic_system.h.
References ryujin::OfflineData< dim, Number >::n_locally_internal(), ryujin::OfflineData< dim, Number >::n_locally_owned(), ryujin::ScalarConservation::HyperbolicSystemView< dim, Number >::n_precomputed_values, ryujin::OfflineData< dim, Number >::sparsity_pattern_simd(), and view().
|
friend |
Definition at line 105 of file hyperbolic_system.h.
|
inlinestatic |
The name of the hyperbolic system as a string.
Definition at line 44 of file hyperbolic_system.h.
Referenced by HyperbolicSystem().