From 0bef6369e195a5cab497579ffb605a241318ecef Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Sat, 9 Aug 2014 15:11:30 +0200 Subject: [PATCH] Deleted unused code --- .../RimStatisticsCaseEvaluator.cpp | 19 ------------------- .../RimStatisticsCaseEvaluator.h | 2 -- 2 files changed, 21 deletions(-) diff --git a/ApplicationCode/ProjectDataModel/RimStatisticsCaseEvaluator.cpp b/ApplicationCode/ProjectDataModel/RimStatisticsCaseEvaluator.cpp index f6bbada699..83af15a0dc 100644 --- a/ApplicationCode/ProjectDataModel/RimStatisticsCaseEvaluator.cpp +++ b/ApplicationCode/ProjectDataModel/RimStatisticsCaseEvaluator.cpp @@ -338,25 +338,6 @@ void RimStatisticsCaseEvaluator::evaluateForResults(const QList& result } } -//-------------------------------------------------------------------------------------------------- -/// -//-------------------------------------------------------------------------------------------------- -void RimStatisticsCaseEvaluator::debugOutput(RimDefines::ResultCatType resultType, const QString& resultName, size_t timeStepIdx) -{ - CVF_ASSERT(m_destinationCase); - - qDebug() << resultName << "timeIdx : " << timeStepIdx; - - size_t scalarResultIndex = m_destinationCase->results(RifReaderInterface::MATRIX_RESULTS)->findScalarResultIndex(resultType, resultName); - - cvf::ref resultAccessor = m_destinationCase->TO_BE_DELETED_resultAccessor(m_destinationCase->mainGrid(), RifReaderInterface::MATRIX_RESULTS, timeStepIdx, scalarResultIndex); - if (resultAccessor.isNull()) return; - - for (size_t cellIdx = 0; cellIdx < m_reservoirCellCount; cellIdx++) - { - qDebug() << resultAccessor->cellScalar(cellIdx); - } -} //-------------------------------------------------------------------------------------------------- /// diff --git a/ApplicationCode/ProjectDataModel/RimStatisticsCaseEvaluator.h b/ApplicationCode/ProjectDataModel/RimStatisticsCaseEvaluator.h index 87b21c7aae..62f4ca36cc 100644 --- a/ApplicationCode/ProjectDataModel/RimStatisticsCaseEvaluator.h +++ b/ApplicationCode/ProjectDataModel/RimStatisticsCaseEvaluator.h @@ -73,8 +73,6 @@ public: void evaluateForResults(const QList& resultSpecification); - void debugOutput(RimDefines::ResultCatType resultType, const QString& resultName, size_t timeStepIdx); - private: void addNamedResult(RigCaseCellResultsData* cellResults, RimDefines::ResultCatType resultType, const QString& resultName, size_t activeCellCount); void buildSourceMetaData(RifReaderInterface::PorosityModelResultType poroModel, RimDefines::ResultCatType resultType, const QString& resultName);