Rename method linearSolve()->computeNewtonIncrement().

This commit is contained in:
Atgeirr Flø Rasmussen 2014-04-08 16:16:54 +02:00
parent bd44127bd6
commit 9fec84312f
4 changed files with 4 additions and 4 deletions

View File

@ -1158,7 +1158,7 @@ namespace {
V FullyImplicitBlackoilSolver::solveJacobianSystem() const
{
return linsolver_.linearSolve(residual_);
return linsolver_.computeNewtonIncrement(residual_);
}

View File

@ -37,7 +37,7 @@ namespace Opm
/// being the residual itself.
/// \param[in] residual residual object containing A and b.
/// \return the solution x
virtual SolutionVector linearSolve(const LinearisedBlackoilResidual& residual) const = 0;
virtual SolutionVector computeNewtonIncrement(const LinearisedBlackoilResidual& residual) const = 0;
};
} // namespace Opm

View File

@ -38,7 +38,7 @@ namespace Opm
/// \param[in] residual residual object containing A and b.
/// \return the solution x
NewtonIterationBlackoilSimple::SolutionVector
NewtonIterationBlackoilSimple::linearSolve(const LinearisedBlackoilResidual& residual) const
NewtonIterationBlackoilSimple::computeNewtonIncrement(const LinearisedBlackoilResidual& residual) const
{
typedef LinearisedBlackoilResidual::ADB ADB;
const int np = residual.material_balance_eq.size();

View File

@ -43,7 +43,7 @@ namespace Opm
/// being the residual itself.
/// \param[in] residual residual object containing A and b.
/// \return the solution x
virtual SolutionVector linearSolve(const LinearisedBlackoilResidual& residual) const;
virtual SolutionVector computeNewtonIncrement(const LinearisedBlackoilResidual& residual) const;
private:
const LinearSolverInterface& linsolver_;