- Timestamp:
- 12/06/20 22:14:56 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/distribution/grid_remote_connector.cpp
r1938 r1984 87 87 srcView_[nSrc-1]->getGlobalIndex(srcGlobalIndex, sliceIndex, srcSliceSize.data(), srcView_.data(), nSrc-1) ; 88 88 89 CArray<size_t,1> srcGlobalIndexArray(srcGlobalIndex.data(), shape(srcGlobalIndex.size()),neverDeleteData) ; 90 dataRanks.computeIndexInfoMapping(srcGlobalIndexArray) ; 89 if (srcGlobalIndex.size()>0) 90 { 91 CArray<size_t,1> srcGlobalIndexArray(srcGlobalIndex.data(), shape(srcGlobalIndex.size()),neverDeleteData) ; 92 dataRanks.computeIndexInfoMapping(srcGlobalIndexArray) ; 93 } 94 else 95 { 96 CArray<size_t,1> srcGlobalIndexArray ; 97 dataRanks.computeIndexInfoMapping(srcGlobalIndexArray) ; 98 } 91 99 const auto& returnInfo = dataRanks.getInfoIndexMap() ; 92 100
Note: See TracChangeset
for help on using the changeset viewer.