/[MITgcm]/MITgcm/model/src/do_statevars_tave.F
ViewVC logotype

Contents of /MITgcm/model/src/do_statevars_tave.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Sun Jan 3 00:07:03 2010 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, HEAD
Changes since 1.4: +2 -2 lines
oops! fix previous modif

1 C $Header: /u/gcmpack/MITgcm/model/src/do_statevars_tave.F,v 1.4 2010/01/03 00:00:52 jmc Exp $
2 C $Name: $
3
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7
8 CBOP
9 C !ROUTINE: DO_STATEVARS_TAVE
10 C !INTERFACE:
11 SUBROUTINE DO_STATEVARS_TAVE( myTime, myIter, myThid )
12
13 C !DESCRIPTION: \bv
14 C *==========================================================*
15 C | SUBROUTINE DO_STATEVARS_TAVE
16 C | o Controlling routine for state variables time-averaging
17 C *==========================================================*
18 C | Computing statistics of the model state (state-variables)
19 C | is done at this level (after updating the halo region),
20 C | as opposed to other diagnostic calls (fluxes, tendencies)
21 C | that remain within the computation sequence.
22 C | Note: IO are not supposed to be done at this level
23 C | but later (in DO_THE_MODEL_IO)
24 C *==========================================================*
25 C \ev
26
27 C !USES:
28 IMPLICIT NONE
29 C == Global variables ===
30 #include "SIZE.h"
31 #include "EEPARAMS.h"
32 #include "PARAMS.h"
33
34 C !INPUT/OUTPUT PARAMETERS:
35 C == Routine arguments ==
36 C myTime - Current time of simulation ( s )
37 C myIter - Iteration number
38 C myThid - Thread number for this instance of the routine.
39 _RL myTime
40 INTEGER myIter
41 INTEGER myThid
42 CEOP
43
44 #ifdef ALLOW_TIMEAVE
45 C !LOCAL VARIABLES:
46 C == Local variables
47 INTEGER bi,bj
48
49 C-- Fill-in TimeAve pkg diagnostics (for state-variables)
50
51 DO bj=myByLo(myThid),myByHi(myThid)
52 DO bi=myBxLo(myThid),myBxHi(myThid)
53
54 IF ( taveFreq.GT.0. ) THEN
55 CALL TIMEAVE_STATVARS( myTime, myIter, bi, bj, myThid )
56 ENDIF
57 # ifdef ALLOW_PTRACERS
58 IF ( usePTRACERS ) THEN
59 CALL PTRACERS_TIMEAVE( myTime, myIter, bi, bj, myThid )
60 ENDIF
61 # endif /* ALLOW_PTRACERS */
62
63 C-- End of bi,bj loop
64 ENDDO
65 ENDDO
66 #endif /* ALLOW_TIMEAVE */
67
68 RETURN
69 END

  ViewVC Help
Powered by ViewVC 1.1.22