Changeset 998 for trunk/LMDZ.MARS/libf/phymars/getslopes.F90
- Timestamp:
- Jun 28, 2013, 4:57:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/getslopes.F90
r900 r998 25 25 real grady(iim,jjm+1) ! y: longitude-wise topography gradient, increasing westward 26 26 integer i,j,ig0 27 integer id2,idm1 ! a trick to compile testphys1d with debug option 27 28 29 id2 = 2 30 idm1 = iim-1 28 31 29 32 ! rearrange topography on a 2d array … … 53 56 gradx(i,j) = gradx(i,j) / rad 54 57 enddo 55 grady(1,j) = (topogrid( 2,j) - topogrid(iim,j)) / (2*pi+longgrid(2,j)-longgrid(iim,j))58 grady(1,j) = (topogrid(id2,j) - topogrid(iim,j)) / (2*pi+longgrid(id2,j)-longgrid(iim,j)) 56 59 grady(1,j) = grady(1,j) / rad 57 grady(iim,j) = (topogrid(1,j) - topogrid(i im-1,j)) / (2*pi+longgrid(1,j)-longgrid(iim-1,j))60 grady(iim,j) = (topogrid(1,j) - topogrid(idm1,j)) / (2*pi+longgrid(1,j)-longgrid(idm1,j)) 58 61 grady(iim,j) = grady(iim,j) / rad 59 62 do i=2,iim-1
Note: See TracChangeset
for help on using the changeset viewer.