uniform_ambient_mod Module

Provides a derived type specifying uniform ambient temperature and salinity conditions beneath an ice shelf.


Uses

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

Used by

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

Contents


Interfaces

public interface uniform_ambient_conditions

  • private function constructor(temperature, salinity) result(this)

    Author
    Chris MacMackin
    Date
    November 2016

    Produces an ambient object which will return the specified salinity and temeprature values.

    Arguments

    Type IntentOptional AttributesName
    real(kind=r8), intent(in), optional :: temperature

    The temperature of the ambient ocean. Default is 0.

    real(kind=r8), intent(in), optional :: salinity

    The salinity of the ambient ocean. Default is 0.

    Return Value type(uniform_ambient_conditions)


Derived Types

An derived type with procedures for getting the ambient ocean conditions. This implementation takes these conditions to be everywhere uniform.

Components

TypeVisibility AttributesNameInitial
type(uniform_scalar_field), private :: temperature
type(uniform_scalar_field), private :: salinity

Constructor

private function constructor(temperature, salinity)

Produces an ambient object which will return the specified salinity and temeprature values.

Type-Bound Procedures

procedure, public :: ambient_temperature => uniform_temperature

Returns the ambient ocean temperature

procedure, public :: ambient_salinity => uniform_salinity

Returns the ambient ocean temperature


Functions

private function constructor(temperature, salinity) result(this)

Author
Chris MacMackin
Date
November 2016

Produces an ambient object which will return the specified salinity and temeprature values.

Arguments

Type IntentOptional AttributesName
real(kind=r8), intent(in), optional :: temperature

The temperature of the ambient ocean. Default is 0.

real(kind=r8), intent(in), optional :: salinity

The salinity of the ambient ocean. Default is 0.

Return Value type(uniform_ambient_conditions)

private function uniform_temperature(this, depth, t) result(property)

Author
Chris MacMackin
Date
November 2016

Returns the ambient ocean temperature.

Arguments

Type IntentOptional AttributesName
class(uniform_ambient_conditions), intent(in) :: this
class(scalar_field), intent(in) :: depth

A field containing the depths at which the ambient temperature is 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 temperature at the depth specified for each location.

private function uniform_salinity(this, depth, t) result(property)

Author
Chris MacMackin
Date
November 2016

Returns the ambient ocean salinity.

Arguments

Type IntentOptional AttributesName
class(uniform_ambient_conditions), intent(in) :: this
class(scalar_field), intent(in) :: depth

A field containing the depths at which the ambient salinity is 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 salinity at the depth specified for each location.