New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 12546 for NEMO/branches/2020/dev_r12512_HPC-04_mcastril_Mixed_Precision_implementation/src/OCE/ZDF/zdfosm.F90 – NEMO

Ignore:
Timestamp:
2020-03-13T11:06:44+01:00 (4 years ago)
Author:
orioltp
Message:

Adding precision specification in hardcoded reals and other modifications to allow compilation without forcing reals without precision specification to a certain value through compiler flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r12512_HPC-04_mcastril_Mixed_Precision_implementation/src/OCE/ZDF/zdfosm.F90

    r12489 r12546  
    12181218 
    12191219       ! Lateral boundary conditions on zvicos (sign unchanged), needed to caclulate viscosities on u and v grids 
    1220        CALL lbc_lnk( 'zdfosm', zviscos(:,:,:), 'W', 1. ) 
     1220       CALL lbc_lnk( 'zdfosm', zviscos(:,:,:), 'W', 1.0_wp ) 
    12211221 
    12221222       ! GN 25/8: need to change tmask --> wmask 
     
    12271227     END_3D 
    12281228      ! Lateral boundary conditions on ghamu and ghamv, currently on W-grid  (sign unchanged), needed to caclulate gham[uv] on u and v grids 
    1229      CALL lbc_lnk_multi( 'zdfosm', p_avt, 'W', 1. , p_avm, 'W', 1.,   & 
    1230       &                  ghamu, 'W', 1. , ghamv, 'W', 1. ) 
     1229     CALL lbc_lnk_multi( 'zdfosm', p_avt, 'W', 1.0_wp , p_avm, 'W', 1.0_wp,   & 
     1230      &                  ghamu, 'W', 1.0_wp , ghamv, 'W', 1.0_wp ) 
    12311231       DO_3D_00_00( 2, jpkm1 ) 
    12321232            ghamu(ji,jj,jk) = ( ghamu(ji,jj,jk) + ghamu(ji+1,jj,jk) ) & 
     
    12411241        ! Lateral boundary conditions on final outputs for gham[ts],  on W-grid  (sign unchanged) 
    12421242        ! Lateral boundary conditions on final outputs for gham[uv],  on [UV]-grid  (sign unchanged) 
    1243         CALL lbc_lnk_multi( 'zdfosm', ghamt, 'W', 1. , ghams, 'W', 1.,   & 
    1244          &                  ghamu, 'U', 1. , ghamv, 'V', 1. ) 
     1243        CALL lbc_lnk_multi( 'zdfosm', ghamt, 'W', 1.0_wp , ghams, 'W', 1.0_wp,   & 
     1244         &                  ghamu, 'U', 1.0_wp , ghamv, 'V', 1.0_wp ) 
    12451245 
    12461246       IF(ln_dia_osm) THEN 
     
    12821282      END IF 
    12831283      ! Lateral boundary conditions on p_avt  (sign unchanged) 
    1284       CALL lbc_lnk( 'zdfosm', p_avt(:,:,:), 'W', 1. ) 
     1284      CALL lbc_lnk( 'zdfosm', p_avt(:,:,:), 'W', 1.0_wp ) 
    12851285      ! 
    12861286   END SUBROUTINE zdf_osm 
Note: See TracChangeset for help on using the changeset viewer.