From 39d9302a20feddaf2da5656b9d0333025f6758c3 Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Wed, 18 Jul 2018 13:44:39 +0200 Subject: [PATCH] [material][1padapter] Export index to choose from multiphase fluidsystem --- dumux/material/fluidsystems/1padapter.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dumux/material/fluidsystems/1padapter.hh b/dumux/material/fluidsystems/1padapter.hh index d849958da6..82d45f8b63 100644 --- a/dumux/material/fluidsystems/1padapter.hh +++ b/dumux/material/fluidsystems/1padapter.hh @@ -85,6 +85,8 @@ public: //! export the wrapped MultiPhaseFluidSystem type using MultiPhaseFluidSystem = MPFluidSystem; + //! the index of the phase we choose from the multi-phase fluid system + static constexpr int multiphaseFluidsystemPhaseIdx = phase; //! number of phases in the fluid system static constexpr int numPhases = 1; -- GitLab