changed: remove TTAG macro calls

This commit is contained in:
Arne Morten Kvarving
2020-08-21 13:59:53 +02:00
parent 8148a81ed0
commit 82a35e53b7
30 changed files with 82 additions and 82 deletions

View File

@@ -43,7 +43,7 @@ private:
// it is unfortunately not possible to simply use 'TypeTag' here because this leads
// to cyclic definitions of some properties. if this happens the compiler error
// messages unfortunately are *really* confusing and not really helpful.
typedef typename GET_PROP_TYPE(TTAG(EbosTypeTag), FluidSystem) FluidSystem;
typedef typename GET_PROP_TYPE(TTag::EbosTypeTag, FluidSystem) FluidSystem;
public:
typedef Opm::BlackOilTwoPhaseIndices<GET_PROP_VALUE(TypeTag, EnableSolvent),
@@ -64,7 +64,7 @@ void ebosOilWaterPolymerSetDeck(Opm::Deck* deck,
Opm::ErrorGuard* errorGuard,
double externalSetupTime)
{
typedef TTAG(EbosOilWaterPolymerTypeTag) ProblemTypeTag;
using ProblemTypeTag = Properties::TTag::EbosOilWaterPolymerTypeTag;
typedef GET_PROP_TYPE(ProblemTypeTag, Vanguard) Vanguard;
Vanguard::setExternalSetupTime(externalSetupTime);
@@ -75,7 +75,7 @@ void ebosOilWaterPolymerSetDeck(Opm::Deck* deck,
int ebosOilWaterPolymerMain(int argc, char **argv)
{
typedef TTAG(EbosOilWaterPolymerTypeTag) ProblemTypeTag;
using ProblemTypeTag = Properties::TTag::EbosOilWaterPolymerTypeTag;
return Opm::startEbos<ProblemTypeTag>(argc, argv);
}