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
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
Definition FWave.h:27
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
Definition Solver.h:17
Definition constants.h:12
float t_real
floating point type
Definition constants.h:17
Definition FWave.test.cpp:21