Changeset 14219 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/SBC/sbccpl.F90
- Timestamp:
- 2020-12-18T18:52:57+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/SBC/sbccpl.F90
r14100 r14219 226 226 # include "do_loop_substitute.h90" 227 227 # include "domzgr_substitute.h90" 228 # include "single_precision_substitute.h90" 228 229 !!---------------------------------------------------------------------- 229 230 !! NEMO/OCE 4.0 , NEMO Consortium (2018) … … 1666 1667 p_tauj(ji,jj) = zztmp2 * ( frcv(jpr_ity1)%z3(ji ,jj+1,1) + frcv(jpr_ity1)%z3(ji,jj,1) ) 1667 1668 END_2D 1668 CALL lbc_lnk_multi( 'sbccpl', p_taui, 'U', -1. , p_tauj, 'V', -1.)1669 CALL lbc_lnk_multi( 'sbccpl', p_taui, 'U', -1._wp, p_tauj, 'V', -1._wp ) 1669 1670 END SELECT 1670 1671 … … 2278 2279 ztmp1(:,:) = ts(:,:,1,jp_tem,Kmm) ! send temperature as it is (potential or conservative) -> use of l_useCT on the received part 2279 2280 ELSE 2280 ! we must send the surface potential temperature 2281 IF( l_useCT ) THEN ; ztmp1(:,:) = eos_pt_from_ct( ts(:,:,1,jp_tem,Kmm), ts(:,:,1,jp_sal,Kmm) )2281 ! we must send the surface potential temperature 2282 IF( l_useCT ) THEN ; ztmp1(:,:) = eos_pt_from_ct( CASTWP(ts(:,:,1,jp_tem,Kmm)),CASTWP(ts(:,:,1,jp_sal,Kmm)) ) 2282 2283 ELSE ; ztmp1(:,:) = ts(:,:,1,jp_tem,Kmm) 2283 2284 ENDIF … … 2713 2714 ! ! SSS 2714 2715 IF( ssnd(jps_soce )%laction ) THEN 2715 CALL cpl_snd( jps_soce , isec, RESHAPE ( ts(:,:,1,jp_sal,Kmm), (/jpi,jpj,1/) ), info )2716 CALL cpl_snd( jps_soce , isec, RESHAPE ( CASTWP(ts(:,:,1,jp_sal,Kmm)), (/jpi,jpj,1/) ), info ) 2716 2717 ENDIF 2717 2718 ! ! first T level thickness 2718 2719 IF( ssnd(jps_e3t1st )%laction ) THEN 2719 CALL cpl_snd( jps_e3t1st, isec, RESHAPE ( e3t(:,:,1,Kmm) , (/jpi,jpj,1/) ), info )2720 CALL cpl_snd( jps_e3t1st, isec, RESHAPE ( CASTWP(e3t(:,:,1,Kmm)) , (/jpi,jpj,1/) ), info ) 2720 2721 ENDIF 2721 2722 ! ! Qsr fraction … … 2740 2741 ! ! ------------------------- ! 2741 2742 ! needed by Met Office 2742 CALL eos_fzp( ts(:,:,1,jp_sal,Kmm), sstfrz)2743 CALL eos_fzp(CASTWP(ts(:,:,1,jp_sal,Kmm)), sstfrz) 2743 2744 ztmp1(:,:) = sstfrz(:,:) + rt0 2744 2745 IF( ssnd(jps_sstfrz)%laction ) CALL cpl_snd( jps_sstfrz, isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info)
Note: See TracChangeset
for help on using the changeset viewer.