Remove unused well objects from TransportSolverTwophaseImplicit.
This commit is contained in:
parent
e2afd671f0
commit
d13fed6cab
@ -349,7 +349,6 @@ namespace Opm
|
||||
std::vector<double> porevol;
|
||||
computePorevolume(grid, props.porosity(), porevol);
|
||||
tsolver_.reset(new Opm::TransportSolverTwophaseImplicit(
|
||||
wells_manager,
|
||||
*rock_comp_props,
|
||||
grid,
|
||||
props,
|
||||
|
@ -35,7 +35,6 @@ namespace Opm
|
||||
{
|
||||
|
||||
TransportSolverTwophaseImplicit::TransportSolverTwophaseImplicit(
|
||||
const Opm::WellsManager& wells,
|
||||
const Opm::RockCompressibility& rock_comp,
|
||||
const UnstructuredGrid& grid,
|
||||
const Opm::IncompPropertiesInterface& props,
|
||||
@ -48,8 +47,7 @@ namespace Opm
|
||||
tsolver_(model_),
|
||||
grid_(grid),
|
||||
props_(props),
|
||||
rock_comp_(rock_comp),
|
||||
wells_(wells)
|
||||
rock_comp_(rock_comp)
|
||||
{
|
||||
ctrl_.max_it = param.getDefault("max_it", 20);
|
||||
ctrl_.verbosity = param.getDefault("verbosity", 0);
|
||||
|
@ -60,8 +60,7 @@ namespace Opm
|
||||
/// \param[in] props Rock and fluid properties.
|
||||
/// \param[in] tol Tolerance used in the solver.
|
||||
/// \param[in] maxit Maximum number of non-linear iterations used.
|
||||
TransportSolverTwophaseImplicit(const Opm::WellsManager& wells,
|
||||
const Opm::RockCompressibility& rock_comp,
|
||||
TransportSolverTwophaseImplicit(const Opm::RockCompressibility& rock_comp,
|
||||
const UnstructuredGrid& grid,
|
||||
const Opm::IncompPropertiesInterface& props,
|
||||
const std::vector<double>& porevol,
|
||||
@ -117,7 +116,6 @@ namespace Opm
|
||||
Opm::ImplicitTransportDetails::NRControl ctrl_;
|
||||
const Opm::IncompPropertiesInterface& props_;
|
||||
const Opm::RockCompressibility& rock_comp_;
|
||||
const Opm::WellsManager& wells_;
|
||||
TransportSource* tsrc_;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user