187 |
& CALL CTRL_MAP_FORCING (mythid) |
& CALL CTRL_MAP_FORCING (mythid) |
188 |
#endif |
#endif |
189 |
|
|
|
#ifdef ALLOW_THSICE |
|
|
IF ( useThSIce .AND. buoyancyRelation(1:7) .EQ. 'OCEANIC' ) THEN |
|
|
#ifdef ALLOW_DEBUG |
|
|
IF ( debugLevel .GE. debLevB ) |
|
|
& CALL DEBUG_CALL('THSICE_MAIN',myThid) |
|
|
#endif |
|
|
C-- Step forward Therm.Sea-Ice variables |
|
|
C and modify forcing terms including effects from ice |
|
|
CALL TIMER_START('THSICE_MAIN [FORWARD_STEP]', myThid) |
|
|
CALL THSICE_MAIN( myTime, myIter, myThid ) |
|
|
CALL TIMER_STOP( 'THSICE_MAIN [FORWARD_STEP]', myThid) |
|
|
ENDIF |
|
|
#endif /* ALLOW_THSICE */ |
|
|
|
|
190 |
# ifdef ALLOW_SEAICE |
# ifdef ALLOW_SEAICE |
191 |
C-- Call sea ice model to compute forcing/external data fields. In |
C-- Call sea ice model to compute forcing/external data fields. In |
192 |
C addition to computing prognostic sea-ice variables and diagnosing the |
C addition to computing prognostic sea-ice variables and diagnosing the |
209 |
ENDIF |
ENDIF |
210 |
# endif /* ALLOW_SEAICE */ |
# endif /* ALLOW_SEAICE */ |
211 |
|
|
|
C-- Freeze water at the surface |
|
|
#ifdef ALLOW_AUTODIFF_TAMC |
|
|
CADJ STORE theta = comlev1, key = ikey_dynamics |
|
|
#endif |
|
|
IF ( allowFreezing .AND. .NOT. useSEAICE |
|
|
& .AND. .NOT. useThSIce ) THEN |
|
|
CALL FREEZE_SURFACE( myTime, myIter, myThid ) |
|
|
ENDIF |
|
|
|
|
212 |
#ifdef ALLOW_AUTODIFF_TAMC |
#ifdef ALLOW_AUTODIFF_TAMC |
213 |
# ifdef ALLOW_PTRACERS |
# ifdef ALLOW_PTRACERS |
214 |
cph this replaces _bibj storing of ptracer within thermodynamics |
cph this replaces _bibj storing of ptracer within thermodynamics |
231 |
CALL CPL_IMPORT_EXTERNAL_DATA( myIter, myTime, myThid ) |
CALL CPL_IMPORT_EXTERNAL_DATA( myIter, myTime, myThid ) |
232 |
CALL TIMER_STOP ('CPL_EXPORT-IMPORT [FORWARD_STEP]',myThid) |
CALL TIMER_STOP ('CPL_EXPORT-IMPORT [FORWARD_STEP]',myThid) |
233 |
ENDIF |
ENDIF |
|
# ifndef ALLOW_AIM |
|
|
C jmc: don't know precisely where to put this call. leave it here for now. |
|
|
IF ( useCoupler ) THEN |
|
|
CALL OCN_APPLY_IMPORT( .TRUE., myTime, myIter, myThid ) |
|
|
ENDIF |
|
|
# endif |
|
234 |
#endif /* COMPONENT_MODULE */ |
#endif /* COMPONENT_MODULE */ |
235 |
|
|
236 |
#ifdef ALLOW_EBM |
#ifdef ALLOW_EBM |