Tsunami Project Lab
Loading...
Searching...
No Matches
src
solvers
Roe.h
Go to the documentation of this file.
1
7
#ifndef TSUNAMI_LAB_SOLVERS_ROE
8
#define TSUNAMI_LAB_SOLVERS_ROE
9
10
#include "
../constants.h
"
11
#include "
Solver.h
"
12
13
namespace
tsunami_lab
{
14
namespace
solvers {
15
class
Roe;
16
}
17
}
18
19
class
tsunami_lab::solvers::Roe
:
public
tsunami_lab::solvers::Solver
{
20
private
:
22
static
t_real
constexpr
m_gSqrt = 3.131557121;
23
34
static
void
waveSpeeds(
t_real
i_hL,
35
t_real
i_hR,
36
t_real
i_uL,
37
t_real
i_uR,
38
t_real
& o_waveSpeedL,
39
t_real
& o_waveSpeedR );
40
53
static
void
waveStrengths(
t_real
i_hL,
54
t_real
i_hR,
55
t_real
i_huL,
56
t_real
i_huR,
57
t_real
i_waveSpeedL,
58
t_real
i_waveSpeedR,
59
t_real
& o_strengthL,
60
t_real
& o_strengthR );
61
62
public
:
73
void
netUpdates
(
t_real
i_hL,
74
t_real
i_hR,
75
t_real
i_huL,
76
t_real
i_huR,
77
t_real
o_netUpdateL[2],
78
t_real
o_netUpdateR[2] );
79
};
80
81
#endif
Solver.h
tsunami_lab::solvers::Roe
Definition
Roe.h:19
tsunami_lab::solvers::Roe::netUpdates
void netUpdates(t_real i_hL, t_real i_hR, t_real i_huL, t_real i_huR, t_real o_netUpdateL[2], t_real o_netUpdateR[2])
Definition
Roe.cpp:60
tsunami_lab::solvers::Solver
Definition
Solver.h:17
constants.h
tsunami_lab
Definition
constants.h:12
tsunami_lab::t_real
float t_real
floating point type
Definition
constants.h:17
Generated by
1.11.0