3 |
|
|
4 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
5 |
|
|
6 |
SUBROUTINE DO_THE_MODEL_IO( |
SUBROUTINE DO_THE_MODEL_IO(myCurrentTime, myIter, myThid) |
|
I forceOutput, myCurrentTime, myIter, myThid) |
|
7 |
C /==========================================================\ |
C /==========================================================\ |
8 |
C | SUBROUTINE DO_THE_MODEL_IO | |
C | SUBROUTINE DO_THE_MODEL_IO | |
9 |
C | o Controlling routine for IO in model main time-stepping | |
C | o Controlling routine for IO in model main time-stepping | |
34 |
EXTERNAL DIFFERENT_MULTIPLE |
EXTERNAL DIFFERENT_MULTIPLE |
35 |
|
|
36 |
C == Routine arguments == |
C == Routine arguments == |
|
C forceOutput - If .TRUE. then force I/O, indepenent of other tests |
|
37 |
C myThid - Thread number for this instance of the routine. |
C myThid - Thread number for this instance of the routine. |
38 |
C myIter - Iteration number |
C myIter - Iteration number |
39 |
C myCurrentTime - Current time of simulation ( s ) |
C myCurrentTime - Current time of simulation ( s ) |
|
LOGICAL forceOutput |
|
40 |
INTEGER myThid |
INTEGER myThid |
41 |
INTEGER myIter |
INTEGER myIter |
42 |
_RL myCurrentTime |
_RL myCurrentTime |
65 |
ENDIF |
ENDIF |
66 |
|
|
67 |
C-- Write model state to binary file |
C-- Write model state to binary file |
68 |
CALL WRITE_STATE( forceOutput, myCurrentTime, myIter, myThid ) |
CALL WRITE_STATE( myCurrentTime, myIter, myThid ) |
69 |
|
|
70 |
#ifdef ALLOW_TIMEAVE |
#ifdef ALLOW_TIMEAVE |
71 |
C-- Do time averages |
C-- Do time averages |