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 14219 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/OBS/obs_oper.F90 – NEMO

Ignore:
Timestamp:
2020-12-18T18:52:57+01:00 (4 years ago)
Author:
mcastril
Message:

Add Mixed Precision support by Oriol Tintó

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/OBS/obs_oper.F90

    r14056 r14219  
    3333   !! * Substitutions 
    3434#  include "do_loop_substitute.h90" 
     35#  include "single_precision_substitute.h90" 
     36 
    3537   !!---------------------------------------------------------------------- 
    3638   !! NEMO/OCE 4.0 , NEMO Consortium (2018) 
     
    653655 
    654656      CALL obs_int_comm_2d( imaxifp, imaxjfp, isurf, kpi, kpj, & 
    655          &                  igrdi, igrdj, glamt, zglam ) 
     657         &                  igrdi, igrdj, CASTWP(glamt), zglam ) 
    656658      CALL obs_int_comm_2d( imaxifp, imaxjfp, isurf, kpi, kpj, & 
    657          &                  igrdi, igrdj, gphit, zgphi ) 
     659         &                  igrdi, igrdj, CASTWP(gphit), zgphi ) 
    658660      CALL obs_int_comm_2d( imaxifp, imaxjfp, isurf, kpi, kpj, & 
    659661         &                  igrdi, igrdj, psurfmask, zmask ) 
     
    661663         &                  igrdi, igrdj, psurf, zsurf ) 
    662664      CALL obs_int_comm_2d( imaxifp+1, imaxjfp+1, isurf, kpi, kpj, & 
    663          &                  igrdip1, igrdjp1, glamf, zglamf ) 
     665         &                  igrdip1, igrdjp1, CASTWP(glamf), zglamf ) 
    664666      CALL obs_int_comm_2d( imaxifp+1, imaxjfp+1, isurf, kpi, kpj, & 
    665          &                  igrdip1, igrdjp1, gphif, zgphif ) 
     667         &                  igrdip1, igrdjp1, CASTWP(gphif), zgphif ) 
    666668 
    667669      ! At the end of the day get interpolated means 
Note: See TracChangeset for help on using the changeset viewer.