mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-28 20:13:49 -06:00
Remove unused data members and parameters.
This commit is contained in:
parent
023a46fa12
commit
fec6154d81
@ -108,12 +108,8 @@ namespace Opm
|
|||||||
|
|
||||||
/// Construct a system solver.
|
/// Construct a system solver.
|
||||||
/// \param[in] linsolver linear solver to use
|
/// \param[in] linsolver linear solver to use
|
||||||
NewtonIterationBlackoilCPR::NewtonIterationBlackoilCPR(const parameter::ParameterGroup& param)
|
NewtonIterationBlackoilCPR::NewtonIterationBlackoilCPR(const parameter::ParameterGroup& /*param*/)
|
||||||
{
|
{
|
||||||
parameter::ParameterGroup cpr_elliptic = param.getDefault("cpr_elliptic", param);
|
|
||||||
linsolver_elliptic_.reset(new LinearSolverFactory(cpr_elliptic));
|
|
||||||
parameter::ParameterGroup cpr_full = param.getDefault("cpr_full", param);
|
|
||||||
linsolver_full_.reset(new LinearSolverFactory(cpr_full));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ namespace Opm
|
|||||||
/// \param[in] param parameters controlling the behaviour of
|
/// \param[in] param parameters controlling the behaviour of
|
||||||
/// the preconditioning and choice of
|
/// the preconditioning and choice of
|
||||||
/// linear solvers.
|
/// linear solvers.
|
||||||
|
/// Note: parameters currently unused.
|
||||||
NewtonIterationBlackoilCPR(const parameter::ParameterGroup& param);
|
NewtonIterationBlackoilCPR(const parameter::ParameterGroup& param);
|
||||||
|
|
||||||
/// Solve the system of linear equations Ax = b, with A being the
|
/// Solve the system of linear equations Ax = b, with A being the
|
||||||
@ -50,10 +51,6 @@ namespace Opm
|
|||||||
/// \param[in] residual residual object containing A and b.
|
/// \param[in] residual residual object containing A and b.
|
||||||
/// \return the solution x
|
/// \return the solution x
|
||||||
virtual SolutionVector computeNewtonIncrement(const LinearisedBlackoilResidual& residual) const;
|
virtual SolutionVector computeNewtonIncrement(const LinearisedBlackoilResidual& residual) const;
|
||||||
|
|
||||||
private:
|
|
||||||
std::unique_ptr<LinearSolverInterface> linsolver_elliptic_;
|
|
||||||
std::unique_ptr<LinearSolverInterface> linsolver_full_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
Loading…
Reference in New Issue
Block a user