50 |
#endif |
#endif |
51 |
|
|
52 |
#endif /* ALLOW_TAMC_CHECKPOINTING */ |
#endif /* ALLOW_TAMC_CHECKPOINTING */ |
53 |
|
_BARRIER |
54 |
|
|
55 |
|
C-- Initialise 3-dim. diffusivities |
56 |
|
CALL INI_MIXING( myThid ) |
57 |
_BARRIER |
_BARRIER |
58 |
|
|
59 |
C-- Initialize DYNVARS arrays (state fields + G terms: Gu,Gv,...) to zero [always] |
C-- Initialize DYNVARS arrays (state fields + G terms: Gu,Gv,...) to zero [always] |
60 |
CALL INI_DYNVARS( myThid ) |
CALL INI_DYNVARS( myThid ) |
61 |
|
|
72 |
_BARRIER |
_BARRIER |
73 |
#endif |
#endif |
74 |
|
|
75 |
|
#ifndef ALLOW_AUTODIFF_TAMC |
76 |
IF ( usePickupBeforeC35 ) THEN |
IF ( usePickupBeforeC35 ) THEN |
77 |
C-- IMPORTANT : Need to activate the following call to restart from |
C-- IMPORTANT : Need to activate the following call to restart from |
78 |
C a pickup file written by MITgcmUV_checkpoint34 or earlier. |
C a pickup file written by MITgcmUV_checkpoint34 or earlier. |
80 |
CALL THE_CORRECTION_STEP(startTime, nIter0, myThid) |
CALL THE_CORRECTION_STEP(startTime, nIter0, myThid) |
81 |
ENDIF |
ENDIF |
82 |
ENDIF |
ENDIF |
83 |
|
#endif |
84 |
|
|
85 |
C-- Initial conditions are convectively adjusted (for historical reasons) |
C-- Initial conditions are convectively adjusted (for historical reasons) |
86 |
IF ( startTime .EQ. 0. ) THEN |
IF ( startTime .EQ. 0. ) THEN |
103 |
C-- Initialize variable data for packages |
C-- Initialize variable data for packages |
104 |
CALL PACKAGES_INIT_VARIABLES( myThid ) |
CALL PACKAGES_INIT_VARIABLES( myThid ) |
105 |
|
|
106 |
|
#ifdef NONLIN_FRSURF |
107 |
|
C-- Compute the surface level thickness, function of eta_n-1 |
108 |
|
C and modify hFac(C,W,S) accordingly : |
109 |
|
IF (nonlinFreeSurf.GT.0) THEN |
110 |
|
CALL CALC_SURF_DR(etaNm1, startTime, nIter0, myThid ) |
111 |
|
CALL UPDATE_SURF_DR( startTime, nIter0, myThid ) |
112 |
|
ENDIF |
113 |
|
C- update also CG2D matrix (and preconditioner) |
114 |
|
IF ( nonlinFreeSurf.GT.2) THEN |
115 |
|
CALL UPDATE_CG2D( startTime, nIter0, myThid ) |
116 |
|
ENDIF |
117 |
|
#endif |
118 |
|
|
119 |
C-- Finally summarise the model state |
C-- Finally summarise the model state |
120 |
CALL STATE_SUMMARY( myThid ) |
CALL STATE_SUMMARY( myThid ) |
121 |
|
|