mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-19 01:24:53 -05:00
#2146 Num Flooded PV: Add accessor for flowDiagSolution
This commit is contained in:
@@ -880,3 +880,11 @@ RigFlowDiagSolverInterface::FlowCharacteristicsResultFrame RigFlowDiagResults::f
|
||||
|
||||
return solverInterface()->calculateFlowCharacteristics(&injectorResults, &producerResults, selectedCellIndices, max_pv_fraction);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFlowDiagSolution* RigFlowDiagResults::flowDiagSolution()
|
||||
{
|
||||
{ return m_flowDiagSolution; }
|
||||
}
|
||||
|
||||
@@ -92,6 +92,8 @@ public:
|
||||
const std::vector<char>& visibleActiveCells,
|
||||
double max_pv_fraction);
|
||||
|
||||
RimFlowDiagSolution* flowDiagSolution();
|
||||
|
||||
private:
|
||||
const std::vector<double>* findOrCalculateResult (const RigFlowDiagResultAddress& resVarAddr, size_t frameIndex);
|
||||
void calculateNativeResultsIfNotPreviouslyAttempted(size_t frameIndex, RigFlowDiagResultAddress::PhaseSelection phaseSelection);
|
||||
|
||||
Reference in New Issue
Block a user