From b5a7383befbe8a0c2ea3de00697a5bea6f50d50c Mon Sep 17 00:00:00 2001 From: Andreas Lauser <and@poware.org> Date: Tue, 31 Jan 2012 14:37:48 +0000 Subject: [PATCH] make the Mp-Nc model compile git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7579 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/boxmodels/MpNc/MpNcnewtoncontroller.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/boxmodels/MpNc/MpNcnewtoncontroller.hh b/dumux/boxmodels/MpNc/MpNcnewtoncontroller.hh index beba505cc0..9c3f0a9bbb 100644 --- a/dumux/boxmodels/MpNc/MpNcnewtoncontroller.hh +++ b/dumux/boxmodels/MpNc/MpNcnewtoncontroller.hh @@ -200,8 +200,8 @@ public: // compute the vertex and element colors for partial // reassembly if (this->enablePartialReassemble_) { - const Scalar minReasmTol = 1e-2*tolerance_; - const Scalar maxReasmTol = 1e1*tolerance_; + const Scalar minReasmTol = 1e-2*this->tolerance_; + const Scalar maxReasmTol = 1e1*this->tolerance_; Scalar reassembleTol = std::max(minReasmTol, std::min(maxReasmTol, this->error_/1e4)); this->model_().jacobianAssembler().updateDiscrepancy(uLastIter, deltaU); -- GitLab