Changeset 15540 for NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/OBS/grt_cir_dis.h90
- Timestamp:
- 2021-11-26T12:27:56+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/OBS/grt_cir_dis.h90
r13226 r15540 5 5 !!---------------------------------------------------------------------- 6 6 7 REAL(KIND= wp) FUNCTION grt_cir_dis( pa1, pa2, pb1, pb2, pc1, pc2 )7 REAL(KIND=dp) FUNCTION grt_cir_dis( pa1, pa2, pb1, pb2, pc1, pc2 ) 8 8 !!---------------------------------------------------------------------- 9 9 !! *** FUNCTION grt_cir_dis *** … … 21 21 22 22 !! * Arguments 23 REAL(KIND= wp) :: pa1 ! sin(lat1)24 REAL(KIND= wp) :: pa2 ! sin(lat2)25 REAL(KIND= wp) :: pb1 ! cos(lat1) * cos(lon1)26 REAL(KIND= wp) :: pb2 ! cos(lat2) * cos(lon2)27 REAL(KIND= wp) :: pc1 ! cos(lat1) * sin(lon1)28 REAL(KIND= wp) :: pc2 ! cos(lat2) * sin(lon2)23 REAL(KIND=dp) :: pa1 ! sin(lat1) 24 REAL(KIND=dp) :: pa2 ! sin(lat2) 25 REAL(KIND=dp) :: pb1 ! cos(lat1) * cos(lon1) 26 REAL(KIND=dp) :: pb2 ! cos(lat2) * cos(lon2) 27 REAL(KIND=dp) :: pc1 ! cos(lat1) * sin(lon1) 28 REAL(KIND=dp) :: pc2 ! cos(lat2) * sin(lon2) 29 29 30 REAL(KIND= wp) :: cosdist ! cosine of great circle distance30 REAL(KIND=dp) :: cosdist ! cosine of great circle distance 31 31 32 32 ! Compute cosine of great circle distance, constraining it to be between
Note: See TracChangeset
for help on using the changeset viewer.