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

[cleanup][1pnc][properties] Remove unnecessary macro call

parent 2585b752
No related branches found
No related tags found
2 merge requests!1269[1pncmin tests changed],!1211[properties] Add property system implementation without macros and variadic templates
......@@ -153,7 +153,7 @@ SET_INT_PROP(OnePNC, ReplaceCompEqIdx, GET_PROP_TYPE(TypeTag, FluidSystem)::numC
SET_PROP(OnePNC, ModelTraits)
{
private:
using FluidSystem = typename GET_PROP_TYPE(TypeTag, PTAG(FluidSystem));
using FluidSystem = typename GET_PROP_TYPE(TypeTag, FluidSystem);
public:
using type = OnePNCModelTraits<FluidSystem::numComponents, GET_PROP_VALUE(TypeTag, UseMoles), GET_PROP_VALUE(TypeTag, ReplaceCompEqIdx)>;
};
......@@ -225,7 +225,7 @@ SET_TYPE_PROP(OnePNCNI,
SET_PROP(OnePNCNI, ModelTraits)
{
private:
using FluidSystem = typename GET_PROP_TYPE(TypeTag, PTAG(FluidSystem));
using FluidSystem = typename GET_PROP_TYPE(TypeTag, FluidSystem);
using IsothermalTraits = OnePNCModelTraits<FluidSystem::numComponents, GET_PROP_VALUE(TypeTag, UseMoles), GET_PROP_VALUE(TypeTag, ReplaceCompEqIdx)>;
public:
using type = PorousMediumFlowNIModelTraits<IsothermalTraits>;
......
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