diff options
Diffstat (limited to 'src/ocean/ocean_alt.h')
-rw-r--r-- | src/ocean/ocean_alt.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ocean/ocean_alt.h b/src/ocean/ocean_alt.h index bbfce9a..7e293f9 100644 --- a/src/ocean/ocean_alt.h +++ b/src/ocean/ocean_alt.h @@ -30,6 +30,7 @@ struct FoamConstants{ struct OceanSpray{ Eigen::Vector3f height; Eigen::Vector3f slope; + Eigen::Vector2f slope_vector; }; @@ -79,8 +80,8 @@ private: const double Lx = 512.0; const double Lz = 512.0; - const int num_rows = 128; - const int num_cols = 128; + const int num_rows = 256; + const int num_cols = 256; const int num_tiles_x = 1; const int num_tiles_z = 1; @@ -91,7 +92,7 @@ private: const double lambda = .5; // how much displacement matters const double spacing = 1.0; // spacing between grid points - const double A = 100; // numeric constant for the Phillips spectrum + const double A = 10000; // numeric constant for the Phillips spectrum const double V = 100; // wind speed const double gravity = 9.81; const double L = V*V/gravity; |