From f0161dc1c9cfeb4b256636531f8554365a70d64f Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Thu, 2 Jun 2016 18:40:44 +0200 Subject: [PATCH] rename MathToolbox::toLhs() to MathToolbox::decay() --- applications/ebos/eclpeacemanwell.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/ebos/eclpeacemanwell.hh b/applications/ebos/eclpeacemanwell.hh index e7c7485f8..d4778c403 100644 --- a/applications/ebos/eclpeacemanwell.hh +++ b/applications/ebos/eclpeacemanwell.hh @@ -1171,14 +1171,14 @@ protected: // well model due to Peaceman; see Chen et al., p. 449 // phase pressure in grid cell - const DofEval& p = DofVarsToolbox::template toLhs(dofVars.pressure[phaseIdx]); + const DofEval& p = DofVarsToolbox::template decay(dofVars.pressure[phaseIdx]); // density and mobility of fluid phase - const DofEval& rho = DofVarsToolbox::template toLhs(dofVars.density[phaseIdx]); + const DofEval& rho = DofVarsToolbox::template decay(dofVars.density[phaseIdx]); DofEval lambda; if (wellType_ == Producer) { //assert(p < pbh); - lambda = DofVarsToolbox::template toLhs(dofVars.mobility[phaseIdx]); + lambda = DofVarsToolbox::template decay(dofVars.mobility[phaseIdx]); } else if (wellType_ == Injector) { //assert(p > pbh); @@ -1191,7 +1191,7 @@ protected: // 1/viscosity... lambda = 0.0; for (unsigned phaseIdx = 0; phaseIdx < numPhases; ++phaseIdx) - lambda += DofVarsToolbox::template toLhs(dofVars.mobility[phaseIdx]); + lambda += DofVarsToolbox::template decay(dofVars.mobility[phaseIdx]); } else OPM_THROW(std::logic_error,