mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
Pass ref instead of shared pointer to initEquil
This commit is contained in:
parent
31bfb22273
commit
2a7d7b8ae5
@ -642,7 +642,7 @@ namespace Opm
|
||||
FluidSystem::initFromDeck(*deck_ , *eclipse_state_);
|
||||
typedef EQUIL::DeckDependent::InitialStateComputer<FluidSystem> ISC;
|
||||
|
||||
ISC isc(material_law_manager_, *eclipse_state_, grid, gravity_[2]);
|
||||
ISC isc(*material_law_manager_, *eclipse_state_, grid, gravity_[2]);
|
||||
|
||||
const bool oil = FluidSystem::phaseIsActive(FluidSystem::oilPhaseIdx);
|
||||
const int oilpos = FluidSystem::oilPhaseIdx;
|
||||
|
@ -539,7 +539,7 @@ namespace Opm
|
||||
|
||||
typedef EQUIL::DeckDependent::InitialStateComputer<FluidSystem> ISC;
|
||||
|
||||
ISC isc(materialLawManager(), eclState(), grid, gravity());
|
||||
ISC isc(*materialLawManager(), eclState(), grid, gravity());
|
||||
|
||||
const bool oil = FluidSystem::phaseIsActive(FluidSystem::oilPhaseIdx);
|
||||
const int oilpos = FluidSystem::oilPhaseIdx;
|
||||
|
Loading…
Reference in New Issue
Block a user