ryujin 2.1.1 revision 5a1111835e8617c1fa5372346ab85a0bd39a2720
initial_state_library.template.h
Go to the documentation of this file.
1//
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3// Copyright (C) 2023 - 2024 by the ryujin authors
4//
5
6#pragma once
7
8#include "description.h"
9
12
13namespace ryujin
14{
16
17 template <int dim, typename Number>
18 class InitialStateLibrary<Description, dim, Number>
19 {
20 public:
22
23 using View =
24 typename Description::template HyperbolicSystemView<dim, Number>;
25
27 std::set<std::unique_ptr<InitialState<Description, dim, Number>>>;
28
29 static void
31 const HyperbolicSystem &h,
32 const std::string &s)
33 {
34 EulerInitialStates::populate_initial_state_list<Description, dim, Number>(
35 initial_state_list, h, s);
36 }
37 };
38} // namespace ryujin
std::set< std::unique_ptr< InitialState< Description, dim, Number > > > initial_state_list_type
static void populate_initial_state_list(initial_state_list_type &initial_state_list, const HyperbolicSystem &h, const std::string &s)
typename Description::template HyperbolicSystemView< dim, Number > View
Euler::Description Description
Euler::HyperbolicSystem HyperbolicSystem
Definition: description.h:32