ryujin 2.1.1 revision 863a4d36dcc743d4e1a9b41cfabd03d0aea57863
initial_state_library_euler.h
Go to the documentation of this file.
1//
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3// Copyright (C) 2023 by the ryujin authors
4//
5
6#pragma once
7
9
18#include "initial_state_noh.h"
26
27namespace ryujin
28{
29 namespace EulerInitialStates
30 {
31 template <typename Description, int dim, typename Number>
34 initial_state_list_type &initial_state_list,
35 const typename Description::HyperbolicSystem &h,
36 const std::string &s)
37 {
38 auto add = [&](auto &&object) {
39 initial_state_list.emplace(std::move(object));
40 };
41
42 add(std::make_unique<AstroJet<Description, dim, Number>>(h, s));
43 add(std::make_unique<BeckerSolution<Description, dim, Number>>(h, s));
44 add(std::make_unique<Contrast<Description, dim, Number>>(h, s));
45 add(std::make_unique<FourStateContrast<Description, dim, Number>>(h, s));
46 add(std::make_unique<Function<Description, dim, Number>>(h, s));
47 add(std::make_unique<ICFLike<Description, dim, Number>>(h, s));
48 add(std::make_unique<IsentropicVortex<Description, dim, Number>>(h, s));
49 add(std::make_unique<LeBlanc<Description, dim, Number>>(h, s));
50 add(std::make_unique<Noh<Description, dim, Number>>(h, s));
51 add(std::make_unique<RadialContrast<Description, dim, Number>>(h, s));
52 add(std::make_unique<RampUp<Description, dim, Number>>(h, s));
53 add(std::make_unique<Rarefaction<Description, dim, Number>>(h, s));
54 add(std::make_unique<ShockFront<Description, dim, Number>>(h, s));
55 add(std::make_unique<SmoothWave<Description, dim, Number>>(h, s));
57 add(std::make_unique<Uniform<Description, dim, Number>>(h, s));
58 }
59 } // namespace EulerInitialStates
60} // namespace ryujin
void populate_initial_state_list(typename ryujin::InitialStateLibrary< Description, dim, Number >::initial_state_list_type &initial_state_list, const typename Description::HyperbolicSystem &h, const std::string &s)
DEAL_II_ALWAYS_INLINE FT add(const FT &flux_left_ij, const FT &flux_right_ij)