73 |
|
|
74 |
_BARRIER |
_BARRIER |
75 |
|
|
76 |
|
IF (debugMode) THEN |
77 |
C-- Write "text-plots" of certain fields |
C-- Write "text-plots" of certain fields |
78 |
CALL PLOT_FIELD_XYZRL( uVel , 'Current uVel ' , |
CALL PLOT_FIELD_XYZRL( uVel , 'Current uVel ' , |
79 |
& Nr, myIter, myThid ) |
& Nr, myIter, myThid ) |
83 |
& Nr, myIter, myThid ) |
& Nr, myIter, myThid ) |
84 |
CALL PLOT_FIELD_XYRL( etaN , 'Current etaN ' , |
CALL PLOT_FIELD_XYRL( etaN , 'Current etaN ' , |
85 |
& myIter, myThid ) |
& myIter, myThid ) |
86 |
|
ENDIF |
87 |
|
|
88 |
ENDIF |
ENDIF |
89 |
|
|
94 |
C-- Do time averages |
C-- Do time averages |
95 |
IF (taveFreq.GT.0.) THEN |
IF (taveFreq.GT.0.) THEN |
96 |
CALL TIMEAVE_STATV_WRITE( myCurrentTime, myIter, myThid ) |
CALL TIMEAVE_STATV_WRITE( myCurrentTime, myIter, myThid ) |
97 |
|
cswdptr -- add --- |
98 |
|
#ifdef ALLOW_PTRACERS |
99 |
|
CALL PTRACERS_STATV_WRITE( myCurrentTime, myIter, myThid ) |
100 |
|
#endif |
101 |
|
cswdptr -- end add --- |
102 |
|
ENDIF |
103 |
|
#endif |
104 |
#ifdef ALLOW_AIM |
#ifdef ALLOW_AIM |
105 |
IF (useAIM) |
C-- Do AIM time averages |
106 |
|
IF (useAIM) |
107 |
& CALL AIM_WRITE_TAVE( myCurrentTime, myIter, myThid ) |
& CALL AIM_WRITE_TAVE( myCurrentTime, myIter, myThid ) |
108 |
#endif |
#endif |
109 |
ENDIF |
#ifdef ALLOW_LAND |
110 |
|
C-- Do LAND time averages |
111 |
|
IF (useLAND) |
112 |
|
& CALL LAND_WRITE_TAVE( myCurrentTime, myIter, myThid ) |
113 |
|
#endif |
114 |
|
|
115 |
|
#ifdef ALLOW_OBCS |
116 |
|
IF (useOBCS) |
117 |
|
& CALL OBCS_DIAGS( myCurrentTime, myIter, myThid ) |
118 |
#endif |
#endif |
119 |
|
|
120 |
#ifdef ALLOW_GMREDI |
#ifdef ALLOW_GMREDI |
129 |
& CALL KPP_DO_DIAGS( myCurrentTime, myIter, myThid ) |
& CALL KPP_DO_DIAGS( myCurrentTime, myIter, myThid ) |
130 |
#endif |
#endif |
131 |
|
|
132 |
|
#ifdef ALLOW_SBO |
133 |
|
C-- Do SBO diagnostics. |
134 |
|
IF (useSBO) THEN |
135 |
|
CALL SBO_CALC ( myCurrentTime, myIter, myThid ) |
136 |
|
CALL SBO_DIAGS( myCurrentTime, myIter, myThid ) |
137 |
|
ENDIF |
138 |
|
#endif |
139 |
|
|
140 |
cswdblk --- add --- |
cswdblk --- add --- |
141 |
#ifdef ALLOW_BULK_FORCE |
#ifdef ALLOW_BULK_FORCE |
142 |
C-- Do bulkf diagnostics. |
C-- Do bulkf diagnostics. |
153 |
#endif |
#endif |
154 |
cswdice -- end add --- |
cswdice -- end add --- |
155 |
|
|
156 |
|
cswdptr --- add --- |
157 |
|
#ifdef ALLOW_GCHEM |
158 |
|
C-- Do ptracer diagnostics. |
159 |
|
IF (usePTRACERS) |
160 |
|
& CALL GCHEM_DIAGS( myCurrentTime, myIter, myThid ) |
161 |
|
#endif |
162 |
|
cswdptr -- end add --- |
163 |
|
|
164 |
|
|
165 |
RETURN |
RETURN |