mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 05:19:09 -06:00
Suppress unused argument warnings.
This commit is contained in:
parent
75d98c7e3b
commit
7cdb65cff3
@ -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]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user