MOM6
mom_sum_output::sum_output_cs Type Reference

Detailed Description

The control structure for the MOM_sum_output module.

Definition at line 61 of file MOM_sum_output.F90.

Collaboration diagram for mom_sum_output::sum_output_cs:
[legend]

Public variables and constants

type(depth_list), dimension(:), pointer dl => NULL()
 The sorted depth list.
 
integer list_size
 length of sorting vector <= niglobal*njglobal
 
integer, dimension(:), allocatable lh
 This saves the entry in DL with a volume just less than the volume of fluid below the interface.
 
logical do_ape_calc
 If true, calculate the available potential energy of the interfaces. Disabling this reduces the memory footprint of high-PE-count models dramatically.
 
logical read_depth_list
 Read the depth list from a file if it exists and write it if it doesn't.
 
character(len=200) depth_list_file
 The name of the depth list file.
 
real d_list_min_inc
 The minimum increment [Z ~> m], between the depths of the entries in the depth-list file, 0 by default.
 
logical require_depth_list_chksum
 Require matching checksums in Depth_list.nc when reading the file.
 
logical update_depth_list_chksum
 Automatically update the Depth_list.nc file if the checksums are missing or do not match current values.
 
logical use_temperature
 If true, temperature and salinity are state variables.
 
real fresh_water_input
 The total mass of fresh water added by surface fluxes since the last time that write_energy was called [kg].
 
real mass_prev
 The total ocean mass the last time that write_energy was called [kg].
 
real salt_prev
 The total amount of salt in the ocean the last time that write_energy was called [ppt kg].
 
real net_salt_input
 The total salt added by surface fluxes since the last time that write_energy was called [ppt kg].
 
real heat_prev
 The total amount of heat in the ocean the last time that write_energy was called [J].
 
real net_heat_input
 The total heat added by surface fluxes since the last the last time that write_energy was called [J].
 
type(efp_type) fresh_water_in_efp
 An extended fixed point version of fresh_water_input.
 
type(efp_type) net_salt_in_efp
 An extended fixed point version of net_salt_input.
 
type(efp_type) net_heat_in_efp
 An extended fixed point version of net_heat_input.
 
type(efp_type) heat_prev_efp
 An extended fixed point version of heat_prev.
 
type(efp_type) salt_prev_efp
 An extended fixed point version of salt_prev.
 
type(efp_type) mass_prev_efp
 An extended fixed point version of mass_prev.
 
real dt
 The baroclinic dynamics time step [s].
 
type(time_type) energysavedays
 The interval between writing the energies and other integral quantities of the run.
 
type(time_type) energysavedays_geometric
 The starting interval for computing a geometric progression of time deltas between calls to write_energy. This interval will increase by a factor of 2. after each call to write_energy.
 
logical energysave_geometric
 Logical to control whether calls to write_energy should follow a geometric progression.
 
type(time_type) write_energy_time
 The next time to write to the energy file.
 
type(time_type) geometric_end_time
 Time at which to stop the geometric progression of calls to write_energy and revert to the standard energysavedays interval.
 
real timeunit
 The length of the units for the time axis [s].
 
logical date_stamped_output
 If true, use dates (not times) in messages to stdout.
 
type(time_type) start_time
 The start time of the simulation.
 
integer, pointer ntrunc => NULL()
 The number of times the velocity has been truncated since the last call to write_energy.
 
real max_energy
 The maximum permitted energy per unit mass. If there is more energy than this, the model should stop [m2 s-2].
 
integer maxtrunc
 The number of truncations per energy save interval at which the run is stopped.
 
logical write_stocks
 If true, write the integrated tracer amounts to stdout when the energy files are written.
 
integer previous_calls = 0
 The number of times write_energy has been called.
 
integer prev_n = 0
 The value of n from the last call.
 
integer fileenergy_nc
 NetCDF id of the energy file.
 
integer fileenergy_ascii
 The unit number of the ascii version of the energy file.
 
type(fieldtype), dimension(num_fields+max_fields_) fields
 fieldtype variables for the output fields.
 
character(len=200) energyfile
 The name of the energy file with path.
 

The documentation for this type was generated from the following file: