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/grt_cir_dis_saa.h90 – 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/grt_cir_dis_saa.h90

    r10068 r15540  
    55   !!---------------------------------------------------------------------- 
    66 
    7    REAL(KIND=wp) FUNCTION grt_cir_dis_saa( pa, pb, pc ) 
     7   REAL(KIND=dp) FUNCTION grt_cir_dis_saa( pa, pb, pc ) 
    88      !!---------------------------------------------------------------------- 
    99      !!                     *** FUNCTION grt_cir_dis_saa *** 
     
    2323       
    2424      !! * Arguments 
    25       REAL(KIND=wp) :: pa   !  lon1 - lon2 
    26       REAL(KIND=wp) :: pb   !  lat1 - lat2 
    27       REAL(KIND=wp) :: pc   !  cos(lat2) 
     25      REAL(KIND=dp) :: pa   !  lon1 - lon2 
     26      REAL(KIND=dp) :: pb   !  lat1 - lat2 
     27      REAL(KIND=dp) :: pc   !  cos(lat2) 
    2828 
    2929      grt_cir_dis_saa = SQRT( pa * pa + ( pb * pc )**2 ) 
Note: See TracChangeset for help on using the changeset viewer.