apengsigkarup / OceanWave3D-Fortran90

OceanWave3D - a very efficient coastal engineering research tool used worldwide for simulation of nonlinear and dispersive free surface waves in varying bathymetries from very deep to shallow water. Learn more about the model:
http://www2.compute.dtu.dk/~apek/OceanWave3D/
Other
68 stars 37 forks source link

Incompatible for cases with tstride > 1 #11

Open nbjdttn opened 1 year ago

nbjdttn commented 1 year ago

https://github.com/apengsigkarup/OceanWave3D-Fortran90/blob/a021ad456973f62b634f75aeebf91a3474e8c9a2/utils/matlab/IO/ReadKinematics.m#L212

The line could be changed to: Dt=Dt/(t(2)-t(1)); % Scale with dt and also include tstride.

Thanks! Tim