diff options
Diffstat (limited to 'src/ocean/ocean_alt.h')
-rw-r--r-- | src/ocean/ocean_alt.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ocean/ocean_alt.h b/src/ocean/ocean_alt.h index 9df86b8..1a96e1e 100644 --- a/src/ocean/ocean_alt.h +++ b/src/ocean/ocean_alt.h @@ -60,18 +60,18 @@ private: - const double Lx = 100.0; - const double Lz = 100.0; + const double Lx = 32.0; + const double Lz = 32.0; - const int num_rows = 32; - const int num_cols = 32; + const int num_rows = 32; + const int num_cols = 32; - const int N = num_rows*num_cols; // total number of grid points - const double lambda = .40; // how much displacement matters - const double spacing = 35.0; // spacing between grid points + const int N = num_rows*num_cols; // total number of grid points + const double lambda = 0.4; // how much displacement matters + const double spacing = 35.0; // spacing between grid points - const double A = .25; // numeric constant for the Phillips spectrum - const double V = 49; // 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 |