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 14894 – NEMO

Changeset 14894


Ignore:
Timestamp:
2021-05-20T18:05:17+02:00 (3 years ago)
Author:
sparonuz
Message:

Added wp specification to some real declarations

Location:
NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/OBS/maxdist.h90

    r10068 r14894  
    55   !!---------------------------------------------------------------------- 
    66 
    7    REAL FUNCTION maxdist( pxv, pyv ) 
     7   REAL(wp) FUNCTION maxdist( pxv, pyv ) 
    88      !!---------------------------------------------------------------------- 
    99      !!                    ***  FUNCTION maxdist *** 
  • NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/OBS/obs_grid.F90

    r14650 r14894  
    5252 
    5353   !! Default values 
    54    REAL, PUBLIC :: rn_gridsearchres = 0.5   ! Resolution of grid 
     54   REAL(WP), PUBLIC :: rn_gridsearchres = 0.5   ! Resolution of grid 
    5555   INTEGER, PRIVATE :: gsearch_nlons_def    ! Num of longitudes 
    5656   INTEGER, PRIVATE :: gsearch_nlats_def    ! Num of latitudes 
     
    685685      INTEGER, DIMENSION(histsize) :: & 
    686686         & histx1, histx2, histy1, histy2 
    687       REAL, DIMENSION(histsize) :: & 
     687      REAL(wp), DIMENSION(histsize) :: & 
    688688         & fhistx1, fhistx2, fhisty1, fhisty2 
    689689      REAL(wp) :: histtol 
  • NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/ZDF/zdfosm.F90

    r14653 r14894  
    14151415     REAL(wp) :: zwcor, zrf_conv, zrf_shear, zrf_langmuir, zr_stokes 
    14161416 
    1417      REAL, PARAMETER :: za_shr = 0.4, zb_shr = 6.5, za_wb_s = 0.1 
    1418      REAL, PARAMETER :: rn_ri_thres_a = 0.5, rn_ri_thresh_b = 0.59 
    1419      REAL, PARAMETER :: zalpha_c = 0.2, zalpha_lc = 0.04 
    1420      REAL, PARAMETER :: zalpha_ls = 0.06, zalpha_s = 0.15 
    1421      REAL, PARAMETER :: rn_ri_p_thresh = 27.0 
    1422      REAL, PARAMETER :: zrot=0._wp  ! dummy rotation rate of surface stress. 
     1417     REAL(wp), PARAMETER :: za_shr = 0.4, zb_shr = 6.5, za_wb_s = 0.1 
     1418     REAL(wp), PARAMETER :: rn_ri_thres_a = 0.5, rn_ri_thresh_b = 0.59 
     1419     REAL(wp), PARAMETER :: zalpha_c = 0.2, zalpha_lc = 0.04 
     1420     REAL(wp), PARAMETER :: zalpha_ls = 0.06, zalpha_s = 0.15 
     1421     REAL(wp), PARAMETER :: rn_ri_p_thresh = 27.0 
     1422     REAL(wp), PARAMETER :: zrot=0._wp  ! dummy rotation rate of surface stress. 
    14231423 
    14241424! Determins stability and set flag lconv 
     
    21752175      INTEGER :: inhml 
    21762176      REAL(wp) :: zari, ztau, zdh_ref 
    2177       REAL, PARAMETER :: a_ddh_2 = 3.5 ! also in pycnocline_depth 
     2177      REAL(wp), PARAMETER :: a_ddh_2 = 3.5 ! also in pycnocline_depth 
    21782178 
    21792179    DO_2D( 0, 0, 0, 0 ) 
     
    24602460     INTEGER  ::   ios            ! local integer 
    24612461     INTEGER  ::   ji, jj, jk     ! dummy loop indices 
    2462      REAL :: z1_t2 
     2462     REAL(wp) :: z1_t2 
    24632463     !! 
    24642464     NAMELIST/namzdf_osm/ ln_use_osm_la, rn_osm_la, rn_osm_dstokes, nn_ave & 
Note: See TracChangeset for help on using the changeset viewer.