mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
Suppress unused argument errors.
This commit is contained in:
parent
a4024a3f9e
commit
17ade0457f
@ -80,8 +80,9 @@ namespace Opm {
|
||||
}
|
||||
|
||||
template <class T, unsigned long n>
|
||||
void resizeContainer( std::array<T, n>& a, size_t size )
|
||||
void resizeContainer( std::array<T, n>& /* a */, size_t size )
|
||||
{
|
||||
static_cast<void>(size);
|
||||
assert( int(size) == int(n) );
|
||||
}
|
||||
|
||||
@ -142,16 +143,16 @@ namespace Opm {
|
||||
BlackoilStateId = 2,
|
||||
WellStateFullyImplicitBackoilId = 3 };
|
||||
|
||||
inline int objectId( const SimulatorState& state ) {
|
||||
inline int objectId( const SimulatorState& /* state */) {
|
||||
return SimulatorStateId;
|
||||
}
|
||||
inline int objectId( const WellState& state ) {
|
||||
inline int objectId( const WellState& /* state */) {
|
||||
return WellStateId;
|
||||
}
|
||||
inline int objectId( const BlackoilState& state ) {
|
||||
inline int objectId( const BlackoilState& /* state */) {
|
||||
return BlackoilStateId;
|
||||
}
|
||||
inline int objectId( const WellStateFullyImplicitBlackoil& state ) {
|
||||
inline int objectId( const WellStateFullyImplicitBlackoil& /* state */) {
|
||||
return WellStateFullyImplicitBackoilId;
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ public:
|
||||
{
|
||||
assert( T::codimension == 0);
|
||||
assert( size == 2 * recvState_.numPhases() +4+2*recvGrid_.numCellFaces(e.index()));
|
||||
(void) size;
|
||||
static_cast<void>(size);
|
||||
|
||||
for ( int i=0; i<recvState_.numPhases(); ++i )
|
||||
{
|
||||
|
@ -127,7 +127,8 @@ namespace Opm
|
||||
{}
|
||||
|
||||
/** \copydoc Opm::OutputWriter::writeInit */
|
||||
void writeInit(const SimulatorTimerInterface &timer) {}
|
||||
void writeInit(const SimulatorTimerInterface& /* timer */)
|
||||
{}
|
||||
|
||||
/** \copydoc Opm::OutputWriter::writeTimeStep */
|
||||
void writeTimeStep(const SimulatorTimerInterface& timer,
|
||||
@ -155,7 +156,8 @@ namespace Opm
|
||||
{}
|
||||
|
||||
/** \copydoc Opm::OutputWriter::writeInit */
|
||||
void writeInit(const SimulatorTimerInterface &timer) {}
|
||||
void writeInit(const SimulatorTimerInterface& /* timer */)
|
||||
{}
|
||||
|
||||
/** \copydoc Opm::OutputWriter::writeTimeStep */
|
||||
void writeTimeStep(const SimulatorTimerInterface& timer,
|
||||
|
Loading…
Reference in New Issue
Block a user