2 |
|
|
3 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
4 |
|
|
5 |
SUBROUTINE DO_THE_MODEL_IO(myCurrentTime, myIter, myThid) |
SUBROUTINE DO_THE_MODEL_IO( |
6 |
|
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 | |
38 |
EXTERNAL DIFFERENT_MULTIPLE |
EXTERNAL DIFFERENT_MULTIPLE |
39 |
|
|
40 |
C == Routine arguments == |
C == Routine arguments == |
41 |
|
C forceOutput - If .TRUE. then force I/O, indepenent of other tests |
42 |
C myThid - Thread number for this instance of the routine. |
C myThid - Thread number for this instance of the routine. |
43 |
C myIter - Iteration number |
C myIter - Iteration number |
44 |
C myCurrentTime - Current time of simulation ( s ) |
C myCurrentTime - Current time of simulation ( s ) |
45 |
|
LOGICAL forceOutput |
46 |
INTEGER myThid |
INTEGER myThid |
47 |
INTEGER myIter |
INTEGER myIter |
48 |
_RL myCurrentTime |
_RL myCurrentTime |
84 |
ENDIF |
ENDIF |
85 |
|
|
86 |
C-- Write model state to binary file |
C-- Write model state to binary file |
87 |
CALL WRITE_STATE( .FALSE., myCurrentTime, myIter, myThid ) |
CALL WRITE_STATE( forceOutput, myCurrentTime, myIter, myThid ) |
88 |
|
|
89 |
C |
C |
90 |
RETURN |
RETURN |