ambient_mod Module

Provides an abstract derived type which can be subtyped in order to specify the temperature and salinity of the ambient ocean.


Uses

  • module~~ambient_mod~~UsesGraph module~ambient_mod ambient_mod factual_mod factual_mod module~ambient_mod->factual_mod iso_fortran_env iso_fortran_env module~ambient_mod->iso_fortran_env

Used by

  • module~~ambient_mod~~UsedByGraph module~ambient_mod ambient_mod module~asymmetric_plume_mod asymmetric_plume_mod module~asymmetric_plume_mod->module~ambient_mod module~uniform_ambient_mod uniform_ambient_mod module~asymmetric_plume_mod->module~uniform_ambient_mod module~uniform_ambient_mod->module~ambient_mod module~static_plume_mod static_plume_mod module~static_plume_mod->module~ambient_mod module~static_plume_mod->module~uniform_ambient_mod module~plume_mod plume_mod module~plume_mod->module~ambient_mod module~plume_mod->module~uniform_ambient_mod

Contents


Abstract Interfaces

abstract interface

  • private function get_property(this, depth, t) result(property)

    Arguments

    Type IntentOptional AttributesName
    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.

    Return Value class(scalar_field), pointer

    A field containing the ambient conditions at the depth specified for each location.


Derived Types

type, public, abstract :: ambient_conditions

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.

Type-Bound Procedures

procedure(get_property), public :: ambient_temperature

Returns the ambient ocean temperature

procedure(get_property), public :: ambient_salinity

Returns the ambient ocean temperature