mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 17:20:59 -06:00
Rename method linearSolve()->computeNewtonIncrement().
This commit is contained in:
parent
bd44127bd6
commit
9fec84312f
@ -1158,7 +1158,7 @@ namespace {
|
||||
|
||||
V FullyImplicitBlackoilSolver::solveJacobianSystem() const
|
||||
{
|
||||
return linsolver_.linearSolve(residual_);
|
||||
return linsolver_.computeNewtonIncrement(residual_);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user