diff options
author | Sebastian Park <SebPark03@gmail.com> | 2024-04-23 21:03:34 -0400 |
---|---|---|
committer | Sebastian Park <SebPark03@gmail.com> | 2024-04-23 21:03:34 -0400 |
commit | b7ed0841a39b5f019c5559363e47d4d3fd8f728f (patch) | |
tree | 67606caed90f77e599962a923dbed9c0f8ff9546 /src/ocean/ocean_alt.h | |
parent | e0f2b36de8b3e842a6af4bf18f7427213185c925 (diff) | |
parent | 5a704220dd508100812aafbcaf322d14159b8a69 (diff) |
Merge branch 'jess_working_norms'
Diffstat (limited to 'src/ocean/ocean_alt.h')
-rw-r--r-- | src/ocean/ocean_alt.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ocean/ocean_alt.h b/src/ocean/ocean_alt.h index 76a298e..9df86b8 100644 --- a/src/ocean/ocean_alt.h +++ b/src/ocean/ocean_alt.h @@ -70,8 +70,8 @@ private: const double lambda = .40; // how much displacement matters const double spacing = 35.0; // spacing between grid points - const double A = 1.0; // numeric constant for the Phillips spectrum - const double V = 5.5; // wind speed + const double A = .25; // numeric constant for the Phillips spectrum + const double V = 49; // wind speed const double gravity = 9.81; const double L = V*V/gravity; const Eigen::Vector2d omega_wind = Eigen::Vector2d(1.0, 0.0); // wind direction, used in Phillips equation @@ -90,6 +90,10 @@ private: const double D = 1.0; // Depth below mean water level (for dispersion relation) + std::vector<Eigen::Vector2d> fast_fft + ( + std::vector<Eigen::Vector2d> h + ); }; #endif // OCEAN_ALT_H |