From 95943838f11fe8b5828835f638f54a95f1575c1c Mon Sep 17 00:00:00 2001
From: Thomas Fetzer <thomas.fetzer@iws.uni-stuttgart.de>
Date: Fri, 9 Dec 2016 15:15:56 +0100
Subject: [PATCH] [2pnc] Apply naming convention

(cherry picked from commit c5c293073b6a195dfd1965553b1220f60af45bd8)
---
 .../compositionfromfugacities2pncmin.hh                | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/dumux/material/constraintsolvers/compositionfromfugacities2pncmin.hh b/dumux/material/constraintsolvers/compositionfromfugacities2pncmin.hh
index 1d17f538ff..1596b9ef18 100644
--- a/dumux/material/constraintsolvers/compositionfromfugacities2pncmin.hh
+++ b/dumux/material/constraintsolvers/compositionfromfugacities2pncmin.hh
@@ -25,6 +25,7 @@
 #ifndef DUMUX_COMPOSITION_FROM_FUGACITIES_2PNCMIN_HH
 #define DUMUX_COMPOSITION_FROM_FUGACITIES_2PNCMIN_HH
 
+#include <dune/common/deprecated.hh>
 #include <dune/common/fvector.hh>
 #include <dune/common/fmatrix.hh>
 
@@ -32,14 +33,13 @@
 #include <dumux/common/valgrind.hh>
 
 namespace Dumux {
-
 /*!
  * \ingroup ConstraintSolver
  * \brief Calculates the chemical equilibrium from the component
  *        fugacities in a phase.
  */
 template <class Scalar, class FluidSystem>
-class compositionFromFugacities2pncmin
+class CompositionFromFugacities2pncmin
 {
     enum {
             numComponents = FluidSystem::numComponents,
@@ -142,6 +142,12 @@ protected:
         return;
     }
 };
+
+template <class Scalar, class FluidSystem>
+DUNE_DEPRECATED_MSG("compositionFromFugacities2pncmin is deprecated. Use CompositionFromFugacities2pncmin (capital C) instead.")
+class compositionFromFugacities2pncmin
+  : public CompositionFromFugacities2pncmin<Scalar, FluidSystem>
+{ };
 } // end namespace Dumux
 
 #endif
-- 
GitLab