Changeset 622 for XIOS/trunk/src/filter/transformation_mapping.cpp
- Timestamp:
- 06/22/15 13:36:27 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/filter/transformation_mapping.cpp
r621 r622 3 3 #include "context.hpp" 4 4 #include "context_client.hpp" 5 #include "distribution_client.hpp" 5 6 6 7 namespace xios { … … 13 14 int clientRank = client->clientRank; 14 15 15 const CArray<size_t,1>& globalIndexGridSrc = gridSource_->getDistributionClient()->getGlobalDataIndexSendToServer(); 16 CDistributionClient distributionClientDest(client->clientRank, gridSource_); 17 18 const CArray<size_t,1>& globalIndexGridSrc = distributionClientDest.getGlobalDataIndexSendToServer(); //gridSource_->getDistributionClient()->getGlobalDataIndexSendToServer(); 16 19 boost::unordered_map<size_t,int> globalIndexOfServer; 17 20 int globalIndexSize = globalIndexGridSrc.numElements(); … … 35 38 this function tries to find out which clients a client needs to send and receive these global indexes to accomplish the transformations. 36 39 The grid destination is the grid whose global indexes demande global indexes from the grid source 37 Grid destination and grid source are also distributed among clients but in a different manner.40 Grid destination and grid source are also distributed among clients but in different manners. 38 41 \param [in] globaIndexMapFromDestToSource mapping representing the transformations 39 42 */
Note: See TracChangeset
for help on using the changeset viewer.