mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-20 11:48:25 -06:00
Fixes unsused parameter warnings for ebos stuff
This commit is contained in:
parent
e223c03647
commit
a16bce8785
@ -64,6 +64,7 @@
|
||||
|
||||
#include <dune/istl/owneroverlapcopy.hh>
|
||||
#include <dune/common/parallel/collectivecommunication.hh>
|
||||
#include <dune/common/unused.hh>
|
||||
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
@ -186,6 +187,7 @@ namespace Opm {
|
||||
, isBeginReportStep_(false)
|
||||
, invalidateIntensiveQuantitiesCache_(true)
|
||||
{
|
||||
DUNE_UNUSED_PARAMETER(rock_comp_props);
|
||||
const double gravity = detail::getGravity(geo_.gravity(), UgGridHelpers::dimensions(grid_));
|
||||
const std::vector<double> pv(geo_.poreVolume().data(), geo_.poreVolume().data() + geo_.poreVolume().size());
|
||||
const std::vector<double> depth(geo_.z().data(), geo_.z().data() + geo_.z().size());
|
||||
@ -335,6 +337,9 @@ namespace Opm {
|
||||
const ReservoirState& reservoir_state,
|
||||
WellState& well_state)
|
||||
{
|
||||
DUNE_UNUSED_PARAMETER(timer);
|
||||
DUNE_UNUSED_PARAMETER(reservoir_state);
|
||||
DUNE_UNUSED_PARAMETER(well_state);
|
||||
}
|
||||
|
||||
/// Assemble the residual and Jacobian of the nonlinear system.
|
||||
|
@ -169,7 +169,7 @@ namespace Opm
|
||||
}
|
||||
|
||||
// dummy method that is not implemented for this class
|
||||
SolutionVector computeNewtonIncrement(const LinearisedBlackoilResidual& residual) const
|
||||
SolutionVector computeNewtonIncrement(const LinearisedBlackoilResidual&) const
|
||||
{
|
||||
OPM_THROW(std::logic_error,"This method is not implemented");
|
||||
return SolutionVector();
|
||||
|
@ -39,6 +39,8 @@
|
||||
#include <opm/common/Exceptions.hpp>
|
||||
#include <opm/common/ErrorMacros.hpp>
|
||||
|
||||
#include <dune/common/unused.hh>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class SimulatorFullyImplicitBlackoilEbos;
|
||||
@ -118,7 +120,7 @@ public:
|
||||
threshold_pressures_by_face_(threshold_pressures_by_face),
|
||||
is_parallel_run_( false )
|
||||
{
|
||||
|
||||
DUNE_UNUSED_PARAMETER(eclipse_state);
|
||||
// Misc init.
|
||||
const int num_cells = AutoDiffGrid::numCells(grid());
|
||||
allcells_.resize(num_cells);
|
||||
@ -395,10 +397,10 @@ public:
|
||||
{ return ebosSimulator_.gridManager().grid(); }
|
||||
|
||||
protected:
|
||||
void handleAdditionalWellInflow(SimulatorTimer& timer,
|
||||
WellsManager& wells_manager,
|
||||
WellState& well_state,
|
||||
const Wells* wells)
|
||||
void handleAdditionalWellInflow(SimulatorTimer& /* timer */,
|
||||
WellsManager& /* wells_manager */,
|
||||
WellState& /* well_state */,
|
||||
const Wells* /* wells */)
|
||||
{ }
|
||||
|
||||
std::unique_ptr<Solver> createSolver(const WellModel& well_model)
|
||||
@ -632,7 +634,7 @@ protected:
|
||||
}
|
||||
|
||||
|
||||
std::vector<double> FIPTotals(const std::vector<std::vector<double>>& fip, const ReservoirState& state)
|
||||
std::vector<double> FIPTotals(const std::vector<std::vector<double>>& fip, const ReservoirState& /* state */)
|
||||
{
|
||||
std::vector<double> totals(7,0.0);
|
||||
for (int i = 0; i < 5; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user