mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Follow API update of BlackoilOutputWriter
The constructor of class BlackoilOutputWriter gained a new parameter in commit OPM/opm-autodiff@299b0aa (OPM/opm-autodiff#484). Honour new API requirement.
This commit is contained in:
@@ -184,10 +184,6 @@ try
|
||||
grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv));
|
||||
auto &cGrid = *grid->c_grid();
|
||||
const PhaseUsage pu = Opm::phaseUsageFromDeck(deck);
|
||||
Opm::BlackoilOutputWriter outputWriter(cGrid,
|
||||
param,
|
||||
eclipseState,
|
||||
pu );
|
||||
|
||||
// Rock and fluid init
|
||||
|
||||
@@ -285,6 +281,10 @@ try
|
||||
|
||||
std::vector<double> threshold_pressures = thresholdPressures(parseMode, eclipseState, *grid->c_grid());
|
||||
|
||||
Opm::BlackoilOutputWriter
|
||||
outputWriter(cGrid, param, eclipseState, pu,
|
||||
new_props->permeability());
|
||||
|
||||
SimulatorFullyImplicitBlackoilPolymer<UnstructuredGrid>
|
||||
simulator(param,
|
||||
*grid->c_grid(),
|
||||
|
||||
Reference in New Issue
Block a user