mark unused parameters as OPM_UNUSED
This commit is contained in:
parent
02f7359570
commit
51bf76a061
@ -374,7 +374,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -183,7 +183,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -174,7 +174,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -183,7 +183,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -184,7 +184,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -185,7 +185,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -175,7 +175,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -176,7 +176,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -177,7 +177,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -178,7 +178,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -179,7 +179,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -180,7 +180,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -181,7 +181,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -182,7 +182,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class RhsValueType>
|
template <class RhsValueType>
|
||||||
static Evaluation createVariable(const Evaluation& x, const RhsValueType& value, int varPos)
|
static Evaluation createVariable(const Evaluation& x OPM_UNUSED, const RhsValueType& value, int varPos)
|
||||||
{
|
{
|
||||||
// copy function value and set all derivatives to 0, except for the variable
|
// copy function value and set all derivatives to 0, except for the variable
|
||||||
// which is represented by the value (which is set to 1.0)
|
// which is represented by the value (which is set to 1.0)
|
||||||
|
@ -50,7 +50,7 @@ public:
|
|||||||
* This solid energy law simply returns 0.
|
* This solid energy law simply returns 0.
|
||||||
*/
|
*/
|
||||||
template <class FluidState, class Evaluation = typename FluidState::Scalar>
|
template <class FluidState, class Evaluation = typename FluidState::Scalar>
|
||||||
static Evaluation solidInternalEnergy(const Params& params, const FluidState& fluidState)
|
static Evaluation solidInternalEnergy(const Params& params OPM_UNUSED, const FluidState& fluidState OPM_UNUSED)
|
||||||
{ return 0.0; }
|
{ return 0.0; }
|
||||||
};
|
};
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
Loading…
Reference in New Issue
Block a user