- Timestamp:
- 2018-06-30T12:51:02+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r9838_ENHANCE04_MLF/src/OCE/nemogcm.F90
r9780 r9863 151 151 ! !== time stepping ==! 152 152 ! !-----------------------! 153 ! 154 ! !== set the model time-step ==! 155 ! 156 IF( l_1st_euler ) THEN ; r2dt = rn_rdt ; l_1st_euler = .TRUE. ! start or restart with Euler 1st time-step 157 ELSE ; r2dt = 2._wp * rn_rdt ; l_1st_euler = .FALSE. ! restart with leapfrog 158 ENDIF 159 r1_2dt = 1._wp / r2dt 160 ! NB: if l_1st_euler=T, r2dt will be set to 2*rdt at the end of the 1st time-step (in step.F90) 161 ! Done here (not in domain.F90) as in ASM initialization an Euler 1st time step can be forced 162 ! 163 ! 153 164 istp = nit000 154 165 !
Note: See TracChangeset
for help on using the changeset viewer.