/[MITgcm]/MITgcm/pkg/diagnostics/diagnostics_write.F
ViewVC logotype

Annotation of /MITgcm/pkg/diagnostics/diagnostics_write.F

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


Revision 1.6 - (hide annotations) (download)
Wed May 5 00:39:21 2004 UTC (20 years ago) by edhill
Branch: MAIN
CVS Tags: checkpoint52n_post, checkpoint53d_post, checkpoint54a_pre, checkpoint54a_post, checkpoint53c_post, checkpoint53b_post, checkpoint53b_pre, checkpoint53a_post, checkpoint54, checkpoint53, checkpoint53g_post, checkpoint53f_post, checkpoint53d_pre
Changes since 1.5: +3 -0 lines
 o adding cvs 'Header:' and 'Name:' strings

1 edhill 1.6 C $Header: $
2     C $Name: $
3    
4 molod 1.2 subroutine diagnostics_write (myThid, myIter)
5 molod 1.1 C***********************************************************************
6     C Purpose
7     C -------
8 molod 1.2 C Output sequence for the (multiple) diagnostics output files
9 molod 1.1 C
10     C Arguments Description
11     C ----------------------
12 molod 1.2 C myIter ..... Current Iteration Number
13     C myThid ..... Current Process(or)
14 molod 1.1 C***********************************************************************
15 molod 1.2 implicit none
16     #include "CPP_OPTIONS.h"
17 molod 1.1 #include "SIZE.h"
18     #include "diagnostics_SIZE.h"
19     #include "diagnostics.h"
20 molod 1.4 #include "EEPARAMS.h"
21     #include "PARAMS.h"
22 molod 1.1
23 molod 1.2 integer myThid, myIter
24 molod 1.1
25     c Local variables
26     c ===============
27 molod 1.2 integer n
28 molod 1.1
29     C***********************************************************************
30 molod 1.2 C*** Check to see if its time for Diagnostic Output ***
31 molod 1.1 C***********************************************************************
32 molod 1.2 do n=1,nlists
33 molod 1.5 if ( myIter.ne.niter0) then
34     if ( mod(myIter,freq(n)).eq.0 ) then
35     call diagout(myThid,myIter,n)
36     call clrindx(myThid,n)
37     endif
38 molod 1.1 endif
39     enddo
40    
41     return
42     end

  ViewVC Help
Powered by ViewVC 1.1.22