mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Commit to save changes.
This commit is contained in:
@@ -306,6 +306,9 @@ namespace {
|
|||||||
std::cin.ignore();
|
std::cin.ignore();
|
||||||
|
|
||||||
V dxOld = V::Zero(linearSize);
|
V dxOld = V::Zero(linearSize);
|
||||||
|
|
||||||
|
bool isOscillate;
|
||||||
|
bool isStagnat;
|
||||||
|
|
||||||
while ((!converged) && (it < maxit)) {
|
while ((!converged) && (it < maxit)) {
|
||||||
V dx = solveJacobianSystem();
|
V dx = solveJacobianSystem();
|
||||||
@@ -320,6 +323,8 @@ namespace {
|
|||||||
residual_history.push_back(rLpInfinity);
|
residual_history.push_back(rLpInfinity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const double relaxRelTol = 0.2;
|
||||||
|
|
||||||
converged = getConvergence(dt);
|
converged = getConvergence(dt);
|
||||||
|
|
||||||
it += 1;
|
it += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user