21 |
C !DESCRIPTION: \bv |
C !DESCRIPTION: \bv |
22 |
C *==========================================================* |
C *==========================================================* |
23 |
C | SUBROUTINE TEMP_INTEGRATE |
C | SUBROUTINE TEMP_INTEGRATE |
24 |
C | o Calculate tendency for temperature |
C | o Calculate tendency for temperature and integrates |
25 |
C | and integrates forward in time. |
C | forward in time. The temperature array is updated here |
26 |
|
C | while adjustments (filters, conv.adjustment) are applied |
27 |
|
C | later, in S/R TRACERS_CORRECTION_STEP. |
28 |
C *==========================================================* |
C *==========================================================* |
29 |
C | A procedure called APPLY_FORCING_T is called from |
C | A procedure called APPLY_FORCING_T is called from |
30 |
C | here. These procedures can be used to add per problem |
C | here. These procedures can be used to add per problem |
486 |
ENDIF |
ENDIF |
487 |
#endif /* ALLOW_TIMEAVE */ |
#endif /* ALLOW_TIMEAVE */ |
488 |
|
|
489 |
|
#ifdef ALLOW_ADAMSBASHFORTH_3 |
490 |
|
IF ( AdamsBashforth_T ) THEN |
491 |
|
C- Save current tracer field (for AB on tracer) and then update tracer |
492 |
|
c m1 = 1 + MOD(iterNb+1,2) |
493 |
|
m2 = 1 + MOD( iterNb ,2) |
494 |
|
CALL CYCLE_AB_TRACER( |
495 |
|
I bi, bj, |
496 |
|
U theta, gT, gtNm(1-OLx,1-OLy,1,1,1,m2), |
497 |
|
I myTime, myIter, myThid ) |
498 |
|
ELSEIF ( tempStepping ) THEN |
499 |
|
#else /* ALLOW_ADAMSBASHFORTH_3 */ |
500 |
|
IF ( tempStepping ) THEN |
501 |
|
#endif /* ALLOW_ADAMSBASHFORTH_3 */ |
502 |
|
C- Update tracer fields: T(n) = T** |
503 |
|
CALL CYCLE_TRACER( |
504 |
|
I bi, bj, |
505 |
|
U theta, gT, |
506 |
|
I myTime, myIter, myThid ) |
507 |
|
ENDIF |
508 |
|
|
509 |
#endif /* ALLOW_GENERIC_ADVDIFF */ |
#endif /* ALLOW_GENERIC_ADVDIFF */ |
510 |
|
|
511 |
RETURN |
RETURN |