mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
BlackoilModel: rename ebosNewtonMethod to newtonMethod
This commit is contained in:
parent
9a4d984322
commit
aaaf230724
@ -690,15 +690,15 @@ namespace Opm {
|
||||
void updateSolution(const BVector& dx)
|
||||
{
|
||||
OPM_TIMEBLOCK(updateSolution);
|
||||
auto& ebosNewtonMethod = simulator_.model().newtonMethod();
|
||||
auto& newtonMethod = simulator_.model().newtonMethod();
|
||||
SolutionVector& solution = simulator_.model().solution(/*timeIdx=*/0);
|
||||
|
||||
ebosNewtonMethod.update_(/*nextSolution=*/solution,
|
||||
/*curSolution=*/solution,
|
||||
/*update=*/dx,
|
||||
/*resid=*/dx); // the update routines of the black
|
||||
// oil model do not care about the
|
||||
// residual
|
||||
newtonMethod.update_(/*nextSolution=*/solution,
|
||||
/*curSolution=*/solution,
|
||||
/*update=*/dx,
|
||||
/*resid=*/dx); // the update routines of the black
|
||||
// oil model do not care about the
|
||||
// residual
|
||||
|
||||
// if the solution is updated, the intensive quantities need to be recalculated
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user