Revert "Makes CollectDataToIORank::localIndexMap_ have nonzero size when accessing."

This reverts commit dde79daf4ec2004148a58250c4c8af5390251689.

Judging from ParallelDebugOutput.hh this should not be a map from element
index to interior element index, but an a list of indices of all interior
elements. Therefore we need to reserve and later on push_back.
This commit is contained in:
Markus Blatt 2017-01-18 16:29:48 +01:00
parent 6893c8cbdd
commit 4418685056

View File

@ -229,7 +229,7 @@ namespace Ewoms
localIndexMap_.clear();
const size_t gridSize = gridManager.grid().size( 0 );
localIndexMap_.resize( gridSize, -1 );
localIndexMap_.reserve( gridSize );
// store the local Cartesian index
IndexMapType distributedCartesianIndex;