Remove unused data members and parameters.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-05-20 15:23:04 +02:00
parent 023a46fa12
commit fec6154d81
2 changed files with 2 additions and 9 deletions

View File

@ -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));
} }

View File

@ -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