Merge pull request #5201 from akva2/rename_typetag_entries

Drop Ecl from two typetag entries/cl-parameters
This commit is contained in:
Markus Blatt
2024-02-23 11:29:33 +01:00
committed by GitHub
8 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ struct EnableExperiments<TypeTag, TTag::EbosTypeTag> {
// use flow's well model for now
template<class TypeTag>
struct EclWellModel<TypeTag, TTag::EbosTypeTag> {
struct WellModel<TypeTag, TTag::EbosTypeTag> {
using type = BlackoilWellModel<TypeTag>;
};
@@ -103,7 +103,7 @@ struct UseVolumetricResidual<TypeTag, TTag::EbosTypeTag> {
// by default use flow's aquifer model for now
template<class TypeTag>
struct EclAquiferModel<TypeTag, TTag::EbosTypeTag> {
struct AquiferModel<TypeTag, TTag::EbosTypeTag> {
using type = BlackoilAquiferModel<TypeTag>;
};
+8 -8
View File
@@ -172,8 +172,8 @@ class EclProblem : public GetPropType<TypeTag, Properties::BaseProblem>
using Evaluation = GetPropType<TypeTag, Properties::Evaluation>;
using Indices = GetPropType<TypeTag, Properties::Indices>;
using IntensiveQuantities = GetPropType<TypeTag, Properties::IntensiveQuantities>;
using EclWellModel = GetPropType<TypeTag, Properties::EclWellModel>;
using EclAquiferModel = GetPropType<TypeTag, Properties::EclAquiferModel>;
using WellModel = GetPropType<TypeTag, Properties::WellModel>;
using AquiferModel = GetPropType<TypeTag, Properties::AquiferModel>;
using SolventModule = BlackOilSolventModule<TypeTag>;
using PolymerModule = BlackOilPolymerModule<TypeTag>;
@@ -1493,16 +1493,16 @@ public:
*
* This can be used for inspecting wells outside of the problem.
*/
const EclWellModel& wellModel() const
const WellModel& wellModel() const
{ return wellModel_; }
EclWellModel& wellModel()
WellModel& wellModel()
{ return wellModel_; }
const EclAquiferModel& aquiferModel() const
const AquiferModel& aquiferModel() const
{ return aquiferModel_; }
EclAquiferModel& mutableAquiferModel()
AquiferModel& mutableAquiferModel()
{ return aquiferModel_; }
// temporary solution to facilitate output of initial state from flow
@@ -2771,8 +2771,8 @@ private:
bool enableDriftCompensation_;
GlobalEqVector drift_;
EclWellModel wellModel_;
EclAquiferModel aquiferModel_;
WellModel wellModel_;
AquiferModel aquiferModel_;
bool enableEclOutput_;
std::unique_ptr<EclWriterType> eclWriter_;
+4 -4
View File
@@ -65,9 +65,9 @@ struct EclBaseProblem {
};
}
// The class which deals with ECL wells
// The class which deals with wells
template<class TypeTag, class MyTypeTag>
struct EclWellModel {
struct WellModel {
using type = UndefinedProperty;
};
@@ -115,7 +115,7 @@ struct EnableApiTracking {
// The class which deals with ECL aquifers
template<class TypeTag, class MyTypeTag>
struct EclAquiferModel {
struct AquiferModel {
using type = UndefinedProperty;
};
@@ -241,7 +241,7 @@ public:
// by default use the dummy aquifer "model"
template<class TypeTag>
struct EclAquiferModel<TypeTag, TTag::EclBaseProblem> {
struct AquiferModel<TypeTag, TTag::EclBaseProblem> {
using type = EclBaseAquiferModel<TypeTag>;
};
+2 -2
View File
@@ -98,7 +98,7 @@ struct UseVolumetricResidual<TypeTag, TTag::FlowProblem> {
};
template<class TypeTag>
struct EclAquiferModel<TypeTag, TTag::FlowProblem> {
struct AquiferModel<TypeTag, TTag::FlowProblem> {
using type = BlackoilAquiferModel<TypeTag>;
};
@@ -142,7 +142,7 @@ struct EnableDispersion<TypeTag, TTag::FlowProblem> {
};
template<class TypeTag>
struct EclWellModel<TypeTag, TTag::FlowProblem> {
struct WellModel<TypeTag, TTag::FlowProblem> {
using type = BlackoilWellModel<TypeTag>;
};
template<class TypeTag>
@@ -151,7 +151,7 @@ public:
using MaterialLaw = GetPropType<TypeTag, Properties::MaterialLaw>;
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
using MaterialLawParams = GetPropType<TypeTag, Properties::MaterialLawParams>;
using AquiferModel = GetPropType<TypeTag, Properties::EclAquiferModel>;
using AquiferModel = GetPropType<TypeTag, Properties::AquiferModel>;
using TimeStepper = AdaptiveTimeStepping<TypeTag>;
using PolymerModule = BlackOilPolymerModule<TypeTag>;
+2 -2
View File
@@ -66,7 +66,7 @@ struct FlowIstlSolver {
}
template <class TypeTag, class MyTypeTag>
struct EclWellModel;
struct WellModel;
//! Set the type of a global jacobian matrix for linear solvers that are based on
//! dune-istl.
@@ -148,7 +148,7 @@ std::unique_ptr<Matrix> blockJacobiAdjacency(const Grid& grid,
using SparseMatrixAdapter = GetPropType<TypeTag, Properties::SparseMatrixAdapter>;
using Vector = GetPropType<TypeTag, Properties::GlobalEqVector>;
using Indices = GetPropType<TypeTag, Properties::Indices>;
using WellModel = GetPropType<TypeTag, Properties::EclWellModel>;
using WellModel = GetPropType<TypeTag, Properties::WellModel>;
using Simulator = GetPropType<TypeTag, Properties::Simulator>;
using Matrix = typename SparseMatrixAdapter::IstlMatrix;
using ThreadManager = GetPropType<TypeTag, Properties::ThreadManager>;
+1 -1
View File
@@ -107,7 +107,7 @@ protected:
using SparseMatrixAdapter = GetPropType<TypeTag, Properties::SparseMatrixAdapter>;
using Vector = GetPropType<TypeTag, Properties::GlobalEqVector>;
using Indices = GetPropType<TypeTag, Properties::Indices>;
using WellModel = GetPropType<TypeTag, Properties::EclWellModel>;
using WellModel = GetPropType<TypeTag, Properties::WellModel>;
using Simulator = GetPropType<TypeTag, Properties::Simulator>;
using Matrix = typename SparseMatrixAdapter::IstlMatrix;
using ThreadManager = GetPropType<TypeTag, Properties::ThreadManager>;
+2 -2
View File
@@ -85,7 +85,7 @@ struct TestEquilVapwatTypeTag {
}
template<class TypeTag>
struct EclWellModel<TypeTag, TTag::TestEquilTypeTag> {
struct WellModel<TypeTag, TTag::TestEquilTypeTag> {
using type = BlackoilWellModel<TypeTag>;
};
template<class TypeTag>
@@ -93,7 +93,7 @@ struct EnableVapwat<TypeTag, TTag::TestEquilTypeTag> {
static constexpr bool value = true;
};
template<class TypeTag>
struct EclWellModel<TypeTag, TTag::TestEquilVapwatTypeTag> {
struct WellModel<TypeTag, TTag::TestEquilVapwatTypeTag> {
using type = BlackoilWellModel<TypeTag>;
};
template<class TypeTag>