mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
[properties] replace macro calls by native C++
This commit is contained in:
1 parent
2e13e846ff
commit
880c5223ac
201 files changed
+3253
-2436
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user