Changeset 15540 for NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/TRD/trdglo.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/TRD/trdglo.F90
r14219 r15540 38 38 39 39 ! !!! Variables used for diagnostics 40 REAL( wp) :: tvolt ! volume of the whole ocean computed at t-points41 REAL( wp) :: tvolu ! volume of the whole ocean computed at u-points42 REAL( wp) :: tvolv ! volume of the whole ocean computed at v-points43 REAL( wp) :: rpktrd ! potential to kinetic energy conversion44 REAL( wp) :: peke ! conversion potential energy - kinetic energy trend40 REAL(dp) :: tvolt ! volume of the whole ocean computed at t-points 41 REAL(dp) :: tvolu ! volume of the whole ocean computed at u-points 42 REAL(dp) :: tvolv ! volume of the whole ocean computed at v-points 43 REAL(dp) :: rpktrd ! potential to kinetic energy conversion 44 REAL(dp) :: peke ! conversion potential energy - kinetic energy trend 45 45 46 46 ! !!! domain averaged trends 47 REAL( wp), DIMENSION(jptot_tra) :: tmo, smo ! temperature and salinity trends48 REAL( wp), DIMENSION(jptot_tra) :: t2 , s2 ! T^2 and S^2 trends49 REAL( wp), DIMENSION(jptot_dyn) :: umo, vmo ! momentum trends50 REAL( wp), DIMENSION(jptot_dyn) :: hke ! kinetic energy trends (u^2+v^2)47 REAL(dp), DIMENSION(jptot_tra) :: tmo, smo ! temperature and salinity trends 48 REAL(dp), DIMENSION(jptot_tra) :: t2 , s2 ! T^2 and S^2 trends 49 REAL(dp), DIMENSION(jptot_dyn) :: umo, vmo ! momentum trends 50 REAL(dp), DIMENSION(jptot_dyn) :: hke ! kinetic energy trends (u^2+v^2) 51 51 52 52 !! * Substitutions … … 78 78 INTEGER :: ji, jj, jk ! dummy loop indices 79 79 INTEGER :: ikbu, ikbv ! local integers 80 REAL( wp):: zvm, zvt, zvs, z1_2rho0 ! local scalars81 REAL( wp), DIMENSION(jpi,jpj) :: ztswu, ztswv, z2dx, z2dy ! 2D workspace80 REAL(dp):: zvm, zvt, zvs, z1_2rho0 ! local scalars 81 REAL(dp), DIMENSION(jpi,jpj) :: ztswu, ztswv, z2dx, z2dy ! 2D workspace 82 82 !!---------------------------------------------------------------------- 83 83 ! … … 186 186 ! 187 187 INTEGER :: ji, jj, jk ! dummy loop indices 188 REAL( wp) :: zcof ! local scalar189 REAL( wp), DIMENSION(jpi,jpj,jpk) :: zkx, zky, zkz, zkepe188 REAL(dp) :: zcof ! local scalar 189 REAL(dp), DIMENSION(jpi,jpj,jpk) :: zkx, zky, zkz, zkepe 190 190 !!---------------------------------------------------------------------- 191 191 … … 203 203 zkepe(:,:,:) = 0._wp 204 204 205 CALL eos( CASTWP(ts(:,:,:,:,Kmm)), rhd, CASTWP(rhop)) ! now potential density205 CALL eos( ts(:,:,:,:,Kmm), rhd, rhop ) ! now potential density 206 206 207 207 zcof = 0.5_wp / rho0 ! Density flux at w-point
Note: See TracChangeset
for help on using the changeset viewer.