Tsunami Project Lab
Loading...
Searching...
No Matches
ShockShock1d.h
Go to the documentation of this file.
1
8#pragma once
9
10#include "Setup.h"
11
12namespace tsunami_lab {
13namespace setups {
14class ShockShock1d;
15}
16} // namespace tsunami_lab
17
27 private:
29 t_real m_height = 0;
30
32 t_real m_momentum = 0;
33
35 t_real m_location = 0;
36
37 public:
45 ShockShock1d(t_real i_height, t_real i_momentum, t_real i_location);
46
53
60 t_real getMomentumX(t_real i_x, t_real) const;
61
68};
Definition Setup.h:21
Definition ShockShock1d.h:26
t_real getMomentumX(t_real i_x, t_real) const
Definition ShockShock1d.cpp:27
t_real getMomentumY(t_real, t_real) const
Definition ShockShock1d.cpp:31
ShockShock1d(t_real i_height, t_real i_momentum, t_real i_location)
Definition ShockShock1d.cpp:13
t_real getHeight(t_real, t_real) const
Definition ShockShock1d.cpp:23
Definition constants.h:12
float t_real
floating point type
Definition constants.h:17