mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ParallelDebugOutput: initialize globalIndex in serial run too.
This commit is contained in:
parent
dacb4013ed
commit
f63487ad0f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user