next up previous contents
Next: 14.4.8 Directing output Up: 14.4 Input Namelist variables Previous: 14.4.6 Mixing

   
14.4.7 Diagnostic intervals


Namelist /diagn/


These variables are used for setting diagnostic intervals and related items. The interval is a real number and has a Boolean variable (switch) associated with it which is set by the time manager every time step. The Boolean variable is set to true when the model integration time mod the interval is less than or equal to half a timestep. Otherwise, it is set false.

To add a switch, three variables must be added to the common block in switch.h: an interval (real numbner), a Boolean variable which acts as the logical switch, and an integer variable used as an index within module tmngr. Refer to include file switch.h to see the structure. Refer to the section where alarms are set within module tmngr for examples of how to implement new switches.


next up previous contents
Next: 14.4.8 Directing output Up: 14.4 Input Namelist variables Previous: 14.4.6 Mixing
RC Pacanowski and SM Griffies, GFDL, Jan 2000