mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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)
|
void updateSolution(const BVector& dx)
|
||||||
{
|
{
|
||||||
OPM_TIMEBLOCK(updateSolution);
|
OPM_TIMEBLOCK(updateSolution);
|
||||||
auto& ebosNewtonMethod = simulator_.model().newtonMethod();
|
auto& newtonMethod = simulator_.model().newtonMethod();
|
||||||
SolutionVector& solution = simulator_.model().solution(/*timeIdx=*/0);
|
SolutionVector& solution = simulator_.model().solution(/*timeIdx=*/0);
|
||||||
|
|
||||||
ebosNewtonMethod.update_(/*nextSolution=*/solution,
|
newtonMethod.update_(/*nextSolution=*/solution,
|
||||||
/*curSolution=*/solution,
|
/*curSolution=*/solution,
|
||||||
/*update=*/dx,
|
/*update=*/dx,
|
||||||
/*resid=*/dx); // the update routines of the black
|
/*resid=*/dx); // the update routines of the black
|
||||||
// oil model do not care about the
|
// oil model do not care about the
|
||||||
// residual
|
// residual
|
||||||
|
|
||||||
// if the solution is updated, the intensive quantities need to be recalculated
|
// if the solution is updated, the intensive quantities need to be recalculated
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user