mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: remove TTAG macro calls
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user