Changeset 14219 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DYN/sshwzv.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/DYN/sshwzv.F90
r14200 r14219 53 53 # include "do_loop_substitute.h90" 54 54 # include "domzgr_substitute.h90" 55 # include "single_precision_substitute.h90" 56 55 57 !!---------------------------------------------------------------------- 56 58 !! NEMO/OCE 4.0 , NEMO Consortium (2018) … … 76 78 INTEGER , INTENT(in ) :: kt ! time step 77 79 INTEGER , INTENT(in ) :: Kbb, Kmm, Kaa ! time level index 78 REAL( wp), DIMENSION(jpi,jpj,jpt), INTENT(inout) :: pssh ! sea-surface height80 REAL(dp), DIMENSION(jpi,jpj,jpt), INTENT(inout) :: pssh ! sea-surface height 79 81 ! 80 82 INTEGER :: jk ! dummy loop index … … 127 129 ! !------------------------------! 128 130 ! 129 IF(sn_cfctl%l_prtctl) CALL prt_ctl( tab2d_1=pssh(:,:,Kaa), clinfo1=' pssh(:,:,Kaa) - : ', mask1=tmask )131 IF(sn_cfctl%l_prtctl) CALL prt_ctl( tab2d_1=CASTWP(pssh(:,:,Kaa)), clinfo1=' pssh(:,:,Kaa) - : ', mask1=tmask ) 130 132 ! 131 133 IF( ln_timing ) CALL timing_stop('ssh_nxt') … … 278 280 INTEGER , INTENT(in ) :: kt ! ocean time-step index 279 281 INTEGER , INTENT(in ) :: Kbb, Kmm, Kaa ! ocean time level indices 280 REAL( wp), DIMENSION(jpi,jpj,jpt) , TARGET, INTENT(inout) :: pssh ! SSH field281 REAL( wp), DIMENSION(jpi,jpj ), OPTIONAL, TARGET, INTENT( out) :: pssh_f ! filtered SSH field282 ! 283 REAL( wp) :: zcoef ! local scalar284 REAL( wp), POINTER, DIMENSION(:,:) :: zssh ! pointer for filtered SSH282 REAL(dp), DIMENSION(jpi,jpj,jpt) , TARGET, INTENT(inout) :: pssh ! SSH field 283 REAL(dp), DIMENSION(jpi,jpj ), OPTIONAL, TARGET, INTENT( out) :: pssh_f ! filtered SSH field 284 ! 285 REAL(dp) :: zcoef ! local scalar 286 REAL(dp), POINTER, DIMENSION(:,:) :: zssh ! pointer for filtered SSH 285 287 !!---------------------------------------------------------------------- 286 288 ! … … 314 316 ENDIF 315 317 ! 316 IF(sn_cfctl%l_prtctl) CALL prt_ctl( tab2d_1= pssh(:,:,Kmm), clinfo1=' atf - pssh(:,:,Kmm): ', mask1=tmask )318 IF(sn_cfctl%l_prtctl) CALL prt_ctl( tab2d_1=CASTWP(pssh(:,:,Kmm)), clinfo1=' pssh(:,:,Kmm) - : ', mask1=tmask ) 317 319 ! 318 320 IF( ln_timing ) CALL timing_stop('ssh_atf')
Note: See TracChangeset
for help on using the changeset viewer.