mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
remove use of Unused.hpp
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
#include <opm/material/fluidmatrixinteractions/MaterialTraits.hpp>
|
||||
#include <opm/material/constraintsolvers/ComputeFromReferencePhase.hpp>
|
||||
#include <opm/material/common/Valgrind.hpp>
|
||||
#include <opm/material/common/Unused.hpp>
|
||||
|
||||
#include <dune/grid/yaspgrid.hh>
|
||||
#include <dune/grid/io/file/dgfparser/dgfyasp.hh>
|
||||
@@ -284,9 +283,9 @@ public:
|
||||
* \copydoc FvBaseMultiPhaseProblem::temperature
|
||||
*/
|
||||
template <class Context>
|
||||
Scalar temperature(const Context& context OPM_UNUSED,
|
||||
unsigned spaceIdx OPM_UNUSED,
|
||||
unsigned timeIdx OPM_UNUSED) const
|
||||
Scalar temperature(const Context& /*context*/,
|
||||
unsigned /*spaceIdx*/,
|
||||
unsigned /*timeIdx*/) const
|
||||
{ return temperature_; }
|
||||
|
||||
/*!
|
||||
@@ -308,9 +307,9 @@ public:
|
||||
* \copydoc FvBaseMultiPhaseProblem::porosity
|
||||
*/
|
||||
template <class Context>
|
||||
Scalar porosity(const Context& context OPM_UNUSED,
|
||||
unsigned spaceIdx OPM_UNUSED,
|
||||
unsigned timeIdx OPM_UNUSED) const
|
||||
Scalar porosity(const Context& /*context*/,
|
||||
unsigned /*spaceIdx*/,
|
||||
unsigned /*timeIdx*/) const
|
||||
{ return porosity_; }
|
||||
|
||||
/*!
|
||||
@@ -318,9 +317,9 @@ public:
|
||||
*/
|
||||
template <class Context>
|
||||
const MaterialLawParams&
|
||||
materialLawParams(const Context& context OPM_UNUSED,
|
||||
unsigned spaceIdx OPM_UNUSED,
|
||||
unsigned timeIdx OPM_UNUSED) const
|
||||
materialLawParams(const Context& /*context*/,
|
||||
unsigned /*spaceIdx*/,
|
||||
unsigned /*timeIdx*/) const
|
||||
{ return materialParams_; }
|
||||
|
||||
//! \}
|
||||
@@ -392,9 +391,9 @@ public:
|
||||
*/
|
||||
template <class Context>
|
||||
void source(RateVector& rate,
|
||||
const Context& context OPM_UNUSED,
|
||||
unsigned spaceIdx OPM_UNUSED,
|
||||
unsigned timeIdx OPM_UNUSED) const
|
||||
const Context& /*context*/,
|
||||
unsigned /*spaceIdx*/,
|
||||
unsigned /*timeIdx*/) const
|
||||
{ rate = Scalar(0.0); }
|
||||
|
||||
//! \}
|
||||
|
||||
Reference in New Issue
Block a user