Changeset 14200 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/TRA/trazdf.F90
- Timestamp:
- 2020-12-17T15:36:44+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/TRA/trazdf.F90
r14072 r14200 23 23 USE trd_oce ! trends: ocean variables 24 24 USE trdtra ! trends: tracer trend manager 25 USE eosbn2, ONLY: ln_SEOS, rn_b0 25 26 ! 26 27 USE in_out_manager ! I/O manager … … 83 84 ! JMM avoid negative salinities near river outlet ! Ugly fix 84 85 ! JMM : restore negative salinities to small salinities: 85 WHERE( pts(A2D(0),:,jp_sal,Kaa) < 0._wp ) pts(A2D(0),:,jp_sal,Kaa) = 0.1_wp 86 !!jc: discard this correction in case salinity is not used in eos 87 IF ( .NOT.(ln_SEOS.AND.(rn_b0==0._wp)) ) THEN 88 WHERE( pts(A2D(0),:,jp_sal,Kaa) < 0._wp ) pts(A2D(0),:,jp_sal,Kaa) = 0.1_wp 89 ENDIF 86 90 !!gm 87 91 … … 97 101 & - ztrds(:,:,jk) 98 102 END DO 99 ! NOTE: [tiling-comms-merge] The diagnostic results change along the north fold if this is removed100 103 !!gm this should be moved in trdtra.F90 and done on all trends 101 104 CALL lbc_lnk_multi( 'trazdf', ztrdt, 'T', 1.0_wp , ztrds, 'T', 1.0_wp )
Note: See TracChangeset
for help on using the changeset viewer.