mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-26 07:30:08 -05:00
BlackOilExtboModule: only include where needed
This commit is contained in:
1 parent
48051c723d
commit
a5d903cea2
10 files changed
+7
-26
No files matched your search
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <opm/models/blackoil/blackoilconvectivemixingmodule.hh>
|
||||
#include <opm/models/blackoil/blackoildiffusionmodule.hh>
|
||||
#include <opm/models/blackoil/blackoilextbomodules.hh>
|
||||
|
||||
#include <opm/simulators/flow/Main.hpp>
|
||||
#include <opm/simulators/flow/SimulatorFullyImplicitBlackoil.hpp>
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#include <opm/models/blackoil/blackoilmodules.hpp>
|
||||
#include <opm/models/blackoil/blackoilproperties.hh>
|
||||
#include <opm/models/blackoil/blackoilsolventmodules.hh>
|
||||
#include <opm/models/blackoil/blackoilextbomodules.hh>
|
||||
#include <opm/models/blackoil/blackoilpolymermodules.hh>
|
||||
#include <opm/models/blackoil/blackoilfoammodules.hh>
|
||||
#include <opm/models/blackoil/blackoilenergymodules.hh>
|
||||
@@ -279,7 +278,6 @@ public:
|
||||
SoMax);
|
||||
fluidState_.setRs(min(RsMax, RsSat));
|
||||
}
|
||||
|
||||
}
|
||||
else if constexpr (compositionSwitchEnabled) {
|
||||
fluidState_.setRs(0.0);
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <opm/common/utility/gpuDecorators.hpp>
|
||||
|
||||
#include <opm/models/blackoil/blackoilextboparams.hpp>
|
||||
#include <opm/models/blackoil/blackoilmodules.hpp>
|
||||
#include <opm/models/blackoil/blackoilproperties.hh>
|
||||
|
||||
#include <opm/models/discretization/common/fvbaseproperties.hh>
|
||||
@@ -54,9 +55,6 @@
|
||||
|
||||
namespace Opm {
|
||||
|
||||
template<class TypeTag, bool enableExtboV>
|
||||
class BlackOilExtboModule;
|
||||
|
||||
/*!
|
||||
* \ingroup BlackOil
|
||||
* \brief Contains the high level supplements required to extend the black oil
|
||||
@@ -85,7 +83,8 @@ class BlackOilExtboModule<TypeTag, true>
|
||||
static constexpr unsigned numEq = getPropValue<TypeTag, Properties::NumEq>();
|
||||
static constexpr unsigned gasPhaseIdx = FluidSystem::gasPhaseIdx;
|
||||
static constexpr unsigned oilPhaseIdx = FluidSystem::oilPhaseIdx;
|
||||
static constexpr bool blackoilConserveSurfaceVolume = getPropValue<TypeTag, Properties::BlackoilConserveSurfaceVolume>();
|
||||
static constexpr bool blackoilConserveSurfaceVolume =
|
||||
getPropValue<TypeTag, Properties::BlackoilConserveSurfaceVolume>();
|
||||
|
||||
public:
|
||||
//! \brief Set parameters.
|
||||
@@ -359,9 +358,6 @@ template <class TypeTag>
|
||||
BlackOilExtboParams<typename BlackOilExtboModule<TypeTag, true>::Scalar>
|
||||
BlackOilExtboModule<TypeTag, true>::params_;
|
||||
|
||||
template <class TypeTag, bool enableExtboV>
|
||||
class BlackOilExtboIntensiveQuantities;
|
||||
|
||||
/*!
|
||||
* \ingroup BlackOil
|
||||
* \class Opm::BlackOilExtboIntensiveQuantities
|
||||
@@ -559,11 +555,6 @@ protected:
|
||||
Scalar zRefDensity_;
|
||||
};
|
||||
|
||||
template <class TypeTag>
|
||||
class BlackOilExtboIntensiveQuantities<TypeTag, false>
|
||||
{
|
||||
};
|
||||
|
||||
/*!
|
||||
* \ingroup BlackOil
|
||||
* \class Opm::BlackOilExtboExtensiveQuantities
|
||||
@@ -571,8 +562,8 @@ class BlackOilExtboIntensiveQuantities<TypeTag, false>
|
||||
* \brief Provides the solvent specific extensive quantities to the generic black-oil
|
||||
* module's extensive quantities.
|
||||
*/
|
||||
template <class TypeTag, bool enableExtboV = getPropValue<TypeTag, Properties::EnableExtbo>()>
|
||||
class BlackOilExtboExtensiveQuantities
|
||||
template <class TypeTag>
|
||||
class BlackOilExtboExtensiveQuantities<TypeTag, true>
|
||||
{
|
||||
using Implementation = GetPropType<TypeTag, Properties::ExtensiveQuantities>;
|
||||
|
||||
@@ -580,10 +571,6 @@ class BlackOilExtboExtensiveQuantities
|
||||
{ return *static_cast<Implementation*>(this); }
|
||||
};
|
||||
|
||||
template <class TypeTag>
|
||||
class BlackOilExtboExtensiveQuantities<TypeTag, false>
|
||||
{
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
|
||||
#include <opm/models/blackoil/blackoilmodules.hpp>
|
||||
#include <opm/models/blackoil/blackoilenergymodules.hh>
|
||||
#include <opm/models/blackoil/blackoilextbomodules.hh>
|
||||
#include <opm/models/blackoil/blackoilfoammodules.hh>
|
||||
#include <opm/models/blackoil/blackoilpolymermodules.hh>
|
||||
#include <opm/models/blackoil/blackoilproperties.hh>
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
|
||||
#include <opm/models/blackoil/blackoilmodules.hpp>
|
||||
#include <opm/models/blackoil/blackoilenergymodules.hh>
|
||||
#include <opm/models/blackoil/blackoilextbomodules.hh>
|
||||
#include <opm/models/blackoil/blackoilfoammodules.hh>
|
||||
#include <opm/models/blackoil/blackoilpolymermodules.hh>
|
||||
#include <opm/models/blackoil/blackoilproperties.hh>
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
#include <opm/models/blackoil/blackoilmodules.hpp>
|
||||
#include <opm/models/blackoil/blackoilconvectivemixingmoduleparam.hpp>
|
||||
#include <opm/models/blackoil/blackoilenergymodules.hh>
|
||||
#include <opm/models/blackoil/blackoilextbomodules.hh>
|
||||
#include <opm/models/blackoil/blackoilfoammodules.hh>
|
||||
#include <opm/models/blackoil/blackoilmoduleparams.hh>
|
||||
#include <opm/models/blackoil/blackoilpolymermodules.hh>
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <opm/models/blackoil/blackoilboundaryratevector.hh>
|
||||
#include <opm/models/blackoil/blackoildarcyfluxmodule.hh>
|
||||
#include <opm/models/blackoil/blackoilenergymodules.hh>
|
||||
#include <opm/models/blackoil/blackoilextbomodules.hh>
|
||||
#include <opm/models/blackoil/blackoilextensivequantities.hh>
|
||||
#include <opm/models/blackoil/blackoilfoammodules.hh>
|
||||
#include <opm/models/blackoil/blackoilvariableandequationindices.hh>
|
||||
|
||||
@@ -45,6 +45,7 @@ DECLARE_MODULE(BlackOilBrine)
|
||||
DECLARE_MODULE(BlackOilConvectiveMixing)
|
||||
DECLARE_MODULE(BlackOilDiffusion)
|
||||
DECLARE_MODULE(BlackOilDispersion)
|
||||
DECLARE_MODULE(BlackOilExtbo)
|
||||
|
||||
#undef DECLARE_MODULE
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
|
||||
#include <opm/models/blackoil/blackoilmodules.hpp>
|
||||
#include <opm/models/blackoil/blackoilenergymodules.hh>
|
||||
#include <opm/models/blackoil/blackoilextbomodules.hh>
|
||||
#include <opm/models/blackoil/blackoilmeanings.hh>
|
||||
#include <opm/models/blackoil/blackoilproperties.hh>
|
||||
#include <opm/models/blackoil/blackoilsolventmodules.hh>
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
#include <opm/models/blackoil/blackoilpolymermodules.hh>
|
||||
#include <opm/models/blackoil/blackoilsolventmodules.hh>
|
||||
#include <opm/models/blackoil/blackoilextbomodules.hh>
|
||||
#include <opm/models/blackoil/blackoilfoammodules.hh>
|
||||
#include <opm/models/blackoil/blackoilmodules.hpp>
|
||||
|
||||
|
||||
Reference in new issue
Block a user