mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1787 Removing code for returning cumulative inflow, only used for testing
This commit is contained in:
parent
ad14863a36
commit
3a44cbb986
@ -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]);
|
||||
// }
|
||||
}
|
||||
|
||||
|
@ -277,8 +277,6 @@ void RigNumberOfFloodedPoreVolumesCalculator::calculate(RigMainGrid* mainGrid,
|
||||
m_cumWinflowPVAllTimeSteps.push_back(cumWinflowPV);
|
||||
}
|
||||
|
||||
//TODO: Only for testing
|
||||
m_cellQwInAtAllTimeSteps = cellQwInAtAllTimeSteps;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user