ParallelDebugOutput: initialize globalIndex in serial run too.

This commit is contained in:
Robert Kloefkorn 2015-09-21 12:42:41 +02:00
parent dacb4013ed
commit f63487ad0f

View File

@ -304,6 +304,11 @@ namespace Opm
DistributeIndexMapping distIndexMapping( globalIndex_, otherGrid.globalCell(), localIndexMap_, indexMaps_ );
toIORankComm_.exchange( distIndexMapping );
}
else // serial run
{
// copy global cartesian index
globalIndex_ = otherGrid.globalCell();
}
}
class PackUnPackSimulatorState : public P2PCommunicatorType::DataHandleInterface