Tsunami Project Lab
Loading...
Searching...
No Matches
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
18namespace 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
28 private:
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
74 static void eigencoefficients( t_real i_hL,
75 t_real i_hR,
76 t_real i_huL,
77 t_real i_huR,
78 t_real i_eigenvalue1,
79 t_real i_eigenvalue2,
80 t_real i_bmL,
81 t_real i_bmR,
82 t_real & o_eigencoefficient1,
83 t_real & o_eigencoefficient2 );
84
85 public:
104 void netUpdates( t_real i_hL,
105 t_real i_hR,
106 t_real i_huL,
107 t_real i_huR,
108 t_real i_bmL,
109 t_real i_bmR,
110 t_real o_netUpdateL[2],
111 t_real o_netUpdateR[2] );
112};
113
114#endif
Definition FWave.h:27
void netUpdates(t_real i_hL, t_real i_hR, t_real i_huL, t_real i_huR, t_real i_bmL, t_real i_bmR, t_real o_netUpdateL[2], t_real o_netUpdateR[2])
Computes the net-updates for the left and right cell.
Definition FWave.cpp:80
Definition Solver.h:17
Definition constants.h:12
float t_real
floating point type
Definition constants.h:17
Definition FWave.test.cpp:21