Changeset 7646 for trunk/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90
- Timestamp:
- 2017-02-06T10:25:03+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90
r6942 r7646 84 84 END SELECT 85 85 86 IF( ln_top_euler) THEN87 r2dt = rdttrc ! = rdttrc (use Euler time stepping)88 ELSE89 IF( neuler == 0 .AND. kt == nittrc000 ) THEN ! at nittrc00090 r2dt = rdttrc ! = rdttrc (restarting with Euler time stepping)91 ELSEIF( kt <= nittrc000 + nn_dttrc ) THEN ! at nittrc000 or nittrc000+192 r2dt = 2. * rdttrc ! = 2 rdttrc (leapfrog)93 ENDIF94 ENDIF95 96 97 86 IF( kt == nittrc000 ) THEN 98 87 IF(lwp) WRITE(numout,*) … … 126 115 ! Coupling offline : runoff are in emp which contains E-P-R 127 116 ! 128 IF( .NOT. lk_offline .AND. .NOT.ln_linssh ) THEN ! online coupling with vvl117 IF( .NOT.ln_linssh ) THEN ! online coupling with vvl 129 118 zsfx(:,:) = 0._wp 130 119 ELSE ! online coupling free surface or offline with free surface … … 160 149 zdtra = r1_rau0 * ( ztfx + zsfx(ji,jj) * trn(ji,jj,1,jn) ) 161 150 IF ( zdtra < 0. ) THEN 162 zratio = -zdtra * zse3t * r2dt / ( trn(ji,jj,1,jn) + zrtrn )151 zratio = -zdtra * zse3t * r2dttrc / ( trn(ji,jj,1,jn) + zrtrn ) 163 152 zdtra = MIN(1.0, zratio) * zdtra ! avoid negative concentrations to arise 164 153 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.