Changeset 11633
- Timestamp:
- 2019-10-01T21:06:31+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/ENHANCE-03_domcfg/src/domngb.F90
r11201 r11633 60 60 61 61 zdist = dist(plon, plat, zglam, zgphi) 62 63 WHERE (zmask(:,:) == 0._wp) 64 zdist(:,:) = HUGE(1._wp) 65 END WHERE 66 zmask = 1._wp 62 67 63 68 IF( lk_mpp ) THEN … … 74 79 75 80 FUNCTION dist(plonsrc, platsrc, plontrg, plattrg) 76 REAL(wp), INTENT(in) :: plonsrc, platsrc! lat/lon of the source point81 REAL(wp), INTENT(in) :: plonsrc, platsrc ! lat/lon of the source point 77 82 REAL(wp), DIMENSION(jpi,jpj), INTENT(in) :: plontrg, plattrg ! lat/lon of the target (2d in this case) 78 83 … … 94 99 & + ( zzs - zzt(:,:) )**2 95 100 96 dist = ra * SQRT( dist)101 dist(:,:) = ra * SQRT( dist(:,:) ) 97 102 98 103 END FUNCTION dist
Note: See TracChangeset
for help on using the changeset viewer.