mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
changed: remove NEW_TYPE_TAG macro usage
This commit is contained in:
@@ -76,13 +76,16 @@
|
||||
}
|
||||
|
||||
|
||||
BEGIN_PROPERTIES
|
||||
|
||||
NEW_TYPE_TAG(TestEclOutputTypeTag, INHERITS_FROM(BlackOilModel, EclBaseProblem));
|
||||
namespace Opm::Properties {
|
||||
namespace TTag {
|
||||
struct TestEclOutputTypeTag {
|
||||
using InheritsFrom = std::tuple<EclBaseProblem, BlackOilModel>;
|
||||
};
|
||||
}
|
||||
SET_BOOL_PROP(TestEclOutputTypeTag, EnableGravity, false);
|
||||
SET_BOOL_PROP(TestEclOutputTypeTag, EnableAsyncEclOutput, false);
|
||||
|
||||
END_PROPERTIES
|
||||
} // namespace Opm::Properties
|
||||
|
||||
namespace {
|
||||
std::unique_ptr<Opm::EclIO::ESmry> readsum(const std::string& base)
|
||||
|
||||
+7
-5
@@ -70,11 +70,13 @@
|
||||
throw std::runtime_error("Test condition failed"); \
|
||||
}
|
||||
|
||||
BEGIN_PROPERTIES
|
||||
|
||||
NEW_TYPE_TAG(TestEquilTypeTag, INHERITS_FROM(BlackOilModel, EclBaseProblem));
|
||||
|
||||
END_PROPERTIES
|
||||
namespace Opm::Properties {
|
||||
namespace TTag {
|
||||
struct TestEquilTypeTag {
|
||||
using InheritsFrom = std::tuple<EclBaseProblem, BlackOilModel>;
|
||||
};
|
||||
}
|
||||
} // namespace Opm::Properties
|
||||
|
||||
template <class TypeTag>
|
||||
std::unique_ptr<Opm::GetPropType<TypeTag, Opm::Properties::Simulator>>
|
||||
|
||||
Reference in New Issue
Block a user