Merge pull request #3612 from akva2/janitoring

quell unused parameter warnings
This commit is contained in:
Atgeirr Flø Rasmussen
2023-07-31 12:50:02 +02:00
committed by GitHub
2 changed files with 7 additions and 5 deletions

View File

@@ -112,15 +112,15 @@ public:
static constexpr bool isCompositionDependent = false;
template <class ContainerT, class FluidState>
static Scalar relpermOilInOilGasSystem(const Params& params,
const FluidState& fluidState){
static Scalar relpermOilInOilGasSystem(const Params& /*params*/,
const FluidState& /*fluidState*/) {
throw std::logic_error {
"relpermOilInOilGasSystem() is specific to three phases"
};
}
template <class ContainerT, class FluidState>
static Scalar relpermOilInOilWaterSystem(const Params& params,
const FluidState& fluidState){
static Scalar relpermOilInOilWaterSystem(const Params& /*params*/,
const FluidState& /*fluidState*/) {
throw std::logic_error {
"relpermOilInOilWaterSystem() is specific to three phases"
};

View File

@@ -134,7 +134,9 @@ public:
serializer(*oilWaterParams_);
serializer(*gasWaterParams_);
}
void setSwl(Scalar val){}
void setSwl(Scalar) {}
private:
EclTwoPhaseApproach approach_;