Changeset 843 for XIOS/trunk/src/server_distribution_description.cpp
- Timestamp:
- 04/26/16 16:04:04 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/server_distribution_description.cpp
r815 r843 117 117 << "Index begin is larger than index end"); 118 118 119 globalIndex_.rehash(std::ceil((indexEnd-indexBegin+1)/globalIndex_.max_load_factor())); 120 119 121 int dim = nGlobal_.size(); 120 122 std::vector<int> currentIndex(dim); … … 153 155 } 154 156 if ((indexBegin <= globalIndex) && (globalIndex <= indexEnd)) 155 globalIndex_ .insert(std::make_pair<size_t,int>(globalIndex, idxServer));157 globalIndex_[globalIndex] = idxServer; 156 158 ++idx; 157 159 }
Note: See TracChangeset
for help on using the changeset viewer.