mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Call writeInit with global grid and properties.
Previously, the call was made after the grid was distributed. This means that each process wrote it, but only with his cells active which was just a part of the whole domain. With this commit we make the writeInit call before distributing the grid and make sure that only one process calls it.
This commit is contained in:
@@ -72,9 +72,6 @@ namespace Opm
|
||||
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( param_, terminal_output_ ) );
|
||||
}
|
||||
|
||||
// init output writer
|
||||
output_writer_.writeInit( geo_.simProps(grid_) , geo_.nonCartesianConnections( ) );
|
||||
|
||||
std::string restorefilename = param_.getDefault("restorefile", std::string("") );
|
||||
if( ! restorefilename.empty() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user