Changeset 2188 for XIOS/dev/dev_ym
- Timestamp:
- 07/19/21 10:56:42 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/distribution/reduce_transform_connector.hpp
r2000 r2188 315 315 else 316 316 { 317 touched[pos+l]++ ;318 317 out[l] = in[connector_[k]*sizeT+l] ; 319 318 } 319 touched[pos+l]++ ; 320 320 321 } 321 322 } 323 for(int l=0; l<sizeT; l++) { 324 if (touched[pos+l]!=0) 325 out[l] /= touched[pos+l]; 326 } 327 322 328 } 323 329 } … … 336 342 for(int l=0; l<sizeT; l++) 337 343 if (touched[pos+l]==0) out[l] = defaultValue ; 338 else out[l]/=touched[pos+l] ;339 344 } 340 345
Note: See TracChangeset
for help on using the changeset viewer.