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 15540 for NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/OBS/obs_read_altbias.F90 – NEMO

Ignore:
Timestamp:
2021-11-26T12:27:56+01:00 (3 years ago)
Author:
sparonuz
Message:

Mixed precision version, tested up to 30 years on ORCA2.

File:
1 edited

Legend:

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

    r14219 r15540  
    9292      INTEGER :: i_var_id 
    9393 
    94       REAL(wp), DIMENSION(1) :: & 
     94      REAL(dp), DIMENSION(1) :: & 
    9595         & zext, & 
    9696         & zobsmask 
    97       REAL(wp), DIMENSION(2,2,1) :: & 
     97      REAL(dp), DIMENSION(2,2,1) :: & 
    9898         & zweig 
    99       REAL(wp), DIMENSION(:,:,:), ALLOCATABLE :: & 
     99      REAL(dp), DIMENSION(:,:,:), ALLOCATABLE :: & 
    100100         & zmask, & 
    101101         & zbias, & 
    102102         & zglam, & 
    103103         & zgphi 
    104       REAL(wp), DIMENSION(jpi,jpj) ::   z_altbias 
    105       REAL(wp) :: zlam 
    106       REAL(wp) :: zphi 
     104      REAL(dp), DIMENSION(jpi,jpj) ::   z_altbias 
     105      REAL(dp) :: zlam 
     106      REAL(dp) :: zphi 
    107107      INTEGER, DIMENSION(:,:,:), ALLOCATABLE :: & 
    108108         & igrdi, & 
     
    166166 
    167167      CALL obs_int_comm_2d( 2, 2, sladata%nsurf, jpi, jpj, & 
    168          &                  igrdi, igrdj, CASTWP(glamt), zglam ) 
    169       CALL obs_int_comm_2d( 2, 2, sladata%nsurf, jpi, jpj, & 
    170          &                  igrdi, igrdj, CASTWP(gphit), zgphi ) 
     168         &                  igrdi, igrdj, glamt, zglam ) 
     169      CALL obs_int_comm_2d( 2, 2, sladata%nsurf, jpi, jpj, & 
     170         &                  igrdi, igrdj, gphit, zgphi ) 
    171171      CALL obs_int_comm_2d( 2, 2, sladata%nsurf, jpi, jpj, & 
    172172         &                  igrdi, igrdj, tmask(:,:,1), zmask ) 
Note: See TracChangeset for help on using the changeset viewer.