Skip to content

Commit

Permalink
voloctree: get octant ids from overlapping ranks only
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocisternino committed May 9, 2023
1 parent 2ceb546 commit 7dcb1d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/voloctree/voloctree_mapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,10 +789,6 @@ std::map<int, std::vector<long>> VolOctreeMapper::getSentReferenceIds()
}
}

for (int rank = 0; rank < m_nProcs; rank++) {
sent[rank].reserve(rankIdSend[rank].size());
}

for (std::map<int, std::set<long>>::iterator it=rankIdSend.begin(); it!=rankIdSend.end(); ++it) {
for (long id : it->second) {
sent[it->first].push_back(id);
Expand Down

0 comments on commit 7dcb1d7

Please sign in to comment.