Changeset 2517 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/TRP
- Timestamp:
- 2010-12-23T17:34:46+01:00 (14 years ago)
- Location:
- branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/TRP
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/TRP/trcadv.F90
r2402 r2517 69 69 #if ! defined key_pisces 70 70 IF( neuler == 0 .AND. kt == nit000 ) THEN ! at nit000 71 r2dt(:) = rdttr a(:) * FLOAT(nn_dttrc) ! = rdtra(restarting with Euler time stepping)71 r2dt(:) = rdttrc(:) ! = rdttrc (restarting with Euler time stepping) 72 72 ELSEIF( kt <= nit000 + nn_dttrc ) THEN ! at nit000 or nit000+1 73 r2dt(:) = 2. * rdttr a(:) * FLOAT(nn_dttrc) ! = 2 rdttra(leapfrog)73 r2dt(:) = 2. * rdttrc(:) ! = 2 rdttrc (leapfrog) 74 74 ENDIF 75 75 #else 76 r2dt(:) = rdttr a(:) * FLOAT(nn_dttrc) ! = rdtra (restarting withEuler time stepping)76 r2dt(:) = rdttrc(:) ! = rdttrc (for PISCES use Euler time stepping) 77 77 #endif 78 78 -
branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/TRP/trcbbl.F90
r2287 r2517 56 56 !!---------------------------------------------------------------------- 57 57 58 #if ! defined key_offline 59 ! Online coupling with dynamics : Computation of bbl coef and bbl transport 60 ! Offline coupling with dynamics : Read bbl coef and bbl transport from input files 61 CALL bbl( kt, 'TRC' ) 62 l_bbl = .FALSE. 63 #endif 58 IF( .NOT. lk_offline ) THEN 59 CALL bbl( kt, 'TRC' ) ! Online coupling with dynamics : Computation of bbl coef and bbl transport 60 l_bbl = .FALSE. ! Offline coupling with dynamics : Read bbl coef and bbl transport from input files 61 ENDIF 64 62 65 63 IF( l_trdtrc ) THEN -
branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/TRP/trcnxt.F90
r2287 r2517 111 111 112 112 ! set time step size (Euler/Leapfrog) 113 IF( neuler == 0 .AND. kt == nit000) THEN ; r2dt(:) = rdttr a(:) * FLOAT( nn_dttrc )! at nit000 (Euler)114 ELSEIF( kt <= nit000 + 1 ) THEN ; r2dt(:) = 2.* rdttr a(:) * FLOAT( nn_dttrc )! at nit000 or nit000+1 (Leapfrog)113 IF( neuler == 0 .AND. kt == nit000) THEN ; r2dt(:) = rdttrc(:) ! at nit000 (Euler) 114 ELSEIF( kt <= nit000 + 1 ) THEN ; r2dt(:) = 2.* rdttrc(:) ! at nit000 or nit000+1 (Leapfrog) 115 115 ENDIF 116 116 -
branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/TRP/trcsbc.F90
r2287 r2517 80 80 IF( l_trdtrc ) ALLOCATE( ztrtrd(jpi,jpj,jpk) ) 81 81 82 #if ! defined key_offline 83 ! Concentration dilution effect on tracer due to evaporation, precipitation, and river runoff 84 IF( lk_vvl ) THEN ! volume variable 85 zemps(:,:) = emps(:,:) - emp(:,:) 82 IF( lk_offline ) THEN ! emps in dynamical files contains emps - rnf 83 zemps(:,:) = emps(:,:) 84 ELSE ! Concentration dilution effect on tracer due to evaporation, precipitation, and river runoff 85 IF( lk_vvl ) THEN ! volume variable 86 zemps(:,:) = emps(:,:) - emp(:,:) 86 87 !!ch zemps(:,:) = 0. 87 ELSE ! linear free surface 88 IF( ln_rnf ) THEN ; zemps(:,:) = emps(:,:) - rnf(:,:) ! E-P-R 89 ELSE ; zemps(:,:) = emps(:,:) 88 ELSE ! linear free surface 89 IF( ln_rnf ) THEN ; zemps(:,:) = emps(:,:) - rnf(:,:) ! E-P-R 90 ELSE ; zemps(:,:) = emps(:,:) 91 ENDIF 90 92 ENDIF 91 93 ENDIF 92 #else93 ! emps in dynamical files contains emps - rnf94 IF( lk_vvl ) THEN ; zemps(:,:) = 0. ! No concentration/dilution effect95 ELSE ; zemps(:,:) = emps(:,:) ! emps -rnf96 ENDIF97 #endif98 94 99 95 ! 0. initialization -
branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/TRP/trctrp.F90
r2431 r2517 18 18 USE trabbl ! bottom boundary layer (trc_bbl routine) 19 19 USE trcbbl ! bottom boundary layer (trc_bbl routine) 20 #if ! defined key_offline21 20 USE zdfkpp ! KPP non-local tracer fluxes (trc_kpp routine) 22 #endif23 21 USE trcdmp ! internal damping (trc_dmp routine) 24 22 USE trcldf ! lateral mixing (trc_ldf routine) … … 67 65 CALL trc_adv( kstp ) ! horizontal & vertical advection 68 66 CALL trc_ldf( kstp ) ! lateral mixing 69 #if ! defined key_offline 70 IF( lk_zdfkpp ) CALL trc_kpp( kstp ) ! KPP non-local tracer fluxes 71 #endif 67 IF( .NOT. lk_offline .AND. lk_zdfkpp ) & 68 & CALL trc_kpp( kstp ) ! KPP non-local tracer fluxes 72 69 #if defined key_agrif 73 70 IF(.NOT. Agrif_Root()) CALL Agrif_Sponge_trc ! tracers sponge … … 81 78 ELSE ! 1D vertical configuration 82 79 CALL trc_sbc( kstp ) ! surface boundary condition 83 #if ! defined key_offline 84 IF( lk_zdfkpp ) CALL trc_kpp( kstp ) ! KPP non-local tracer fluxes 85 #endif 80 IF( .NOT. lk_offline .AND. lk_zdfkpp ) & 81 & CALL trc_kpp( kstp ) ! KPP non-local tracer fluxes 86 82 CALL trc_zdf( kstp ) ! vertical mixing and after tracer fields 87 83 CALL trc_nxt( kstp ) ! tracer fields at next time step -
branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/TRP/trczdf.F90
r2476 r2517 65 65 #if ! defined key_pisces 66 66 IF( neuler == 0 .AND. kt == nit000 ) THEN ! at nit000 67 r2dt(:) = rdttr a(:) * FLOAT(nn_dttrc) ! = rdtra(restarting with Euler time stepping)67 r2dt(:) = rdttrc(:) ! = rdttrc (restarting with Euler time stepping) 68 68 ELSEIF( kt <= nit000 + nn_dttrc ) THEN ! at nit000 or nit000+1 69 r2dt(:) = 2. * rdttr a(:) * FLOAT(nn_dttrc) ! = 2 rdttra(leapfrog)69 r2dt(:) = 2. * rdttrc(:) ! = 2 rdttrc (leapfrog) 70 70 ENDIF 71 71 #else 72 r2dt(:) = rdttr a(:) * FLOAT(nn_dttrc) ! = rdtra (restarting withEuler time stepping)72 r2dt(:) = rdttrc(:) ! = rdttrc (for PISCES use Euler time stepping) 73 73 #endif 74 74
Note: See TracChangeset
for help on using the changeset viewer.