Provides an abstract derived type which can be subtyped in order to specify the temperature and salinity of the ambient ocean.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ambient_conditions), | intent(in) | :: | this | |||
class(scalar_field), | intent(in) | :: | depth | A field containing the depths at which the ambient conditions are to be calculated. |
||
real(kind=r8), | intent(in) | :: | t | The time at which the ambient conditions are to be calculated. |
A field containing the ambient conditions at the depth specified for each location.
An abstract type to which procedures for getting the ambient ocean conditions are to be specified. The descendent types can contain whatever data is needed to compute the result.
procedure(get_property), public :: ambient_temperature | Returns the ambient ocean temperature |
procedure(get_property), public :: ambient_salinity | Returns the ambient ocean temperature |