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

@@ -43,7 +43,11 @@ class EbosProblem;
namespace Opm::Properties {
NEW_TYPE_TAG(EbosTypeTag, INHERITS_FROM(BlackOilModel, EclBaseProblem, FlowModelParameters));
namespace TTag {
struct EbosTypeTag {
using InheritsFrom = std::tuple<FlowModelParameters, EclBaseProblem, BlackOilModel>;
};
}
// Set the problem class
SET_TYPE_PROP(EbosTypeTag, Problem, Opm::EbosProblem<TypeTag>);