#1787 Removing code for returning cumulative inflow, only used for testing

This commit is contained in:
astridkbjorke 2017-08-31 15:30:29 +02:00
parent ad14863a36
commit 3a44cbb986
3 changed files with 0 additions and 12 deletions

View File

@ -59,7 +59,6 @@ void RicCalculateNumberOfFloodedPoreVolumes::onActionTriggered(bool isChecked)
RigNumberOfFloodedPoreVolumesCalculator calc(caseToApply, tracerNames);
std::vector<std::vector<double>> numberOfFloodedPorevolumes = calc.numberOfFloodedPorevolumes();
std::vector<std::vector<double>> cumInflow = calc.cumInflow();
//Test
// size_t cellIndex = mainGrid->reservoirCellIndex(mainGrid->cellIndexFromIJK(19, 34, 9));
@ -72,7 +71,6 @@ void RicCalculateNumberOfFloodedPoreVolumes::onActionTriggered(bool isChecked)
// for (size_t timeStep = 0; timeStep < numberOfFloodedPorevolumes.size(); timeStep++)
// {
// numberOfFloodedPorevolumesForSingleCell.push_back(numberOfFloodedPorevolumes[timeStep][cellResultIndex]);
// cumInflowForSingleCell.push_back(cumInflow[timeStep][cellResultIndex]);
// }
}

View File

@ -277,8 +277,6 @@ void RigNumberOfFloodedPoreVolumesCalculator::calculate(RigMainGrid* mainGrid,
m_cumWinflowPVAllTimeSteps.push_back(cumWinflowPV);
}
//TODO: Only for testing
m_cellQwInAtAllTimeSteps = cellQwInAtAllTimeSteps;
}
//--------------------------------------------------------------------------------------------------

View File

@ -41,10 +41,6 @@ public:
const std::vector<std::vector<double>>& numberOfFloodedPorevolumes() const;
const std::vector<double>& numberOfFloodedPorevolumesAtTimeStep(size_t timeStep) const;
//TODO: remove, only for testing
const std::vector<std::vector<double>>& cumInflow() const { return m_cellQwInAtAllTimeSteps; }
private:
void calculate(RigMainGrid* mainGrid,
@ -76,9 +72,5 @@ private:
private:
std::vector<std::vector<double>> m_cumWinflowPVAllTimeSteps;
//TODO: remove, only for testing
std::vector<std::vector<double>> m_cellQwInAtAllTimeSteps;
};