Difference between revisions of "Modules"

From WikiROMS
Jump to navigationJump to search
Line 19: Line 19:


<section begin=mod_clima.F />;<span id="mod_clima.F"></span>[[mod_clima.F]]
<section begin=mod_clima.F />;<span id="mod_clima.F"></span>[[mod_clima.F]]
:If one of [[Options#CLIMATOLOGY | CLIMATOLOGY]], [[Options#AD_SENSITIVITY | AD_SENSITIVITY}}, [[Options#OPT_OBSERVATIONS | OPT_OBSERVATIONS]], or [[Options#SO_SEMI | SO_SEMI]] is '''#defined''', this will provide the storage for the climatological fields.<section end=mod_clima.F />
:If one of [[Options#CLIMATOLOGY | CLIMATOLOGY]], [[Options#AD_SENSITIVITY | AD_SENSITIVITY]], [[Options#OPT_OBSERVATIONS | OPT_OBSERVATIONS]], or [[Options#SO_SEMI | SO_SEMI]] is '''#defined''', this will provide the storage for the climatological fields.<section end=mod_clima.F />


<section begin=mod_coupler.F />;<span id="mod_coupler.F"></span>[[mod_coupler.F]]
<section begin=mod_coupler.F />;<span id="mod_coupler.F"></span>[[mod_coupler.F]]
:If either [[Options#MODEL_COUPLING | MODEL_COUPLING]] or [[Options#ESMF_LIB | ESMF_LIB]] is '''#defined''', this will set up the requisite fields and data structures for the coupling.
:If either [[Options#MODEL_COUPLING | MODEL_COUPLING]] or [[Options#ESMF_LIB | ESMF_LIB]] is '''#defined''', this will set up the requisite fields and data structures for the coupling.<section end=mod_coupler.F />
<section end=mod_coupler.F />


<section begin=mod_coupling.F />;<span id="mod_coupling.F"></span>[[mod_coupling.F]]
<section begin=mod_coupling.F />;<span id="mod_coupling.F"></span>[[mod_coupling.F]]

Revision as of 19:56, 17 June 2008

Modules

Now that we are using Fortran 90, the method of choice for managing data structures are modules. The ROMS/Modules directory contains all of the ROMS modules that contain globally used variables. The complete list is:

mod_arrays.F
This is actually a subroutine, not a module, but it calls the allocate and initialize routines for all the modules containing allocatable arrays.
mod_average.F
If AVERAGES is #defined, this will provide the storage for the running means of the fields you are averaging.
mod_bbl.F
If BBL_MODEL is #defined, this will provide the storage for the bottom boundary fields.
mod_biology.F
If BIOLOGY is #defined, this will provide the storage for the biology interaction parameters.
mod_boundary.F
This contains the storage for the open boundary conditions. If they aren't provided analytically, this will also provide the storage for fields read from a file that need to be time-interpolated.
mod_clima.F
If one of CLIMATOLOGY, AD_SENSITIVITY, OPT_OBSERVATIONS, or SO_SEMI is #defined, this will provide the storage for the climatological fields.
mod_coupler.F
If either MODEL_COUPLING or ESMF_LIB is #defined, this will set up the requisite fields and data structures for the coupling.
mod_coupling.F
If SOLVE3D is #defined, this will provide the storage for the fields used in coupling the 2-D and 3-D components of the simulation.
mod_diags.F
If DIAGNOSTICS is #defined, this will provide the storage for the various tendency terms.
mod_eclight.F
If both BIOLOGY and ECOSIM are #defined, this will set up the spectral irradiance variables.
mod_eoscoef.F
If NONLIN_EOS is #defined, this will provide the polynomial expansion coefficients for the nonlinear equation of state for sea water.
mod_floats.F
If FLOATS is #defined, this will provide the storage for the float tracking variables.
mod_forces.F
This provides the storage for the surface and bottom forcing fields.
mod_fourdvar.F
If either FOUR_DVAR or VERIFICATION is #defined, this will set up the variational data assimilation variables.
mod_grid.F
This provides the storage for the model grid fields.
mod_iounits.F
.
mod_kinds.F
.
mod_mixing.F
.


mod_ncparam.F
.


mod_nesting.F
.


mod_netcdf.F
.


mod_obs.F
.


mod_ocean.F
.


mod_parallel.F
.


mod_param.F
.


mod_scalars.F
.


mod_sediment.F
.


mod_sources.F
.


mod_stepping.F
.


mod_storage.F
.


mod_strings.F
.


mod_tides.F
.