Changeset 1624 for XIOS/branchs/xios-2.5/src/node/axis.cpp
- Timestamp:
- 12/14/18 11:20:33 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/branchs/xios-2.5/src/node/axis.cpp
r1566 r1624 657 657 connectedServerRank_[nbServer].push_back(client->clientRank % client->serverSize); 658 658 659 659 nbSenders[nbServer] = CClientServerMapping::computeConnectedClients(client->serverSize, client->clientSize, client->intraComm, connectedServerRank_[nbServer]); 660 660 661 661 delete clientServerMap; … … 703 703 } 704 704 } 705 706 // localIndexToWriteOnServer.resize(writtenGlobalIndex.numElements()); 707 // nbWritten = 0; 708 // for (itSrv = itSrvb; itSrv != itSrve; ++itSrv) 709 // { 710 // indGlo = *itSrv; 711 // if (ite != globalLocalIndexMap_.find(indGlo)) 712 // { 713 // localIndexToWriteOnServer(nbWritten) = globalLocalIndexMap_[indGlo]; 714 // } 715 // else 716 // { 717 // localIndexToWriteOnServer(nbWritten) = -1; 718 // } 719 // ++nbWritten; 720 // } 705 721 706 722 localIndexToWriteOnServer.resize(writtenGlobalIndex.numElements()); … … 1293 1309 if (0 == globalLocalIndexMap_.count(gloInd)) 1294 1310 { 1295 index(nbIndLoc) = gloInd % n_glo; 1296 globalLocalIndexMap_[gloInd] = nbIndLoc; 1311 index(nbIndexGlob) = gloInd % n_glo; 1312 globalLocalIndexMap_[gloInd] = nbIndexGlob; 1313 // index(nbIndLoc) = gloInd % n_glo; 1314 // globalLocalIndexMap_[gloInd] = nbIndLoc; 1297 1315 ++nbIndexGlob; 1298 1316 } … … 1345 1363 } 1346 1364 1347 int nbCompressedData = 0; 1365 int nbCompressedData = 0; 1348 1366 for (idx = 0; idx < nonCompressedData.numElements(); ++idx) 1349 1367 { 1350 1368 if (0 <= nonCompressedData(idx)) 1351 ++nbCompressedData; 1369 ++nbCompressedData; 1352 1370 } 1353 1371 … … 1359 1377 { 1360 1378 data_index(nbCompressedData) = idx % n; 1361 ++nbCompressedData; 1379 ++nbCompressedData; 1362 1380 } 1363 1381 } … … 1476 1494 clientsSet.insert(contextClient); 1477 1495 } 1478 }1496 } 1479 1497 1480 1498 void CAxis::parse(xml::CXMLNode & node)
Note: See TracChangeset
for help on using the changeset viewer.