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

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

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


Revision 1.1 - (show annotations) (download)
Wed Dec 1 22:54:02 2004 UTC (19 years, 6 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint58w_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint57b_post, checkpoint57c_pre, checkpoint58r_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint58t_post, checkpoint58h_post, checkpoint56c_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint57a_post, checkpoint58q_post, checkpoint58j_post, checkpoint59d, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57a_pre, checkpoint57, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint57c_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post, checkpoint57j_post, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post
o collect all ptracers output in an new routine (PTRACERS_OUTPUT) that
  is called from DO_THE_MODEL_IO
  - rename PTRACERS_STATV_WRITE to PTRACERS_WRITE_TIMEAVE
  - introduce new parameter PTRACERS_dumpFreq (defaults to dumpFreq)
  - clean up PTRACERS_WRITE_TIMEAVE a little

1 C $Header: $
2 C $Name: $
3
4 #include "PTRACERS_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: PTRACERS_OUTPUT
8
9 C !INTERFACE:
10 SUBROUTINE PTRACERS_OUTPUT(
11 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 #include "PTRACERS.h"
24
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 IF (taveFreq.GT.0. .AND. myIter.NE.nIter0 ) THEN
42 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