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

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

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


Revision 1.3 - (show annotations) (download)
Thu Feb 26 22:08:49 2004 UTC (20 years, 2 months ago) by molod
Branch: MAIN
Changes since 1.2: +1 -2 lines
Wrapper routine to fill diagnostics from model without seeing commons

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

  ViewVC Help
Powered by ViewVC 1.1.22