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

@@ -69,7 +69,7 @@ namespace Opm
class FlowMainEbos
{
public:
typedef typename GET_PROP(TypeTag, MaterialLaw)::EclMaterialLawManager MaterialLawManager;
using MaterialLawManager = typename GetProp<TypeTag, Properties::MaterialLaw>::EclMaterialLawManager;
using EbosSimulator = GetPropType<TypeTag, Properties::Simulator>;
using Grid = GetPropType<TypeTag, Properties::Grid>;
using GridView = GetPropType<TypeTag, Properties::GridView>;
@@ -89,7 +89,7 @@ namespace Opm
// Read the command line parameters. Throws an exception if something goes wrong.
static int setupParameters_(int argc, char** argv)
{
using ParamsMeta = typename GET_PROP(TypeTag, ParameterMetaData);
using ParamsMeta = GetProp<TypeTag, Properties::ParameterMetaData>;
if (!ParamsMeta::registrationOpen()) {
// We have already successfully run setupParameters_().
// For the dynamically chosen runs (as from the main flow