From c0fb89359a2a13d12f24793e1d18ce8735744fdd Mon Sep 17 00:00:00 2001
From: Philipp Nuske <philipp.nuske@mailbox.org>
Date: Wed, 5 Oct 2011 08:10:46 +0000
Subject: [PATCH] - adapt the interface of volume variables update. (volVars
 are for now   also function argument)

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6717 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/boxmodels/MpNc/MpNcvolumevariablesia.hh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dumux/boxmodels/MpNc/MpNcvolumevariablesia.hh b/dumux/boxmodels/MpNc/MpNcvolumevariablesia.hh
index 05bb5dfdab..ba3e6e737b 100644
--- a/dumux/boxmodels/MpNc/MpNcvolumevariablesia.hh
+++ b/dumux/boxmodels/MpNc/MpNcvolumevariablesia.hh
@@ -53,6 +53,7 @@ class MPNCVolumeVariablesIA
     typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView;
     typedef typename GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem;
     typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar;
+    typedef typename GET_PROP_TYPE(TypeTag, PTAG(VolumeVariables)) VolumeVariables;
 
     typedef typename GridView::template Codim<0>::Entity Element;
 
@@ -61,7 +62,8 @@ public:
      * \brief Updates the volume specific interfacial area [m^2 / m^3] between the phases.
      */
     template <class MutableParams>
-    void update(const MutableParams & mutParams,
+    void update(const VolumeVariables & volVars,
+                const MutableParams & mutParams,
                 const PrimaryVariables &priVars,
                 const Problem &problem,
                 const Element & element,
-- 
GitLab