Changeset 668 for XIOS/trunk/src/transformation/transformation_mapping.cpp
- Timestamp:
- 08/24/15 14:53:36 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/transformation_mapping.cpp
r666 r668 25 25 CDistributionClient distributionClientSrc(client->clientRank, gridSource_); 26 26 27 const CArray<size_t,1>& globalIndexGridSrc = distributionClientSrc.getGlobalDataIndexSendToServer(); //gridSource_->getDistributionClient()->getGlobalDataIndexSendToServer();27 const std::vector<size_t>& globalIndexGridSrc = distributionClientSrc.getGlobalDataIndexSendToServer(); //gridSource_->getDistributionClient()->getGlobalDataIndexSendToServer(); 28 28 boost::unordered_map<size_t,int> globalIndexOfServer; 29 int globalIndexSize = globalIndexGridSrc. numElements();29 int globalIndexSize = globalIndexGridSrc.size(); 30 30 for (int idx = 0; idx < globalIndexSize; ++idx) 31 31 { 32 globalIndexOfServer[globalIndexGridSrc (idx)] = clientRank;32 globalIndexOfServer[globalIndexGridSrc[idx]] = clientRank; 33 33 } 34 34
Note: See TracChangeset
for help on using the changeset viewer.