EclipseWriter: remove unused method activeToGlobalCellData_()

This commit is contained in:
Andreas Lauser
2014-04-02 16:47:59 +02:00
parent c8683b39d0
commit b4b03ffee3
2 changed files with 0 additions and 20 deletions

View File

@@ -1080,22 +1080,6 @@ void EclipseWriter::writeInit(const SimulatorTimer &timer)
summary_->addWells (newParserDeck_, uses_);
}
void EclipseWriter::activeToGlobalCellData_(std::vector<double> &globalCellsBuf,
const std::vector<double> &activeCellsBuf,
const std::vector<double> &inactiveCellsBuf) const
{
globalCellsBuf = inactiveCellsBuf;
// overwrite the values of active cells
for (int activeCellIdx = 0;
activeCellIdx < grid_->number_of_cells;
++activeCellIdx)
{
int globalCellIdx = grid_->global_cell[activeCellIdx];
globalCellsBuf[globalCellIdx] = activeCellsBuf[activeCellIdx];
}
}
void EclipseWriter::writeTimeStep(const SimulatorTimer& timer,
const SimulatorState& reservoirState,
const WellState& wellState)

View File

@@ -101,10 +101,6 @@ private:
std::string baseName_;
PhaseUsage uses_; // active phases in the input deck
std::shared_ptr <EclipseSummary> summary_;
void activeToGlobalCellData_(std::vector<double> &globalCellsBuf,
const std::vector<double> &activeCellsBuf,
const std::vector<double> &inactiveCellsBuf) const;
};
} // namespace Opm