Changeset 15540 for NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/ISF/isfload.F90
- Timestamp:
- 2021-11-26T12:27:56+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/ISF/isfload.F90
r14219 r15540 44 44 !!-------------------------------------------------------------------- 45 45 INTEGER, INTENT(in ) :: Kmm ! ocean time level index 46 REAL( wp), DIMENSION(jpi,jpj), INTENT( out) :: pisfload ! ice shelf load46 REAL(dp), DIMENSION(jpi,jpj), INTENT( out) :: pisfload ! ice shelf load 47 47 !!---------------------------------------------------------------------- 48 48 ! … … 73 73 !!-------------------------------------------------------------------- 74 74 INTEGER, INTENT(in ) :: Kmm ! ocean time level index 75 REAL( wp), DIMENSION(jpi,jpj), INTENT( out) :: pload ! ice shelf load75 REAL(dp), DIMENSION(jpi,jpj), INTENT( out) :: pload ! ice shelf load 76 76 ! 77 77 INTEGER :: ji, jj, jk 78 78 INTEGER :: ikt 79 REAL( wp), DIMENSION(jpi,jpj) :: zrhdtop_isf ! water density displaced by the ice shelf (at the interface)80 REAL( wp), DIMENSION(jpi,jpj,jpts) :: zts_top ! water properties displaced by the ice shelf81 REAL( wp), DIMENSION(jpi,jpj,jpk) :: zrhd ! water density displaced by the ice shelf79 REAL(dp), DIMENSION(jpi,jpj) :: zrhdtop_isf ! water density displaced by the ice shelf (at the interface) 80 REAL(dp), DIMENSION(jpi,jpj,jpts) :: zts_top ! water properties displaced by the ice shelf 81 REAL(dp), DIMENSION(jpi,jpj,jpk) :: zrhd ! water density displaced by the ice shelf 82 82 !!---------------------------------------------------------------------- 83 83 ! … … 86 86 ! 87 87 DO jk = 1, jpk !- compute density of the water displaced by the ice shelf 88 CALL eos( zts_top(:,:,:), CASTWP(gdept(:,:,jk,Kmm)), zrhd(:,:,jk) )88 CALL eos( zts_top(:,:,:), gdept(:,:,jk,Kmm), zrhd(:,:,jk) ) 89 89 !!st ==>> CALL eos( zts_top(:,:,:), gdept_0(:,:,jk), zrhd(:,:,jk) ) 90 90 END DO 91 91 ! 92 92 ! !- compute rhd at the ice/oce interface (ice shelf side) 93 CALL eos( zts_top , risfdep, zrhdtop_isf )93 CALL eos( zts_top , CASTDP(risfdep), zrhdtop_isf ) 94 94 ! 95 95 ! !- Surface value + ice shelf gradient
Note: See TracChangeset
for help on using the changeset viewer.