Changeset 2553 in lmdz_wrf
- Timestamp:
- May 23, 2019, 4:28:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/module_scientific.f90
r2528 r2553 5056 5056 END IF 5057 5057 END IF 5058 5059 ! Inverting process, look polygon within grid 5060 IF (.NOT.within(ix,iy)) THEN 5061 DO iv = 1, NvertexA 5062 vertex = polygonA(iv,:) 5063 IF (point_inside(vertex, Nvertexmax, xBvals(ix,iy,:))) THEN 5064 Ngridsin = Ngridsin + 1 5065 ! Getting coordinates 5066 gridsin(Ngridsin,1) = ix 5067 gridsin(Ngridsin,2) = iy 5068 within(ix,iy) = .TRUE. 5069 CYCLE 5070 END IF 5071 END DO 5072 END IF 5058 5073 END IF 5059 5074 END DO
Note: See TracChangeset
for help on using the changeset viewer.