fixed: do not use Opm:: prefix when inside namespace Opm

This commit is contained in:
Arne Morten Kvarving committed 2021-05-05 11:59:18 +02:00
1 parent 6b02180ca3
commit a4c0af09d9
66 files changed
+1017 -1016

No files matched your search

+12 -12
View File
@@ -54,23 +54,23 @@ private:
using FluidSystem = GetPropType<TTag::EbosTypeTag, Properties::FluidSystem>;
public:
typedef Opm::BlackOilTwoPhaseIndices<getPropValue<TypeTag, Properties::EnableSolvent>(),
getPropValue<TypeTag, Properties::EnableExtbo>(),
getPropValue<TypeTag, Properties::EnablePolymer>(),
getPropValue<TypeTag, Properties::EnableEnergy>(),
getPropValue<TypeTag, Properties::EnableFoam>(),
getPropValue<TypeTag, Properties::EnableBrine>(),
/*PVOffset=*/0,
/*disabledCompIdx=*/FluidSystem::gasCompIdx> type;
typedef BlackOilTwoPhaseIndices<getPropValue<TypeTag, Properties::EnableSolvent>(),
getPropValue<TypeTag, Properties::EnableExtbo>(),
getPropValue<TypeTag, Properties::EnablePolymer>(),
getPropValue<TypeTag, Properties::EnableEnergy>(),
getPropValue<TypeTag, Properties::EnableFoam>(),
getPropValue<TypeTag, Properties::EnableBrine>(),
/*PVOffset=*/0,
/*disabledCompIdx=*/FluidSystem::gasCompIdx> type;
};
} // namespace Opm::Properties
namespace Opm {
void ebosOilWaterPolymerSetDeck(std::unique_ptr<Opm::Deck> deck,
std::unique_ptr<Opm::ParseContext> parseContext,
std::unique_ptr<Opm::ErrorGuard> errorGuard,
void ebosOilWaterPolymerSetDeck(std::unique_ptr<Deck> deck,
std::unique_ptr<ParseContext> parseContext,
std::unique_ptr<ErrorGuard> errorGuard,
double externalSetupTime)
{
using ProblemTypeTag = Properties::TTag::EbosOilWaterPolymerTypeTag;
@@ -85,7 +85,7 @@ void ebosOilWaterPolymerSetDeck(std::unique_ptr<Opm::Deck> deck,
int ebosOilWaterPolymerMain(int argc, char **argv)
{
using ProblemTypeTag = Properties::TTag::EbosOilWaterPolymerTypeTag;
return Opm::startEbos<ProblemTypeTag>(argc, argv);
return startEbos<ProblemTypeTag>(argc, argv);
}
}