Changeset 14219 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/ZDF/zdfosm.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/ZDF/zdfosm.F90
r14072 r14219 150 150 # include "do_loop_substitute.h90" 151 151 # include "domzgr_substitute.h90" 152 # include "single_precision_substitute.h90" 152 153 !!---------------------------------------------------------------------- 153 154 !! NEMO/OCE 4.0 , NEMO Consortium (2018) … … 1176 1177 END_3D 1177 1178 ! Lateral boundary conditions on final outputs for hbl, on T-grid (sign unchanged) 1178 CALL lbc_lnk_multi( 'zdfosm', hbl, 'T', 1. , dh, 'T', 1., hmle, 'T', 1.)1179 CALL lbc_lnk_multi( 'zdfosm', hbl, 'T', 1._wp, dh, 'T', 1._wp, hmle, 'T', 1._wp ) 1179 1180 ! Lateral boundary conditions on final outputs for gham[ts], on W-grid (sign unchanged) 1180 1181 ! Lateral boundary conditions on final outputs for gham[uv], on [UV]-grid (sign changed) … … 2752 2753 IF( lwp ) WRITE(numout,*) ' ===>>>> : calculating hbl computed from stratification' 2753 2754 ! w-level of the mixing and mixed layers 2754 CALL eos_rab( ts(:,:,:,:,Kmm), rab_n, Kmm )2755 CALL bn2( ts(:,:,:,:,Kmm), rab_n, rn2, Kmm)2755 CALL eos_rab( CASTWP(ts(:,:,:,:,Kmm)), rab_n, Kmm ) 2756 CALL bn2(CASTWP(ts(:,:,:,:,Kmm)), rab_n, rn2, Kmm) 2756 2757 imld_rst(:,:) = nlb10 ! Initialization to the number of w ocean point 2757 2758 hbl(:,:) = 0._wp ! here hbl used as a dummy variable, integrating vertically N^2 … … 2795 2796 INTEGER , INTENT(in) :: kt ! time step index 2796 2797 INTEGER , INTENT(in) :: Kmm, Krhs ! time level indices 2797 REAL( wp), DIMENSION(jpi,jpj,jpk,jpts,jpt), INTENT(inout) :: pts ! active tracers and RHS of tracer equation2798 REAL(dp), DIMENSION(jpi,jpj,jpk,jpts,jpt), INTENT(inout) :: pts ! active tracers and RHS of tracer equation 2798 2799 ! 2799 2800 INTEGER :: ji, jj, jk … … 2832 2833 2833 2834 IF(sn_cfctl%l_prtctl) THEN 2834 CALL prt_ctl( tab3d_1= pts(:,:,:,jp_tem,Krhs), clinfo1=' osm - Ta: ', mask1=tmask, &2835 & tab3d_2= pts(:,:,:,jp_sal,Krhs), clinfo2= ' Sa: ', mask2=tmask, clinfo3='tra' )2835 CALL prt_ctl( tab3d_1=CASTWP(pts(:,:,:,jp_tem,Krhs)), clinfo1=' osm - Ta: ', mask1=tmask, & 2836 & tab3d_2=CASTWP(pts(:,:,:,jp_sal,Krhs)), clinfo2= ' Sa: ', mask2=tmask, clinfo3='tra' ) 2836 2837 ENDIF 2837 2838 ! … … 2867 2868 INTEGER , INTENT( in ) :: kt ! ocean time step index 2868 2869 INTEGER , INTENT( in ) :: Kmm, Krhs ! ocean time level indices 2869 REAL( wp), DIMENSION(jpi,jpj,jpk,jpt), INTENT(inout) :: puu, pvv ! ocean velocities and RHS of momentum equation2870 REAL(dp), DIMENSION(jpi,jpj,jpk,jpt), INTENT(inout) :: puu, pvv ! ocean velocities and RHS of momentum equation 2870 2871 ! 2871 2872 INTEGER :: ji, jj, jk ! dummy loop indices
Note: See TracChangeset
for help on using the changeset viewer.