/[MITgcm]/MITgcm/pkg/ptracers/ptracers_output.F
ViewVC logotype

Annotation of /MITgcm/pkg/ptracers/ptracers_output.F

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


Revision 1.3 - (hide annotations) (download)
Mon Nov 5 18:48:04 2007 UTC (16 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint64c, checkpoint64b, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59k, checkpoint59j, 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, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.2: +3 -3 lines
split PTRACERS.h in 2 header files: PTRACERS_FIELDS.h & PTRACERS_PARAMS.h

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/ptracers_output.F,v 1.2 2007/07/09 10:06:48 mlosch Exp $
2 mlosch 1.1 C $Name: $
3    
4     #include "PTRACERS_OPTIONS.h"
5    
6     CBOP
7     C !ROUTINE: PTRACERS_OUTPUT
8    
9     C !INTERFACE:
10 jmc 1.3 SUBROUTINE PTRACERS_OUTPUT(
11 mlosch 1.1 I myTime, myIter, myThid )
12    
13     C !DESCRIPTION:
14     C This is the controlling routine for PTRACERS output. It is
15     C called from DO_THE_MODEL_IO.
16    
17     C !USES:
18     IMPLICIT NONE
19     #include "SIZE.h"
20     #include "EEPARAMS.h"
21     #include "PARAMS.h"
22     #include "PTRACERS_SIZE.h"
23 jmc 1.3 #include "PTRACERS_PARAMS.h"
24 mlosch 1.1
25     C !INPUT PARAMETERS:
26     C myIter :: time-step number
27     C myTime :: model time
28     C myThid :: thread number
29     INTEGER myIter
30     INTEGER myThid
31     _RL myTime
32     CEOP
33    
34     #ifdef ALLOW_PTRACERS
35     C !LOCAL VARIABLES:
36    
37     C Write snapshot output
38     CALL PTRACERS_WRITE_STATE( myIter, myTime, myThid )
39     #ifdef ALLOW_TIMEAVE
40     C Write time average output
41 mlosch 1.2 IF ( PTRACERS_taveFreq.GT.0. .AND. myIter.NE.nIter0 ) THEN
42 mlosch 1.1 CALL PTRACERS_WRITE_TIMEAVE( myTime, myIter, myThid )
43     ENDIF
44     #endif /* ALLOW_TIMEAVE */
45     #ifdef ALLOW_MONITOR
46     C Compute and print monitor statistics
47     CALL PTRACERS_MONITOR( myIter, myTime, myThid )
48     #endif /* ALLOW_MONITOR */
49     #endif /* ALLOW_PTRACERS */
50    
51     RETURN
52     END

  ViewVC Help
Powered by ViewVC 1.1.22