Subroutine CREATE_OHIST

source: (poseidon.ohist.f90) [ c_92_rp1 release ]

POSEIDON_HISTORY_MODULE

Description:

Allocate space for the history object. Initialize the history accumulators to zero.

The T_Diagnostics object is allocated with CREATE_DIAGNOSTICS_COPY, which allocates space for each "wanted" object in the diagnostic that is to be copied, and sets the "wanted" property. This means that ohist will have a replica of the diag object contained in the ocean. It also means that the diagnostic must be created before creating the history.

If any diagnostics are not wanted as part of the history, they can have their "wanted" properties set to false after creation.

Syntax:

TYPE (T_OCEAN) :: ocean The ocean object for which this history is to be created
TYPE (T_POSEIDON_FORCING) :: forcing The forcing object associated with this history object
TYPE (T_POSEIDON_HISTORY) :: ohist The history object

call CREATE_OHIST(ocean, forcing, ohist)

INTENT(IN) :: ocean,forcing


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

Subroutines Called:

ASSERT, CREATE_STATE, CREATE_FORCING, CREATE_DIAGNOSTICS_COPY, INITIALIZE_OHIST
Variables

Poseidon Ocean Model (Release: c_92_rp1 )
Documentation automation by Paul Schopf's DocFort Perl scripts.