changed: remove NEW_TYPE_TAG macro usage

This commit is contained in:
Arne Morten Kvarving
2020-08-27 10:30:29 +02:00
parent 914053ac3c
commit e8248b44ff
42 changed files with 213 additions and 56 deletions

View File

@@ -41,7 +41,9 @@ class ISTLSolverEbos;
namespace Opm::Properties {
NEW_TYPE_TAG(FlowIstlSolverParams);
namespace TTag {
struct FlowIstlSolverParams {};
}
NEW_PROP_TAG(LinearSolverReduction);
NEW_PROP_TAG(IluRelaxation);

View File

@@ -56,7 +56,11 @@
namespace Opm::Properties {
NEW_TYPE_TAG(FlowIstlSolver, INHERITS_FROM(FlowIstlSolverParams));
namespace TTag {
struct FlowIstlSolver {
using InheritsFrom = std::tuple<FlowIstlSolverParams>;
};
}
template <class TypeTag, class MyTypeTag>
struct EclWellModel;

View File

@@ -35,7 +35,11 @@
namespace Opm::Properties {
NEW_TYPE_TAG(FlowIstlSolverFlexible, INHERITS_FROM(FlowIstlSolverParams));
namespace TTag {
struct FlowIstlSolverFlexible {
using InheritsFrom = std::tuple<FlowIstlSolverParams>;
};
}
} // namespace Opm::Properties