Modules
From WikiROMS
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_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.