Tag 'updateRelperms' Parameters as Maybe Unused

That way we won't get compiler warnings about unused parameters.
This commit is contained in:
Bård Skaflestad 2022-09-27 09:25:28 +02:00
parent 5a0bc72878
commit 29fb7eea72

View File

@ -249,15 +249,13 @@ public:
static MaterialLawParams dummy;
return dummy;
}
template <class FluidState>
void updateRelperms(
std::array<Evaluation,numPhases> &mobility,
DirectionalMobilityPtr &dirMob,
FluidState &fluidState,
unsigned globalSpaceIdx) const
{
return;
}
void updateRelperms([[maybe_unused]] std::array<Evaluation,numPhases>& mobility,
[[maybe_unused]] DirectionalMobilityPtr& dirMob,
[[maybe_unused]] FluidState& fluidState,
[[maybe_unused]] unsigned globalSpaceIdx) const
{}
/*!
* \brief Returns the temperature \f$\mathrm{[K]}\f$ within a control volume.