Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module.
Constructor function for the spectrum object.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | fmin | Minimum frequency bin [Hz] |
||
real(kind=rk), | intent(in) | :: | fmax | Maximum frequency bin [Hz] |
||
real(kind=rk), | intent(in) | :: | df | Frequency increment, df = f(n+1)/f(n) |
||
integer, | intent(in) | :: | ndirs | Number of directional bins |
||
real(kind=rk), | intent(in) | :: | depth | Mean water depth [m] |
||
real(kind=rk), | intent(in), | optional | :: | grav | Gravitational acceleration [m/s^2] |
|
real(kind=rk), | intent(in), | optional | :: | air_density | Air density [kg/m^3] |
|
real(kind=rk), | intent(in), | optional | :: | water_density | Water density [kg/m^3] |
|
real(kind=rk), | intent(in), | optional | :: | surface_tension | Surface tension [N/m] |