Tsunami Project Lab
Loading...
Searching...
No Matches
src
solvers
FWave.h
Go to the documentation of this file.
1
12
#ifndef TSUNAMI_LAB_SOLVERS_FWAVE
13
#define TSUNAMI_LAB_SOLVERS_FWAVE
14
15
#include "
../constants.h
"
16
#include "
Solver.h
"
17
18
namespace
tsunami_lab
{
19
namespace
solvers {
20
class
FWave
;
21
// forward declaration of test helper (defined in FWave.test.cpp)
22
// friended below to give unit tests controlled access to private helpers
23
struct
FWaveTestAccess
;
24
}
25
}
26
27
class
tsunami_lab::solvers::FWave
:
public
tsunami_lab::solvers::Solver
{
28
private
:
29
friend
struct
tsunami_lab::solvers::FWaveTestAccess
;
30
48
static
void
eigenvalues(
t_real
i_hL,
49
t_real
i_hR,
50
t_real
i_uL,
51
t_real
i_uR,
52
t_real
& o_eigenvalue1,
53
t_real
& o_eigenvalue2 );
// & means: "transfer as reference" = Output
54
72
static
void
eigencoefficients(
t_real
i_hL,
73
t_real
i_hR,
74
t_real
i_huL,
75
t_real
i_huR,
76
t_real
i_eigenvalue1,
77
t_real
i_eigenvalue2,
78
t_real
& o_eigencoefficient1,
79
t_real
& o_eigencoefficient2 );
80
81
public
:
98
void
netUpdates
(
t_real
i_hL,
99
t_real
i_hR,
100
t_real
i_huL,
101
t_real
i_huR,
102
t_real
o_netUpdateL[2],
103
t_real
o_netUpdateR[2] );
104
};
105
106
#endif
Solver.h
tsunami_lab::solvers::FWave
Definition
FWave.h:27
tsunami_lab::solvers::FWave::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])
Computes the net-updates for the left and right cell.
Definition
FWave.cpp:69
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
tsunami_lab::solvers::FWaveTestAccess
Definition
FWave.test.cpp:21
Generated by
1.11.0