Commit 7ce6dc90 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

Merge branch 'cleanup/fix-depr-warning-stokesdarcy' into 'master'

[stokesdarcy][couplingdata] Fix deprecation warning

See merge request !1677
parents 7ef0580c b8034779
......@@ -423,9 +423,7 @@ protected:
const SubControlVolume<darcyIdx>& scv) const
{
using ThermalConductivityModel = GetPropType<SubDomainTypeTag<darcyIdx>, Properties::ThermalConductivityModel>;
const auto& problem = this->couplingManager().problem(darcyIdx);
return Deprecated::template effectiveThermalConductivity<ThermalConductivityModel>(
volVars, problem.spatialParams(), fvGeometry.fvGridGeometry().element(scv), fvGeometry, scv);
return ThermalConductivityModel::effectiveThermalConductivity(volVars);
}
/*!
......
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