From 2cb3ae6800b58c026c78fc7410e07c37bf5468f0 Mon Sep 17 00:00:00 2001
From: Andreas Lauser <and@poware.org>
Date: Fri, 16 Dec 2011 13:23:44 +0000
Subject: [PATCH] linear solver: do not use property defaults

gets rid of the deprecation warnings for the box models

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7073 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/linear/linearsolverproperties.hh | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/dumux/linear/linearsolverproperties.hh b/dumux/linear/linearsolverproperties.hh
index ffd561da9c..f6e82ca912 100644
--- a/dumux/linear/linearsolverproperties.hh
+++ b/dumux/linear/linearsolverproperties.hh
@@ -73,28 +73,16 @@ NEW_PROP_TAG(GMResRestart);
  */
 NEW_PROP_TAG(LinearSolverBlockSize);
 
-SET_PROP_DEFAULT(LinearSolverVerbosity)
-{public:
-    static constexpr int value = 0;
-};
+SET_INT_PROP(LinearSolverTypeTag, LinearSolverVerbosity, 0);
 
 //! set the preconditioner relaxation parameter to 1.0 by default
-SET_PROP_DEFAULT(PreconditionerRelaxation)
-{public:
-    static constexpr double value = 1.0;
-};
+SET_SCALAR_PROP(LinearSolverTypeTag, PreconditionerRelaxation, 1.0);
 
 //! set the preconditioner iterations to 1 by default
-SET_PROP_DEFAULT(PreconditionerIterations)
-{public:
-    static constexpr int value = 1;
-};
+SET_INT_PROP(LinearSolverTypeTag, PreconditionerIterations, 1);
 
 //! set the GMRes restart parameter to 10 by default
-SET_PROP_DEFAULT(GMResRestart)
-{public:
-    static constexpr int value = 10;
-};
+SET_INT_PROP(LinearSolverTypeTag, GMResRestart, 10);
 
 } // namespace Properties
 } // namespace Dumux
-- 
GitLab