anonymize unused parameters

This commit is contained in:
Arne Morten Kvarving 2023-09-04 14:34:30 +02:00
parent 7ec77ada7e
commit b0ecbf58de

View File

@ -683,17 +683,17 @@ class BlackOilEnergyExtensiveQuantities<TypeTag, false>
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
public:
template<class FluidState>
static void updateEnergy(Evaluation& energyFlux,
const unsigned& focusDofIndex,
const unsigned& inIdx,
const unsigned& exIdx,
const IntensiveQuantities& inIq,
const IntensiveQuantities& exIq,
const FluidState& inFs,
const FluidState& exFs,
const Scalar& inAlpha,
const Scalar& outAlpha,
const Scalar& faceArea)
static void updateEnergy(Evaluation& /*energyFlux*/,
const unsigned& /*focusDofIndex*/,
const unsigned& /*inIdx*/,
const unsigned& /*exIdx*/,
const IntensiveQuantities& /*inIq*/,
const IntensiveQuantities& /*exIq*/,
const FluidState& /*inFs*/,
const FluidState& /*exFs*/,
const Scalar& /*inAlpha*/,
const Scalar& /*outAlpha*/,
const Scalar& /*faceArea*/)
{};
void updateEnergy(const ElementContext&,
@ -709,15 +709,14 @@ public:
{}
template <class BoundaryFluidState>
static void updateEnergyBoundary(Evaluation& heatFlux,
const IntensiveQuantities& inIq,
unsigned focusDofIndex,
unsigned inIdx,
unsigned timeIdx,
Scalar alpha,
const BoundaryFluidState& boundaryFs){
}
static void updateEnergyBoundary(Evaluation& /*heatFlux*/,
const IntensiveQuantities& /*inIq*/,
unsigned /*focusDofIndex*/,
unsigned /*inIdx*/,
unsigned /*timeIdx*/,
Scalar /*alpha*/,
const BoundaryFluidState& /*boundaryFs*/)
{}
const Evaluation& energyFlux() const
{ throw std::logic_error("Requested the energy flux, but energy is not conserved"); }
};