mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove the hasDisgas and hasVapoil arguments from SimulatorFullyImplicitBlackoilEbos
They seemed to be unused already. I suspect that were only there for API compatibility reasons.
This commit is contained in:
parent
37b6a540af
commit
5a9b81db33
@ -146,8 +146,7 @@ namespace Opm {
|
||||
BlackoilWellModel<TypeTag>& well_model,
|
||||
BlackoilAquiferModel<TypeTag>& aquifer_model,
|
||||
const NewtonIterationBlackoilInterface& linsolver,
|
||||
const bool terminal_output
|
||||
)
|
||||
const bool terminal_output)
|
||||
: ebosSimulator_(ebosSimulator)
|
||||
, grid_(ebosSimulator_.vanguard().grid())
|
||||
, istlSolver_( dynamic_cast< const ISTLSolverType* > (&linsolver) )
|
||||
|
@ -551,9 +551,7 @@ namespace Opm
|
||||
// Create the simulator instance.
|
||||
simulator_.reset(new Simulator(*ebosSimulator_,
|
||||
param_,
|
||||
*fis_solver_,
|
||||
FluidSystem::enableDissolvedGas(),
|
||||
FluidSystem::enableVaporizedOil()));
|
||||
*fis_solver_));
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -92,17 +92,13 @@ public:
|
||||
/// \param[in] threshold_pressures_by_face if nonempty, threshold pressures that inhibit flow
|
||||
SimulatorFullyImplicitBlackoilEbos(Simulator& ebosSimulator,
|
||||
const ParameterGroup& param,
|
||||
NewtonIterationBlackoilInterface& linsolver,
|
||||
const bool hasDisgas,
|
||||
const bool hasVapoil)
|
||||
NewtonIterationBlackoilInterface& linsolver)
|
||||
: ebosSimulator_(ebosSimulator)
|
||||
, param_(param)
|
||||
, modelParam_(param)
|
||||
, solverParam_(param)
|
||||
, solver_(linsolver)
|
||||
, phaseUsage_(phaseUsageFromDeck(eclState()))
|
||||
, hasDisgas_(hasDisgas)
|
||||
, hasVapoil_(hasVapoil)
|
||||
, terminalOutput_(param.getDefault("output_terminal", true))
|
||||
{
|
||||
#if HAVE_MPI
|
||||
@ -384,8 +380,6 @@ protected:
|
||||
NewtonIterationBlackoilInterface& solver_;
|
||||
PhaseUsage phaseUsage_;
|
||||
// Misc. data
|
||||
const bool hasDisgas_;
|
||||
const bool hasVapoil_;
|
||||
bool terminalOutput_;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user