[properties] replace macro calls by native C++

This commit is contained in:
Bernd Flemisch committed 2020-06-08 16:41:02 +02:00
1 parent 2e13e846ff
commit 880c5223ac
201 files changed
+3253 -2436

No files matched your search

+5 -2
View File
@@ -34,13 +34,16 @@
BEGIN_PROPERTIES
NEW_TYPE_TAG(RichardsLensVcfvProblem, INHERITS_FROM(RichardsLensProblem));
// Create new type tags
namespace TTag {
struct RichardsLensVcfvProblem { using InheritsFrom = std::tuple<RichardsLensProblem>; };
} // end namespace TTag
SET_TAG_PROP(RichardsLensVcfvProblem, SpatialDiscretizationSplice, VcfvDiscretization);
END_PROPERTIES
int main(int argc, char **argv)
{
typedef TTAG(RichardsLensVcfvProblem) ProblemTypeTag;
typedef Opm::Properties::TTag::RichardsLensVcfvProblem ProblemTypeTag;
return Opm::start<ProblemTypeTag>(argc, argv);
}