Interface Function BUOYANCY

EQ_STATE_MODULE

Description:

Compute the g * specific volume anomaly as a function of T,S and (optionally P) In the earlier version of poseidon, we use a Boussinesq approximation, and this was actually the buoyancy, so we have kept the name.

The value returned is g * ( rho_o - rho ) / rho

The earlier code gave g * ( rho_o - rho ) / rho_o

This algorithm fits a polynomial

a = A0 + A1*T + A2*T^2 + A3*S

If a better equation is needed, copies of this module are available for the UNESCO equation of state as well as George Mellor's approximation that he developed for POM.

The functions are overloaded for scalar and (up to 4-dimensional) arrays of temperature and salinity.

The functions are overloaded so that pressure may be omitted, or specified as a scalar, or specified with the same dimensions as temperature and salinity.

We have tried using an elemental function (a la Fortran-95, but ran into problems with the DEC compiler). Someday, that will simplify things greatly.

Overloaded Syntax:

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, [P])

INTENT(IN) :: T,S


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, [P])

INTENT(IN) :: T,S


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, [P])

INTENT(IN) :: T,S


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, [P])

INTENT(IN) :: T,S


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, [P])

INTENT(IN) :: T,S


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, P)

INTENT(IN) :: T,S,P


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, P)

INTENT(IN) :: T,S,P


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, P)

INTENT(IN) :: T,S,P


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]

REAL :: T
REAL :: S
REAL :: P
REAL :: RESULT

RESULT = BUOYANCY(T, S, P)

INTENT(IN) :: T,S,P


Legend:INTENT(INOUT)INTENT(IN)INTENT(OUT)[OPTIONAL]


Poseidon Ocean Model
Documentation automation by Paul Schopf's DocFort Perl scripts.