Changeset 14219 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/TOP/PISCES/P4Z/p4zpoc.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/TOP/PISCES/P4Z/p4zpoc.F90
r13295 r14219 40 40 # include "do_loop_substitute.h90" 41 41 # include "domzgr_substitute.h90" 42 # include "single_precision_substitute.h90" 42 43 !!---------------------------------------------------------------------- 43 44 !! NEMO/TOP 4.0 , NEMO Consortium (2018) … … 243 244 WRITE(charout, FMT="('poc1')") 244 245 CALL prt_ctl_info( charout, cdcomp = 'top' ) 245 CALL prt_ctl(tab4d_1= tr(:,:,:,:,Krhs), mask1=tmask, clinfo=ctrcnm)246 CALL prt_ctl(tab4d_1=CASTWP(tr(:,:,:,:,Krhs)), mask1=tmask, clinfo=ctrcnm) 246 247 ENDIF 247 248 … … 435 436 WRITE(charout, FMT="('poc2')") 436 437 CALL prt_ctl_info( charout, cdcomp = 'top' ) 437 CALL prt_ctl(tab4d_1= tr(:,:,:,:,Krhs), mask1=tmask, clinfo=ctrcnm)438 CALL prt_ctl(tab4d_1=CASTWP(tr(:,:,:,:,Krhs)), mask1=tmask, clinfo=ctrcnm) 438 439 ENDIF 439 440 ! … … 504 505 ! 505 506 alphan(1) = gamain(reminup, rshape, ifault) 506 reminp(1) = gamain(reminup, rshape+1.0 , ifault) * xremip / alphan(1)507 reminp(1) = gamain(reminup, rshape+1.0_wp, ifault) * xremip / alphan(1) 507 508 DO jn = 2, jcpoc-1 508 509 reminup = 1./ 400. * EXP( REAL(jn, wp) * remindelta) 509 510 remindown = 1. / 400. * EXP( REAL(jn-1, wp) * remindelta) 510 511 alphan(jn) = gamain(reminup, rshape, ifault) - gamain(remindown, rshape, ifault) 511 reminp(jn) = gamain(reminup, rshape+1.0 , ifault) - gamain(remindown, rshape+1.0, ifault)512 reminp(jn) = gamain(reminup, rshape+1.0_wp, ifault) - gamain(remindown, rshape+1.0_wp, ifault) 512 513 reminp(jn) = reminp(jn) * xremip / alphan(jn) 513 514 END DO 514 515 remindown = 1. / 400. * EXP( REAL(jcpoc-1, wp) * remindelta) 515 516 alphan(jcpoc) = 1.0 - gamain(remindown, rshape, ifault) 516 reminp(jcpoc) = 1.0 - gamain(remindown, rshape+1.0 , ifault)517 reminp(jcpoc) = 1.0 - gamain(remindown, rshape+1.0_wp, ifault) 517 518 reminp(jcpoc) = reminp(jcpoc) * xremip / alphan(jcpoc) 518 519
Note: See TracChangeset
for help on using the changeset viewer.