mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Suppress unused argument warnings.
This commit is contained in:
@@ -94,6 +94,7 @@ namespace Opm
|
|||||||
const double* BlackoilPropsAd::surfaceDensity(int regionIdx) const
|
const double* BlackoilPropsAd::surfaceDensity(int regionIdx) const
|
||||||
{
|
{
|
||||||
// this class only supports a single PVT region for now...
|
// this class only supports a single PVT region for now...
|
||||||
|
static_cast<void>(regionIdx);
|
||||||
assert(regionIdx == 0);
|
assert(regionIdx == 0);
|
||||||
return props_.surfaceDensity();
|
return props_.surfaceDensity();
|
||||||
}
|
}
|
||||||
@@ -433,7 +434,7 @@ namespace Opm
|
|||||||
/// \param[in] cells Array of n cell indices to be associated with the pressure values.
|
/// \param[in] cells Array of n cell indices to be associated with the pressure values.
|
||||||
/// \return Array of n formation volume factor values.
|
/// \return Array of n formation volume factor values.
|
||||||
V BlackoilPropsAd::bGas(const V& pg,
|
V BlackoilPropsAd::bGas(const V& pg,
|
||||||
const V& T,
|
const V& /* T */,
|
||||||
const Cells& cells) const
|
const Cells& cells) const
|
||||||
{
|
{
|
||||||
if (!pu_.phase_used[Gas]) {
|
if (!pu_.phase_used[Gas]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user