62 static scalar calcLength
A class for managing temporary objects.
Calculation engine for the Airy wave model and other models that are a correction on top of the Airy ...
const scalar depth
Depth [m].
bool deep() const
Return whether shallow and intermediate effects are to be omitted.
scalar celerity() const
The wave celerity [m/s].
tmp< vector2DField > vi(const label i, const scalar phase, const scalar t, const vector2DField &xz) const
Return the non-dimensionalised i-th harmonic of the velocity.
const scalar amplitude
Amplitude [m].
tmp< scalarField > elevation(const scalar phase, const scalar t, const scalarField &x) const
Get the wave elevation at a given time and local coordinates. Local.
tmp< scalarField > angle(const scalar phase, const scalar t, const scalarField &x) const
Angle of the oscillation [rad].
tmp< vector2DField > velocity(const scalar phase, const scalar t, const vector2DField &xz) const
Get the wave velocity at a given time and local coordinates. Local.
AiryCoeffs(const scalar depth, const scalar amplitude, const scalar length, const scalar g)
Construct from components.
const scalar g
Gravitational acceleration [m/s^2].
scalar k() const
The angular wavenumber [rad/m].
const scalar length
Wavelength [m].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.