Skip to content
Snippets Groups Projects
Commit 2cb3ae68 authored by Andreas Lauser's avatar Andreas Lauser
Browse files

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
parent 812d1d28
No related branches found
No related tags found
No related merge requests found
...@@ -73,28 +73,16 @@ NEW_PROP_TAG(GMResRestart); ...@@ -73,28 +73,16 @@ NEW_PROP_TAG(GMResRestart);
*/ */
NEW_PROP_TAG(LinearSolverBlockSize); NEW_PROP_TAG(LinearSolverBlockSize);
SET_PROP_DEFAULT(LinearSolverVerbosity) SET_INT_PROP(LinearSolverTypeTag, LinearSolverVerbosity, 0);
{public:
static constexpr int value = 0;
};
//! set the preconditioner relaxation parameter to 1.0 by default //! set the preconditioner relaxation parameter to 1.0 by default
SET_PROP_DEFAULT(PreconditionerRelaxation) SET_SCALAR_PROP(LinearSolverTypeTag, PreconditionerRelaxation, 1.0);
{public:
static constexpr double value = 1.0;
};
//! set the preconditioner iterations to 1 by default //! set the preconditioner iterations to 1 by default
SET_PROP_DEFAULT(PreconditionerIterations) SET_INT_PROP(LinearSolverTypeTag, PreconditionerIterations, 1);
{public:
static constexpr int value = 1;
};
//! set the GMRes restart parameter to 10 by default //! set the GMRes restart parameter to 10 by default
SET_PROP_DEFAULT(GMResRestart) SET_INT_PROP(LinearSolverTypeTag, GMResRestart, 10);
{public:
static constexpr int value = 10;
};
} // namespace Properties } // namespace Properties
} // namespace Dumux } // namespace Dumux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment