Changeset 1431
- Timestamp:
- 02/19/18 10:22:30 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/node/domain.cpp
r1429 r1431 1173 1173 localMask.resize(i_index.numElements()) ; 1174 1174 localMask=false ; 1175 size_t zoom_ibegin= global_zoom_ibegin ;1176 size_t zoom_iend= global_zoom_ibegin+global_zoom_ni-1 ;1177 size_t zoom_jbegin= global_zoom_jbegin ;1178 size_t zoom_jend= global_zoom_jbegin+global_zoom_nj-1 ;1179 1180 1175 1181 1176 size_t dn=data_i_index.numElements() ; … … 1192 1187 { 1193 1188 ind=j*ni+i ; 1194 if (i_index(ind)>=zoom_ibegin && i_index(ind)<=zoom_iend && j_index(ind)>=zoom_jbegin && j_index(ind)<=zoom_jend) 1195 { 1196 localMask(ind)=domainMask(ind) ; 1197 } 1189 localMask(ind)=domainMask(ind) ; 1198 1190 } 1199 1191 } … … 1204 1196 { 1205 1197 ind=i ; 1206 if (i_index(ind)>=zoom_ibegin && i_index(ind)<=zoom_iend && j_index(ind)>=zoom_jbegin && j_index(ind)<=zoom_jend) 1207 { 1208 localMask(ind)=domainMask(ind) ; 1209 } 1198 localMask(ind)=domainMask(ind) ; 1210 1199 } 1211 1200 }
Note: See TracChangeset
for help on using the changeset viewer.