mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Deleted unused code
This commit is contained in:
parent
566263776d
commit
e0fb65188e
@ -338,25 +338,6 @@ void RimStatisticsCaseEvaluator::evaluateForResults(const QList<ResSpec>& 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<cvf::StructGridScalarDataAccess> 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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
|
@ -73,8 +73,6 @@ public:
|
|||||||
|
|
||||||
void evaluateForResults(const QList<ResSpec >& resultSpecification);
|
void evaluateForResults(const QList<ResSpec >& resultSpecification);
|
||||||
|
|
||||||
void debugOutput(RimDefines::ResultCatType resultType, const QString& resultName, size_t timeStepIdx);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void addNamedResult(RigCaseCellResultsData* cellResults, RimDefines::ResultCatType resultType, const QString& resultName, size_t activeCellCount);
|
void addNamedResult(RigCaseCellResultsData* cellResults, RimDefines::ResultCatType resultType, const QString& resultName, size_t activeCellCount);
|
||||||
void buildSourceMetaData(RifReaderInterface::PorosityModelResultType poroModel, RimDefines::ResultCatType resultType, const QString& resultName);
|
void buildSourceMetaData(RifReaderInterface::PorosityModelResultType poroModel, RimDefines::ResultCatType resultType, const QString& resultName);
|
||||||
|
Loading…
Reference in New Issue
Block a user