[properties] replace macro calls by native C++

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

View File

@@ -33,12 +33,15 @@
BEGIN_PROPERTIES
NEW_TYPE_TAG(DiffusionProblem, INHERITS_FROM(NcpModel, DiffusionBaseProblem));
// Create new type tags
namespace TTag {
struct DiffusionProblem { using InheritsFrom = std::tuple<DiffusionBaseProblem, NcpModel>; };
} // end namespace TTag
END_PROPERTIES
int main(int argc, char **argv)
{
typedef TTAG(DiffusionProblem) ProblemTypeTag;
typedef Opm::Properties::TTag::DiffusionProblem ProblemTypeTag;
return Opm::start<ProblemTypeTag>(argc, argv);
}