Commit 73ee6550 authored by Markus Wolff's avatar Markus Wolff
Browse files

case of zero entry pressure added in regularization of dSw/dpc function

git-svn-id: svn:// 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent a5d6ae6e
......@@ -203,6 +203,12 @@ public:
const Scalar Sthres = params.thresholdSw();
//instead of return value = inf, return a very large number
if ( == 0.0)
return 1e100;
// calculate the saturation which corresponds to the
// saturation in the non-regularized version of the
// Brooks-Corey law
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment