From 8d6fd1befd53948cfb4f44ba84bfdb54ac97cf81 Mon Sep 17 00:00:00 2001 From: jjesswan Date: Mon, 6 May 2024 17:33:46 -0400 Subject: saving --- src/arap.h | 2 +- src/ocean/ocean_alt.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/arap.h b/src/arap.h index df31dc0..e5529d9 100644 --- a/src/arap.h +++ b/src/arap.h @@ -96,7 +96,7 @@ public: ocean_alt m_ocean; double m_time = 0.00; - double m_timestep = 0.03; + double m_timestep = 0.3; Eigen::Vector3f minCorner, maxCorner; }; diff --git a/src/ocean/ocean_alt.h b/src/ocean/ocean_alt.h index 31f53ca..0673bbf 100644 --- a/src/ocean/ocean_alt.h +++ b/src/ocean/ocean_alt.h @@ -81,11 +81,11 @@ private: const int num_rows = 256; const int num_cols = 256; const int N = num_rows*num_cols; // total number of grid points - const double lambda = 0.8; // how much displacement matters + const double lambda = 2.5; // how much displacement matters const double spacing = 75.0; // spacing between grid points - const double A = 100; // numeric constant for the Phillips spectrum - const double V = 50; // wind speed + const double A = 200; // numeric constant for the Phillips spectrum + const double V = 200; // 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 -- cgit v1.2.3-70-g09d2