Skip to content
Snippets Groups Projects
Commit 0ddeaa30 authored by Andreas Lauser's avatar Andreas Lauser
Browse files

tabulated component: disable range check

for the "intelligent" the tabulation, alphas can be well out of range
[0, 1]

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7339 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 6802c6b5
No related branches found
No related tags found
No related merge requests found
......@@ -546,8 +546,7 @@ private:
alphaP1 -= iP1;
alphaP2 -= iP2;
#if !defined NDEBUG
#if 0 && !defined NDEBUG
if(!(0 <= alphaT && alphaT <= 1.0))
DUNE_THROW(NumericalProblem, "Temperature out of range: "
<< "T=" << T << " range: [" << tempMin_ << ", " << tempMax_ << "]");
......@@ -586,7 +585,7 @@ private:
alphaP1 -= iP1;
alphaP2 -= iP2;
#if !defined NDEBUG
#if 0 && !defined NDEBUG
if(!(0 <= alphaT && alphaT <= 1.0))
DUNE_THROW(NumericalProblem, "Temperature out of range: "
<< "T=" << T << " range: [" << tempMin_ << ", " << tempMax_ << "]");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment