Changeset 15379 for NEMO/branches/2021
- Timestamp:
- 2021-10-15T11:05:45+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/TRA/trasbc.F90
r14993 r15379 324 324 ! !== update tracer trend ==! 325 325 SELECT CASE( kstg ) 326 !326 ! 327 327 CASE( 1 , 2 ) != stage 1 and 2 =! only in non linear ssh 328 328 ! 329 329 IF( .NOT.ln_linssh ) THEN !* only heat and salt fluxes associated with mass fluxes 330 330 DO_2D( 0, 0, 0, 0 ) 331 332 333 331 z1_rho0_e3t = r1_rho0 / e3t(ji,jj,1,Kmm) 332 pts(ji,jj,1,jp_tem,Krhs) = pts(ji,jj,1,jp_tem,Krhs) - emp(ji,jj)*pts(ji,jj,1,jp_tem,Kmm) * z1_rho0_e3t 333 pts(ji,jj,1,jp_sal,Krhs) = pts(ji,jj,1,jp_sal,Krhs) - emp(ji,jj)*pts(ji,jj,1,jp_sal,Kmm) * z1_rho0_e3t 334 334 END_2D 335 335 ENDIF … … 341 341 z1_rho0_e3t = r1_rho0 / e3t(ji,jj,1,Kmm) 342 342 pts(ji,jj,1,jp_tem,Krhs) = pts(ji,jj,1,jp_tem,Krhs) + ( r1_rcp * qns(ji,jj) & ! non solar heat flux 343 & +emp(ji,jj)*pts(ji,jj,1,jp_tem,Kmm) ) * z1_rho0_e3t ! add concentration/dilution effect due to constant volume cell343 & + emp(ji,jj)*pts(ji,jj,1,jp_tem,Kmm) ) * z1_rho0_e3t ! add concentration/dilution effect due to constant volume cell 344 344 pts(ji,jj,1,jp_sal,Krhs) = pts(ji,jj,1,jp_sal,Krhs) + ( sfx(ji,jj) & ! salt flux due to freezing/melting 345 & +emp(ji,jj)*pts(ji,jj,1,jp_sal,Kmm) ) * z1_rho0_e3t ! add concentration/dilution effect due to constant volume cell345 & + emp(ji,jj)*pts(ji,jj,1,jp_sal,Kmm) ) * z1_rho0_e3t ! add concentration/dilution effect due to constant volume cell 346 346 END_2D 347 347 IF( ntile == 0 .OR. ntile == nijtile ) THEN ! Do only on the last tile
Note: See TracChangeset
for help on using the changeset viewer.