ryujin 2.1.1 revision b04fb4aba7bd97ddfa5994a6b4b6e8586eb15db2
Loading...
Searching...
No Matches
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 - 2026 by the ryujin authors
4//
5
6#pragma once
7
9
12
13namespace ryujin
14{
16
17 template <int dim, typename Number>
19 {
20 public:
22
23 using View = typename HyperbolicSystem::template View<dim, Number>;
24
25 using initial_state_list_type = std::set<
26 std::unique_ptr<InitialState<HyperbolicDescription, dim, Number>>>;
27
28 static void
30 const HyperbolicSystem &h,
31 const Interface::ParabolicSystem & /*p*/,
32 const std::string &s)
33 {
34 EulerInitialStates::
35 populate_initial_state_list<HyperbolicDescription, dim, Number>(
36 initial_state_list, h, s);
37 }
38 };
39} // namespace ryujin
std::set< std::unique_ptr< InitialState< HyperbolicDescription, dim, Number > > > initial_state_list_type
typename HyperbolicSystem::template View< dim, Number > View
static void populate_initial_state_list(initial_state_list_type &initial_state_list, const HyperbolicSystem &h, const Interface::ParabolicSystem &, const std::string &s)