ryujin
2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
source
shallow_water
initial_state_library_shallow_water.h
Go to the documentation of this file.
1
//
2
// SPDX-License-Identifier: Apache-2.0
3
// [LANL Copyright Statement]
4
// Copyright (C) 2023 - 2024 by the ryujin authors
5
// Copyright (C) 2023 - 2024 by Triad National Security, LLC
6
//
7
8
#pragma once
9
10
#include <
initial_state_library.h
>
11
12
#include "
initial_state_contrast.h
"
13
#include "
initial_state_flow_over_bump.h
"
14
#include "
initial_state_function.h
"
15
#include "
initial_state_geotiff.h
"
16
#include "
initial_state_hou_test.h
"
17
#include "
initial_state_paraboloid.h
"
18
#include "
initial_state_ritter_dam_break.h
"
19
#include "
initial_state_sloping_friction.h
"
20
#include "
initial_state_smooth_vortex.h
"
21
#include "
initial_state_soliton.h
"
22
#include "
initial_state_three_bumps_dam_break.h
"
23
#include "
initial_state_transient.h
"
24
#include "
initial_state_uniform.h
"
25
26
27
namespace
ryujin
28
{
29
namespace
ShallowWaterInitialStates
30
{
31
template
<
typename
Description,
int
dim,
typename
Number>
32
void
populate_initial_state_list
(
33
typename
ryujin::InitialStateLibrary<Description, dim, 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<
Contrast<Description, dim, Number>
>(h, s));
43
add
(std::make_unique<
FlowOverBump<Description, dim, Number>
>(h, s));
44
add
(std::make_unique<
Function<Description, dim, Number>
>(h, s));
45
add
(std::make_unique<
GeoTIFF<Description, dim, Number>
>(h, s));
46
add
(std::make_unique<
HouTest<Description, dim, Number>
>(h, s));
47
add
(std::make_unique<
Paraboloid<Description, dim, Number>
>(h, s));
48
add
(std::make_unique<
RitterDamBreak<Description, dim, Number>
>(h, s));
49
add
(std::make_unique<
SlopingFriction<Description, dim, Number>
>(h, s));
50
add
(std::make_unique<
SmoothVortex<Description, dim, Number>
>(h, s));
51
add
(std::make_unique<
ThreeBumpsDamBreak<Description, dim, Number>
>(h, s));
52
add
(std::make_unique<
Uniform<Description, dim, Number>
>(h, s));
53
add
(std::make_unique<
TankExperiments<Description, dim, Number>
>(h, s));
54
add
(std::make_unique<
Soliton<Description, dim, Number>
>(h, s));
55
}
56
}
// namespace ShallowWaterInitialStates
57
}
// namespace ryujin
ryujin::Euler::HyperbolicSystem
Definition:
hyperbolic_system.h:40
ryujin::InitialStateLibrary< Description, dim, Number >
Definition:
initial_state_library.template.h:19
ryujin::ShallowWaterInitialStates::Contrast
Definition:
initial_state_contrast.h:24
ryujin::ShallowWaterInitialStates::FlowOverBump
Definition:
initial_state_flow_over_bump.h:26
ryujin::ShallowWaterInitialStates::Function
Definition:
initial_state_function.h:26
ryujin::ShallowWaterInitialStates::GeoTIFF
Definition:
initial_state_geotiff.h:27
ryujin::ShallowWaterInitialStates::HouTest
Definition:
initial_state_hou_test.h:25
ryujin::ShallowWaterInitialStates::Paraboloid
Definition:
initial_state_paraboloid.h:30
ryujin::ShallowWaterInitialStates::RitterDamBreak
Definition:
initial_state_ritter_dam_break.h:24
ryujin::ShallowWaterInitialStates::SlopingFriction
Definition:
initial_state_sloping_friction.h:27
ryujin::ShallowWaterInitialStates::SmoothVortex
Definition:
initial_state_smooth_vortex.h:26
ryujin::ShallowWaterInitialStates::Soliton
Definition:
initial_state_soliton.h:23
ryujin::ShallowWaterInitialStates::TankExperiments
Definition:
initial_state_transient.h:23
ryujin::ShallowWaterInitialStates::ThreeBumpsDamBreak
Definition:
initial_state_three_bumps_dam_break.h:25
ryujin::ShallowWaterInitialStates::Uniform
Definition:
initial_state_uniform.h:27
initial_state_flow_over_bump.h
initial_state_geotiff.h
initial_state_hou_test.h
initial_state_library.h
initial_state_paraboloid.h
initial_state_ritter_dam_break.h
initial_state_sloping_friction.h
initial_state_smooth_vortex.h
initial_state_soliton.h
initial_state_three_bumps_dam_break.h
initial_state_transient.h
ryujin::ShallowWaterInitialStates::populate_initial_state_list
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)
Definition:
initial_state_library_shallow_water.h:32
ryujin
Definition:
convenience_macros.h:16
ryujin::add
DEAL_II_ALWAYS_INLINE FT add(const FT &flux_left_ij, const FT &flux_right_ij)
Definition:
convenience_macros.h:97
initial_state_contrast.h
initial_state_function.h
initial_state_uniform.h
Generated by
1.9.4