29 return std::sqrt(g * _wavenumber);
36 return _omega * _omega / g;
This file contains definitions for the physics models.
static double DeepWaterDispersionToWavenumber(double _omega)
Compute the deep water dispersion.
This file contains definitions of some physical constants used in the physics calculations.
static double Gravity()
Uniform acceleration due to gravity at earth's surface (orientation is z-up).
static double DeepWaterDispersionToOmega(double _wavenumber)
Compute the deep water dispersion.