rename TTag::EclFlowProblem to TTag::FlowProblem

This commit is contained in:
Arne Morten Kvarving 2024-02-06 14:47:31 +01:00
parent 12cc0d7c5b
commit 67c9bba4c9
40 changed files with 93 additions and 101 deletions

View File

@ -41,7 +41,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowProblemAlugrid {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}

View File

@ -39,7 +39,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowProblemPoly {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}

View File

@ -61,7 +61,7 @@ std::vector<int> loadBalanceInZOnly(const Dune::CpGrid& grid)
int main(int argc, char** argv)
{
auto mainObject = std::make_unique<Opm::Main>(argc, argv);
Opm::EclCpGridVanguard<Opm::Properties::TTag::EclFlowProblem>::setExternalLoadBalancer(loadBalanceInZOnly);
Opm::EclCpGridVanguard<Opm::Properties::TTag::FlowProblem>::setExternalLoadBalancer(loadBalanceInZOnly);
auto ret = mainObject->runDynamic();
// Destruct mainObject as the destructor calls MPI_Finalize!
mainObject.reset();

View File

@ -19,23 +19,15 @@
#include <memory>
namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowProblem;
struct EclFlowProblemTPFA {
using InheritsFrom = std::tuple<EclFlowProblem>;
};
}
}
namespace Opm::Properties::TTag {
struct FlowProblem;
struct EclFlowProblemTPFA {
using InheritsFrom = std::tuple<FlowProblem>;
};
}
namespace Opm {
//! \brief Main function used in flow binary.
int flowEbosBlackoilTpfaMain(int argc, char** argv, bool outputCout, bool outputFiles);

View File

@ -24,14 +24,14 @@
namespace Opm {
std::unique_ptr<FlowMain<Properties::TTag::EclFlowProblem>>
std::unique_ptr<FlowMain<Properties::TTag::FlowProblem>>
flowEbosBlackoilMainInit(int argc, char** argv, bool outputCout, bool outputFiles)
{
// we always want to use the default locale, and thus spare us the trouble
// with incorrect locale settings.
resetLocale();
return std::make_unique<FlowMain<Properties::TTag::EclFlowProblem>>(
return std::make_unique<FlowMain<Properties::TTag::FlowProblem>>(
argc, argv, outputCout, outputFiles);
}
@ -44,7 +44,7 @@ int flowEbosBlackoilMain(int argc, char** argv, bool outputCout, bool outputFile
int flowEbosBlackoilMainStandalone(int argc, char** argv)
{
using TypeTag = Properties::TTag::EclFlowProblem;
using TypeTag = Properties::TTag::FlowProblem;
auto mainObject = std::make_unique<Opm::Main>(argc, argv);
auto ret = mainObject->runStatic<TypeTag>();
// Destruct mainObject as the destructor calls MPI_Finalize!

View File

@ -26,13 +26,13 @@ template<class TypeTag> class FlowMain;
namespace Action {
class State;
}
namespace Properties { namespace TTag { struct EclFlowProblem; } }
namespace Properties { namespace TTag { struct FlowProblem; } }
//! \brief Main function used in flow binary.
int flowEbosBlackoilMain(int argc, char** argv, bool outputCout, bool outputFiles);
//! \brief Initialization function used in flow binary and python simulator.
std::unique_ptr<FlowMain<Properties::TTag::EclFlowProblem>>
std::unique_ptr<FlowMain<Properties::TTag::FlowProblem>>
flowEbosBlackoilMainInit(int argc, char** argv, bool outputCout, bool outputFiles);
//! \brief Main function used in flow_blackoil binary.

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowBrineProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -21,7 +21,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowBrineProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowBrinePrecsaltVapwatProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowBrineSaltPrecipitationProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowEnergyProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowExtboProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowFoamProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -32,7 +32,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasOilProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -53,7 +53,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -31,7 +31,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasOilEnergyProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -31,7 +31,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasOilDiffuseProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -55,7 +55,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -35,7 +35,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasWaterProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -56,7 +56,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -29,7 +29,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasWaterBrineProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>
@ -52,7 +52,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -35,7 +35,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasWaterDissolutionProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -66,7 +66,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -35,7 +35,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasWaterDissolutionDiffuseProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -69,7 +69,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -35,7 +35,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasWaterEnergyProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -74,7 +74,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -29,7 +29,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasWaterSaltprecEnergyProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>
@ -65,7 +65,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -29,7 +29,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasWaterSaltprecVapwatProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>
@ -60,7 +60,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -32,7 +32,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowGasWaterSolventProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -49,7 +49,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -29,7 +29,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowMICPProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>
@ -44,7 +44,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -32,7 +32,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowOilWaterProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -56,7 +56,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -29,7 +29,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowOilWaterBrineProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>
@ -44,7 +44,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -29,7 +29,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowOilWaterPolymerProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>
@ -44,7 +44,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -29,7 +29,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowOilWaterPolymerInjectivityProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>
@ -50,7 +50,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -30,7 +30,7 @@ namespace Properties {
namespace TTag {
struct EclFlowProblemWaterOnly {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
@ -51,7 +51,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -31,7 +31,7 @@ namespace Properties {
namespace TTag {
struct EclFlowProblemWaterOnlyEnergy {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>
@ -46,7 +46,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.
using BaseTypeTag = TTag::EclFlowProblem;
using BaseTypeTag = TTag::FlowProblem;
using FluidSystem = GetPropType<BaseTypeTag, Properties::FluidSystem>;
public:

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowPolymerProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowSolventProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -27,7 +27,7 @@ namespace Opm {
namespace Properties {
namespace TTag {
struct EclFlowSolventFoamProblem {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}
template<class TypeTag>

View File

@ -74,79 +74,79 @@
namespace Opm::Properties {
namespace TTag {
struct EclFlowProblem {
struct FlowProblem {
using InheritsFrom = std::tuple<FlowTimeSteppingParameters, FlowModelParameters,
FlowNonLinearSolver, EclBaseProblem, BlackOilModel>;
};
}
template<class TypeTag>
struct OutputDir<TypeTag, TTag::EclFlowProblem> {
struct OutputDir<TypeTag, TTag::FlowProblem> {
static constexpr auto value = "";
};
template<class TypeTag>
struct EnableDebuggingChecks<TypeTag, TTag::EclFlowProblem> {
struct EnableDebuggingChecks<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
// default in flow is to formulate the equations in surface volumes
template<class TypeTag>
struct BlackoilConserveSurfaceVolume<TypeTag, TTag::EclFlowProblem> {
struct BlackoilConserveSurfaceVolume<TypeTag, TTag::FlowProblem> {
static constexpr bool value = true;
};
template<class TypeTag>
struct UseVolumetricResidual<TypeTag, TTag::EclFlowProblem> {
struct UseVolumetricResidual<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EclAquiferModel<TypeTag, TTag::EclFlowProblem> {
struct EclAquiferModel<TypeTag, TTag::FlowProblem> {
using type = BlackoilAquiferModel<TypeTag>;
};
// disable all extensions supported by black oil model. this should not really be
// necessary but it makes things a bit more explicit
template<class TypeTag>
struct EnablePolymer<TypeTag, TTag::EclFlowProblem> {
struct EnablePolymer<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EnableSolvent<TypeTag, TTag::EclFlowProblem> {
struct EnableSolvent<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EnableTemperature<TypeTag, TTag::EclFlowProblem> {
struct EnableTemperature<TypeTag, TTag::FlowProblem> {
static constexpr bool value = true;
};
template<class TypeTag>
struct EnableEnergy<TypeTag, TTag::EclFlowProblem> {
struct EnableEnergy<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EnableFoam<TypeTag, TTag::EclFlowProblem> {
struct EnableFoam<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EnableBrine<TypeTag, TTag::EclFlowProblem> {
struct EnableBrine<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EnableSaltPrecipitation<TypeTag, TTag::EclFlowProblem> {
struct EnableSaltPrecipitation<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EnableMICP<TypeTag, TTag::EclFlowProblem> {
struct EnableMICP<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EnableDispersion<TypeTag, TTag::EclFlowProblem> {
struct EnableDispersion<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct EclWellModel<TypeTag, TTag::EclFlowProblem> {
struct EclWellModel<TypeTag, TTag::FlowProblem> {
using type = BlackoilWellModel<TypeTag>;
};
template<class TypeTag>
struct LinearSolverSplice<TypeTag, TTag::EclFlowProblem> {
struct LinearSolverSplice<TypeTag, TTag::FlowProblem> {
using type = TTag::FlowIstlSolver;
};

View File

@ -58,16 +58,16 @@ struct EnableLoggingFalloutWarning {
// TODO: enumeration parameters. we use strings for now.
template<class TypeTag>
struct EnableDryRun<TypeTag, TTag::EclFlowProblem> {
struct EnableDryRun<TypeTag, TTag::FlowProblem> {
static constexpr auto value = "auto";
};
// Do not merge parallel output files or warn about them
template<class TypeTag>
struct EnableLoggingFalloutWarning<TypeTag, TTag::EclFlowProblem> {
struct EnableLoggingFalloutWarning<TypeTag, TTag::FlowProblem> {
static constexpr bool value = false;
};
template<class TypeTag>
struct OutputInterval<TypeTag, TTag::EclFlowProblem> {
struct OutputInterval<TypeTag, TTag::FlowProblem> {
static constexpr int value = 1;
};

View File

@ -93,7 +93,7 @@ namespace Opm::Properties {
// simulator.
namespace TTag {
struct FlowEarlyBird {
using InheritsFrom = std::tuple<EclFlowProblem>;
using InheritsFrom = std::tuple<FlowProblem>;
};
}

View File

@ -95,40 +95,40 @@ struct LoadFile
};
template<class TypeTag>
struct EnableTerminalOutput<TypeTag, TTag::EclFlowProblem> {
struct EnableTerminalOutput<TypeTag, TTag::FlowProblem> {
static constexpr bool value = true;
};
template<class TypeTag>
struct EnableAdaptiveTimeStepping<TypeTag, TTag::EclFlowProblem> {
struct EnableAdaptiveTimeStepping<TypeTag, TTag::FlowProblem> {
static constexpr bool value = true;
};
template <class TypeTag>
struct OutputExtraConvergenceInfo<TypeTag, TTag::EclFlowProblem>
struct OutputExtraConvergenceInfo<TypeTag, TTag::FlowProblem>
{
static constexpr auto* value = "none";
};
template <class TypeTag>
struct SaveStep<TypeTag, TTag::EclFlowProblem>
struct SaveStep<TypeTag, TTag::FlowProblem>
{
static constexpr auto* value = "";
};
template <class TypeTag>
struct SaveFile<TypeTag, TTag::EclFlowProblem>
struct SaveFile<TypeTag, TTag::FlowProblem>
{
static constexpr auto* value = "";
};
template <class TypeTag>
struct LoadFile<TypeTag, TTag::EclFlowProblem>
struct LoadFile<TypeTag, TTag::FlowProblem>
{
static constexpr auto* value = "";
};
template <class TypeTag>
struct LoadStep<TypeTag, TTag::EclFlowProblem>
struct LoadStep<TypeTag, TTag::FlowProblem>
{
static constexpr int value = -1;
};

View File

@ -107,7 +107,7 @@ struct GliftFixture {
Dune::MPIHelper::instance(argc, argv);
#endif
Opm::EclGenericVanguard::setCommunication(std::make_unique<Opm::Parallel::Communication>());
using TypeTag = Opm::Properties::TTag::EclFlowProblem;
using TypeTag = Opm::Properties::TTag::FlowProblem;
Opm::registerAllParameters_<TypeTag>();
}
};
@ -118,7 +118,7 @@ BOOST_GLOBAL_FIXTURE(GliftFixture);
BOOST_AUTO_TEST_CASE(G1)
{
//using TypeTag = Opm::Properties::TTag::EclFlowProblem;
//using TypeTag = Opm::Properties::TTag::FlowProblem;
using TypeTag = Opm::Properties::TTag::TestGliftTypeTag;
//using EclProblem = Opm::EclProblem<TypeTag>;
//using EclWellModel = typename EclProblem::EclWellModel;

View File

@ -58,7 +58,7 @@
using StandardWell = Opm::StandardWell<Opm::Properties::TTag::EclFlowProblem>;
using StandardWell = Opm::StandardWell<Opm::Properties::TTag::FlowProblem>;
struct SetupTest {
@ -101,7 +101,7 @@ struct GlobalFixture {
Dune::MPIHelper::instance(argcDummy, argvDummy);
#endif
Opm::FlowMain<Opm::Properties::TTag::EclFlowProblem>::setupParameters_(argcDummy, argvDummy, Dune::MPIHelper::getCommunication());
Opm::FlowMain<Opm::Properties::TTag::FlowProblem>::setupParameters_(argcDummy, argvDummy, Dune::MPIHelper::getCommunication());
}
};
@ -112,7 +112,7 @@ BOOST_AUTO_TEST_CASE(TestStandardWellInput) {
const auto& wells_ecl = setup_test.schedule->getWells(setup_test.current_timestep);
BOOST_CHECK_EQUAL( wells_ecl.size(), 2);
const Opm::Well& well = wells_ecl[1];
const Opm::BlackoilModelParameters<Opm::Properties::TTag::EclFlowProblem> param;
const Opm::BlackoilModelParameters<Opm::Properties::TTag::FlowProblem> param;
// For the conversion between the surface volume rate and resrevoir voidage rate
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
@ -145,7 +145,7 @@ BOOST_AUTO_TEST_CASE(TestBehavoir) {
{
const int nw = wells_ecl.size();
const Opm::BlackoilModelParameters<Opm::Properties::TTag::EclFlowProblem> param;
const Opm::BlackoilModelParameters<Opm::Properties::TTag::FlowProblem> param;
for (int w = 0; w < nw; ++w) {
// For the conversion between the surface volume rate and resrevoir voidage rate