From 7357da1440a9bd446b0603f29f70eb12d3fefd7f Mon Sep 17 00:00:00 2001
From: Klaus Mosthaf <klmos@env.dtu.dk>
Date: Thu, 24 Oct 2013 15:20:03 +0000
Subject: [PATCH] Added deprecation warning and include in
 diffusivitymillingtonquirk.hh, which was moved one folder up

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11807 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 .../2p/diffusivitymillingtonquirk.hh          | 73 +------------------
 1 file changed, 2 insertions(+), 71 deletions(-)

diff --git a/dumux/material/fluidmatrixinteractions/2p/diffusivitymillingtonquirk.hh b/dumux/material/fluidmatrixinteractions/2p/diffusivitymillingtonquirk.hh
index 0289bdd5b1..60c30a88df 100644
--- a/dumux/material/fluidmatrixinteractions/2p/diffusivitymillingtonquirk.hh
+++ b/dumux/material/fluidmatrixinteractions/2p/diffusivitymillingtonquirk.hh
@@ -1,72 +1,3 @@
-// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-// vi: set et ts=4 sw=4 sts=4:
-/*****************************************************************************
- *   See the file COPYING for full copying permissions.                      *
- *                                                                           *
- *   This program is free software: you can redistribute it and/or modify    *
- *   it under the terms of the GNU General Public License as published by    *
- *   the Free Software Foundation, either version 2 of the License, or       *
- *   (at your option) any later version.                                     *
- *                                                                           *
- *   This program is distributed in the hope that it will be useful,         *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of          *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the            *
- *   GNU General Public License for more details.                            *
- *                                                                           *
- *   You should have received a copy of the GNU General Public License       *
- *   along with this program.  If not, see <http://www.gnu.org/licenses/>.   *
- *****************************************************************************/
-/*!
- * \file
- *
- * \brief   Relation for the saturation-dependent effective diffusion coefficient
- */
-#ifndef DIFFUSIVITY_MILLINGTON_QUIRK_HH
-#define DIFFUSIVITY_MILLINGTON_QUIRK_HH
+#warning This file is deprecated. Include dumux/material/fluidmatrixinteractions/diffusivitymillingtonquirk.hh instead.
 
-#include <algorithm>
-
-namespace Dumux
-{
-/*!
- * \ingroup fluidmatrixinteractionslaws
- *
- * \brief Relation for the saturation-dependent effective diffusion coefficient
- *
- *
- * The material law is:
- * \f[
- \lambda_\text{eff} = \phi * S_w * \tau * D
- \f]
- *
- * with
- * \f[
- \tau = \frac{1}{\phi^2} * \left(\phi S_w\right)^{7/3}
- \f]
- *
- */
-template<class Scalar>
-class DiffusivityMillingtonQuirk
-{
-public:
-    /*!
-     * \brief Returns the effective diffusion coefficient \f$[m/s]\f$ after Millington Quirk.
-     *
-     * \param porosity The porosity
-     * \param saturation The saturation of the phase
-     * \param diffCoeff The diffusion coefficient of the phase
-     *
-     */
-    static Scalar effectiveDiffusivity(const Scalar porosity,
-                                               const Scalar saturation,
-                                               const Scalar diffCoeff)
-
-    {
-    	Scalar tau = 1.0/(porosity * porosity) *
-    				pow(porosity * saturation, 7.0/3);
-
-    	return porosity * saturation * tau * diffCoeff;
-    }
-};
-}
-#endif
+#include <dumux/material/fluidmatrixinteractions/diffusivitymillingtonquirk.hh>
-- 
GitLab