From 9d5df94080fa88cd853266ab475ca3edb30b027c Mon Sep 17 00:00:00 2001 From: Robert Kloefkorn Date: Wed, 28 Oct 2015 19:02:36 +0100 Subject: [PATCH] ParallelDebugOutput: remove warning and cleanup. --- opm/autodiff/ParallelDebugOutput.hpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/opm/autodiff/ParallelDebugOutput.hpp b/opm/autodiff/ParallelDebugOutput.hpp index 62a43caf6..2398a6f28 100644 --- a/opm/autodiff/ParallelDebugOutput.hpp +++ b/opm/autodiff/ParallelDebugOutput.hpp @@ -73,7 +73,7 @@ namespace Opm // gather solution to rank 0 for EclipseWriter virtual bool collectToIORank( const SimulatorState& localReservoirState, const WellState& localWellState, - const int reportStep ) + const int /* reportStep */) { globalState_ = &localReservoirState; wellState_ = &localWellState; @@ -245,23 +245,6 @@ namespace Opm // initialize global state with correct sizes globalReservoirState_.init( globalGrid.numCells(), globalGrid.numFaces(), numPhases ); - /* - // Create wells and well state. - WellsManager wells_manager(eclipseState, - 0, - Opm::UgGridHelpers::numCells( globalGrid ), - Opm::UgGridHelpers::globalCell( globalGrid ), - Opm::UgGridHelpers::cartDims( globalGrid ), - Opm::UgGridHelpers::dimensions( globalGrid ), - Opm::UgGridHelpers::cell2Faces( globalGrid ), - Opm::UgGridHelpers::beginFaceCentroids( globalGrid ), - permeability, - false); - - const Wells* wells = wells_manager.c_wells(); - globalWellState_.init(wells, globalReservoirState_, globalWellState_ ); - */ - // copy global cartesian index globalIndex_ = globalGrid.globalCell();