mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: remove SET_SCALAR_PROP macro usage
This commit is contained in:
@@ -40,7 +40,11 @@ namespace Opm {
|
||||
struct LinearSolverVerbosity<TypeTag, TTag::EclFlowProblemSimple> {
|
||||
static constexpr int value = 0;
|
||||
};
|
||||
SET_SCALAR_PROP(EclFlowProblemSimple, LinearSolverReduction, 1e-2);
|
||||
template<class TypeTag>
|
||||
struct LinearSolverReduction<TypeTag, TTag::EclFlowProblemSimple> {
|
||||
using type = GetPropType<TypeTag, Scalar>;
|
||||
static constexpr type value = 1e-2;
|
||||
};
|
||||
template<class TypeTag>
|
||||
struct LinearSolverMaxIter<TypeTag, TTag::EclFlowProblemSimple> {
|
||||
static constexpr int value = 100;
|
||||
|
||||
Reference in New Issue
Block a user