quell unused parameter warnings

This commit is contained in:
Arne Morten Kvarving
2023-07-31 08:37:58 +02:00
parent a50513c971
commit b1cf35168a
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_;