[MITgcm-devel] diagnostics

Patrick Heimbach heimbach at MIT.EDU
Mon Oct 17 21:11:44 EDT 2005


Hi there,

the routine forward_step.F isn't a very good place
for calls to
        CALL DIAGNOSTICS_SWITCH_ONOFF
and
        CALL DO_STATEVARS_DIAGS
at least from an AD point of view
(TAF likes to kick out "passive" routines;
there's a work-around, but the more elegant solution 
is to hide passive calls from TAF alltogether).

Can these calls go somewhere else, e.g. at the beginning 
of thermodynamics?

I guess, the case (.NOT.staggerTimeStep) would cover
 CALL DIAGNOSTICS_SWITCH_ONOFF( myTime, 0, myIter, myThid )
and the case (staggerTimeStep) would cover
 CALL DIAGNOSTICS_SWITCH_ONOFF( myTime, 1, myIter, myThid )
but maybe I missed something(?)

-Patrick

-- 
--------------------------------------------------------
Patrick Heimbach   Massachusetts Institute of Technology
FON: +1/617/253-5259                  EAPS, Room 54-1518
FAX: +1/617/253-4464             77 Massachusetts Avenue
mailto:heimbach at mit.edu               Cambridge MA 02139
http://www.mit.edu/~heimbach/                        USA




More information about the MITgcm-devel mailing list