Skip to content
Snippets Groups Projects
Commit 4091398b authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/chain-rule-efftoabs-law' into 'master'

[material] Fixed chain rule for rel perm in effToAbsLaw

See merge request !367
parent 5651c5a2
No related branches found
No related tags found
2 merge requests!617[WIP] Next,!369Merge branch 'fix/chain-rule-efftoabs-law' into 'next'
......@@ -172,7 +172,7 @@ public:
*/
static Scalar dkrw_dsw(const Params &params, Scalar sw)
{
return EffLaw::dkrw_dswe(params, swToSwe(params, sw));
return EffLaw::dkrw_dswe(params, swToSwe(params, sw))*dswe_dsw_(params);
}
/*!
......@@ -201,7 +201,7 @@ public:
*/
static Scalar dkrn_dsw(const Params &params, Scalar sw)
{
return EffLaw::dkrn_dswe(params, swToSwe(params, sw));
return EffLaw::dkrn_dswe(params, swToSwe(params, sw))*dswe_dsw_(params);
}
/*!
......
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