Tsunami Project Lab
Loading...
Searching...
No Matches
TsunamiEvent1d.h
Go to the documentation of this file.
1
8#pragma once
9
10#include "Setup.h"
11#include <vector>
12#include <tuple>
13
14namespace tsunami_lab {
15namespace setups {
16class TsunamiEvent1d;
17}
18}
19
24 struct gebco_csv {
25 t_real lon;
26 t_real lat;
27 t_real distance_m;
28 t_real elevation_m;
29 };
30
31 private:
32 std::vector<std::tuple<t_real, t_real, t_real, t_real>> m_bm;
33
35 t_real m_domainLength = 0;
36
38 t_real m_dispAmplitude = 10;
39
41 t_real m_dispZoneStart = 175000;
42
44 t_real m_dispZoneEnd = 250000;
45
49 gebco_csv sample(t_real i_x) const;
50
51 public:
59 TsunamiEvent1d(t_real i_amplitude = 10,
60 t_real i_zoneStart = 175000,
61 t_real i_zoneEnd = 250000);
62
69
76
83
90};
Definition Setup.h:21
Definition TsunamiEvent1d.h:23
t_real getBathymetry(t_real, t_real) const
Definition TsunamiEvent1d.cpp:58
t_real getHeight(t_real, t_real) const
Definition TsunamiEvent1d.cpp:45
t_real getMomentumY(t_real, t_real) const
Definition TsunamiEvent1d.cpp:54
TsunamiEvent1d(t_real i_amplitude=10, t_real i_zoneStart=175000, t_real i_zoneEnd=250000)
Definition TsunamiEvent1d.cpp:15
t_real getMomentumX(t_real, t_real) const
Definition TsunamiEvent1d.cpp:50
Definition constants.h:12
float t_real
floating point type
Definition constants.h:17