Skip to content
Snippets Groups Projects
Commit b1f87621 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

Merge branch 'fix/material-spline-capture' into 'master'

Fix/material spline capture

See merge request !2440
parents 7f01e586 65800cc4
No related branches found
No related tags found
1 merge request!2440Fix/material spline capture
......@@ -90,16 +90,16 @@ public:
numSwSamples_ = getParamFromGroup<Scalar>(paramGroup, "SplineNumSwSamples", 30);
pcSpline_ = makeSweSpline_(
[this](const auto s){ return TwoPMaterialLaw::pc(s); },
[&](const auto s){ return TwoPMaterialLaw::pc(s); },
approximatePcSwInverse
);
krwSpline_ = makeSweSpline_(
[this](const auto s){ return TwoPMaterialLaw::krw(s); }
[&](const auto s){ return TwoPMaterialLaw::krw(s); }
);
krnSpline_ = makeSweSpline_(
[this](const auto s){ return TwoPMaterialLaw::krn(s); }
[&](const auto s){ return TwoPMaterialLaw::krn(s); }
);
}
......
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