Commit adbee378 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[pnm][multishapelocalrules] Deprecate makeParams()

* function doesn't add any value
* use ctor of BasicParams directly
parent b1910d7f
......@@ -102,6 +102,7 @@ public:
{ return 2; }
template<class SpatialParams, class Element, class SubControlVolume, class ElemSol>
[[deprecated("Use constructor of BasicParams directly. Will be removed before release 3.4")]]
static BasicParams makeParams(const SpatialParams& spatialParams,
const Element& element,
const SubControlVolume& scv,
......@@ -185,7 +185,7 @@ public:
const SubControlVolume& scv,
const ElementSolution& elemSol) const
const auto params = LocalRules::makeParams(*this, element, scv, elemSol);
const auto params = typename LocalRules::BasicParams(*this, element, scv, elemSol);
return makeFluidMatrixInteraction(LocalRules(params, "SpatialParams"));
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