Changeset 2500 for trunk/LMDZ.COMMON/libf/dynphy_lonlat/inigeomphy_mod.F90
- Timestamp:
- Apr 20, 2021, 12:40:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dynphy_lonlat/inigeomphy_mod.F90
r2471 r2500 120 120 cufi_glo(1) = cu(1) 121 121 cvfi_glo(1) = cv(1) 122 boundslonfi_glo(1,north_east)= 0123 boundslatfi_glo(1,north_east)= PI/2124 boundslonfi_glo(1,north_west)= 2*PI125 boundslatfi_glo(1,north_west)= PI/2126 boundslonfi_glo(1,south_west)= 2*PI127 boundslatfi_glo(1,south_west)= rlatv(1)128 boundslonfi_glo(1,south_east)= 0129 boundslatfi_glo(1,south_east)= rlatv(1)122 boundslonfi_glo(1,north_east)= PI 123 boundslatfi_glo(1,north_east)= PI/2 124 boundslonfi_glo(1,north_west)= -PI 125 boundslatfi_glo(1,north_west)= PI/2 126 boundslonfi_glo(1,south_west)= -PI 127 boundslatfi_glo(1,south_west)= rlatv(1) 128 boundslonfi_glo(1,south_east)= PI 129 boundslatfi_glo(1,south_east)= rlatv(1) 130 130 DO j=2,jjm 131 131 DO i=1,iim … … 137 137 boundslonfi_glo(k,north_east)=rlonu(i) 138 138 boundslatfi_glo(k,north_east)=rlatv(j-1) 139 boundslonfi_glo(k,north_west)=rlonu(i+1) 139 if (i.eq.1) then 140 ! special case for the first longitude's west bound 141 boundslonfi_glo(k,north_west)=rlonu(iim)-2*PI 142 boundslonfi_glo(k,south_west)=rlonu(iim)-2*PI 143 else 144 boundslonfi_glo(k,north_west)=rlonu(i-1) 145 boundslonfi_glo(k,south_west)=rlonu(i-1) 146 endif 140 147 boundslatfi_glo(k,north_west)=rlatv(j-1) 141 boundslonfi_glo(k,south_west)=rlonu(i+1)142 148 boundslatfi_glo(k,south_west)=rlatv(j) 143 149 boundslonfi_glo(k,south_east)=rlonu(i) … … 150 156 cufi_glo(klon_glo) = cu((iim+1)*jjm+1) 151 157 cvfi_glo(klon_glo) = cv((iim+1)*jjm-iim) 152 boundslonfi_glo(klon_glo,north_east)= 0158 boundslonfi_glo(klon_glo,north_east)= PI 153 159 boundslatfi_glo(klon_glo,north_east)= rlatv(jjm) 154 boundslonfi_glo(klon_glo,north_west)= 2*PI160 boundslonfi_glo(klon_glo,north_west)= -PI 155 161 boundslatfi_glo(klon_glo,north_west)= rlatv(jjm) 156 boundslonfi_glo(klon_glo,south_west)= 2*PI162 boundslonfi_glo(klon_glo,south_west)= -PI 157 163 boundslatfi_glo(klon_glo,south_west)= -PI/2 158 boundslonfi_glo(klon_glo,south_east)= 0159 boundslatfi_glo(klon_glo,south_east)= -P i/2164 boundslonfi_glo(klon_glo,south_east)= PI 165 boundslatfi_glo(klon_glo,south_east)= -PI/2 160 166 161 167 ! build airefi(), mesh area on physics grid
Note: See TracChangeset
for help on using the changeset viewer.