mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Updated OutputWriter signature.
This commit is contained in:
@@ -657,9 +657,8 @@ namespace Opm
|
||||
const Grid& grid = grid_init_->grid();
|
||||
if( output && output_ecl && output_cout_)
|
||||
{
|
||||
EclipseWriter writer(eclipse_state_,
|
||||
Opm::UgGridHelpers::numCells(grid),
|
||||
Opm::UgGridHelpers::globalCell(grid));
|
||||
const EclipseGrid& inputGrid = *eclipse_state_->getInputGrid();
|
||||
EclipseWriter writer(eclipse_state_, UgGridHelpers::createEclipseGrid( grid , inputGrid ));
|
||||
writer.writeInitAndEgrid(geoprops_->simProps(grid),
|
||||
geoprops_->nonCartesianConnections());
|
||||
}
|
||||
|
||||
@@ -336,9 +336,7 @@ namespace Opm
|
||||
new BlackoilMatlabWriter< Grid >( grid, outputDir_ ) : 0 ),
|
||||
eclWriter_( output_ && parallelOutput_->isIORank() &&
|
||||
param.getDefault("output_ecl", true) ?
|
||||
new EclipseWriter(eclipseState,
|
||||
parallelOutput_->numCells(),
|
||||
parallelOutput_->globalCell())
|
||||
new EclipseWriter(eclipseState,UgGridHelpers::createEclipseGrid( grid , *eclipseState->getInputGrid()))
|
||||
: 0 ),
|
||||
eclipseState_(eclipseState),
|
||||
asyncOutput_()
|
||||
|
||||
Reference in New Issue
Block a user