Tsunami Project Lab
Loading...
Searching...
No Matches
DamBreak1d.h
Go to the documentation of this file.
1
7#ifndef TSUNAMI_LAB_SETUPS_DAM_BREAK_1D_H
8#define TSUNAMI_LAB_SETUPS_DAM_BREAK_1D_H
9
10#include "Setup.h"
11
12namespace tsunami_lab {
13 namespace setups {
14 class DamBreak1d;
15 }
16}
17
22 private:
24 t_real m_heightLeft = 0;
25
27 t_real m_heightRight = 0;
28
30 t_real m_locationDam = 0;
31
32 public:
40 DamBreak1d( t_real i_heightLeft,
41 t_real i_heightRight,
42 t_real i_locationDam );
43
51 t_real ) const;
52
59 t_real ) const;
60
67 t_real ) const;
68
69};
70
71#endif
Definition DamBreak1d.h:21
t_real getMomentumY(t_real, t_real) const
Definition DamBreak1d.cpp:32
t_real getMomentumX(t_real, t_real) const
Definition DamBreak1d.cpp:27
t_real getHeight(t_real i_x, t_real) const
Definition DamBreak1d.cpp:17
DamBreak1d(t_real i_heightLeft, t_real i_heightRight, t_real i_locationDam)
Definition DamBreak1d.cpp:9
Definition Setup.h:21
Definition constants.h:12
float t_real
floating point type
Definition constants.h:17