1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
|
#include "DIAG_OPTIONS.h" |
5 |
|
|
6 |
subroutine diagnostics_write (myThid, myIter) |
subroutine diagnostics_write (myThid, myIter) |
7 |
C*********************************************************************** |
C*********************************************************************** |
8 |
C Purpose |
C Purpose |
15 |
C myThid ..... Current Process(or) |
C myThid ..... Current Process(or) |
16 |
C*********************************************************************** |
C*********************************************************************** |
17 |
implicit none |
implicit none |
|
#include "CPP_OPTIONS.h" |
|
18 |
#include "SIZE.h" |
#include "SIZE.h" |
19 |
#include "diagnostics_SIZE.h" |
#include "diagnostics_SIZE.h" |
20 |
#include "diagnostics.h" |
#include "diagnostics.h" |
30 |
C*********************************************************************** |
C*********************************************************************** |
31 |
C*** Check to see if its time for Diagnostic Output *** |
C*** Check to see if its time for Diagnostic Output *** |
32 |
C*********************************************************************** |
C*********************************************************************** |
33 |
do n=1,nlists |
do n = 1,nlists |
34 |
if ( myIter.ne.niter0) then |
if ( myIter.ne.niter0) then |
35 |
if ( mod(myIter,freq(n)).eq.0 ) then |
if ( mod(myIter,freq(n)).eq.0 ) then |
36 |
call diagout(myThid,myIter,n) |
call diagout(myThid,myIter,n) |
37 |
call clrindx(myThid,n) |
call clrindx(myThid,n) |
38 |
endif |
endif |
39 |
endif |
endif |
40 |
enddo |
enddo |
41 |
|
|
42 |
return |
return |