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

[1pnc] Fix default for replaceCompIdx

parent 242743c3
No related branches found
No related tags found
1 merge request!892[pm][ff] Improve indices, move into model traits, [pm] free volume variables from type tag
......@@ -142,13 +142,7 @@ public:
};
//! Set as default that no component mass balance is replaced by the total mass balance
SET_PROP(OnePNC, ReplaceCompEqIdx)
{
private:
using FluidSystem = typename GET_PROP_TYPE(TypeTag, PTAG(FluidSystem));
public:
static constexpr auto value = FluidSystem::numComponents;
};
SET_INT_PROP(OnePNC, ReplaceCompEqIdx, GET_PROP_TYPE(TypeTag, ModelTraits)::numComponents());
/*!
* \brief The fluid state which is used by the volume variables to
......
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