![]() |
ryujin 2.1.1 revision 71cbe157f0746717db03d7e1e977da66a7d7bfb5
|
#include <source/euler_aeos/hyperbolic_system.h>


Classes | |
| struct | Parameters |
Public Types | |
| template<int dim, typename Number = double, typename MemorySpace = dealii::MemorySpace::Host> | |
| using | View = HyperbolicSystemView< dim, Number, MemorySpace > |
Public Member Functions | |
| HyperbolicSystem (const std::string &subsection="/HyperbolicSystem") | |
| template<int dim, typename Number , typename MemorySpace = dealii::MemorySpace::Host> | |
| auto | view () const |
| template<typename MemorySpace = dealii::MemorySpace::Host, int dim, typename ScalarNumber > | |
| void | fill_precomputed_values (const OfflineData< dim, ScalarNumber > &offline_data, StateVector< ScalarNumber > &state_vector, const bool skip_constrained_dofs=true) const |
Static Public Attributes | |
| static std::string | problem_name |
Internal fields, methods, and friends | |
| template<int , typename , typename > | |
| class | HyperbolicSystemView |
The compressible Euler equations of gas dynamics. Generalized implementation with a modified approximate Riemann solver for finding max wave speed, indicator, and limiter suitable for arbitrary equations of state.
We have a (2 + dim) dimensional state space \([\rho, \textbf m, E]\), where \(\rho\) denotes the density, \(\textbf m\) is the momentum, and \(E\) is the total energy.
Definition at line 48 of file hyperbolic_system.h.
| using ryujin::EulerAEOS::HyperbolicSystem::View = HyperbolicSystemView<dim, Number, MemorySpace> |
Alias for the view on the hyperbolic system for a given dimension dim, choice of number type Number, and memory space MemorySpace.
Definition at line 103 of file hyperbolic_system.h.
|
inline |
Constructor.
Definition at line 912 of file hyperbolic_system.h.
References ryujin::EquationOfStateLibrary::populate_equation_of_state_list().
|
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. The optional MemorySpace template parameter selects whether the view is intended for the host or device memory space.
Definition at line 115 of file hyperbolic_system.h.
|
inline |
Part of step 1 of the hyperbolic update step: Compute "precomputed values" and fill into the state vector.
MemorySpace is the default (device) memory space the state vector is thus temporarily transferred to the host memory space. Definition at line 1007 of file hyperbolic_system.h.
References ryujin::have_separate_memory_spaces, ryujin::OfflineData< dim, Number >::n_locally_internal(), ryujin::OfflineData< dim, Number >::n_locally_owned(), ryujin::StateVector< Number >::precomputed, ryujin::precomputed, ryujin::OfflineData< dim, Number >::sparsity_pattern_simd(), ryujin::StateVector< Number >::U, and ryujin::ScalarConservation::HyperbolicSystem::view().
|
friend |
Definition at line 165 of file hyperbolic_system.h.
|
inlinestatic |
The name of the hyperbolic system as a string.
Definition at line 54 of file hyperbolic_system.h.