mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-10 08:03:05 -06:00
Fracture Completion Report : Use areaOpenForFlow() and remove unused function
This commit is contained in:
parent
719061ae62
commit
70a7b3ae5c
@ -55,7 +55,6 @@ RigEclipseToStimPlanCalculator::RigEclipseToStimPlanCalculator(const RimEclipseC
|
||||
, m_fractureGrid(fractureGrid)
|
||||
, m_fracture(fracture)
|
||||
{
|
||||
|
||||
computeValues();
|
||||
}
|
||||
|
||||
@ -71,8 +70,13 @@ void RigEclipseToStimPlanCalculator::computeValues()
|
||||
const RigFractureCell& fractureCell = m_fractureGrid.fractureCells()[i];
|
||||
if (!fractureCell.hasNonZeroConductivity()) continue;
|
||||
|
||||
RigEclipseToStimPlanCellTransmissibilityCalculator eclToFractureTransCalc(
|
||||
m_case, m_fractureTransform, m_fractureSkinFactor, m_cDarcy, fractureCell, reservoirCellIndicesOpenForFlow, m_fracture);
|
||||
RigEclipseToStimPlanCellTransmissibilityCalculator eclToFractureTransCalc(m_case,
|
||||
m_fractureTransform,
|
||||
m_fractureSkinFactor,
|
||||
m_cDarcy,
|
||||
fractureCell,
|
||||
reservoirCellIndicesOpenForFlow,
|
||||
m_fracture);
|
||||
|
||||
const std::vector<size_t>& fractureCellContributingEclipseCells =
|
||||
eclToFractureTransCalc.globalIndiciesToContributingEclipseCells();
|
||||
@ -129,16 +133,12 @@ double RigEclipseToStimPlanCalculator::totalEclipseAreaOpenForFlow() const
|
||||
|
||||
for (const auto& singleCellCalc : m_singleFractureCellCalculators)
|
||||
{
|
||||
const auto& cellAreas = singleCellCalc.second.contributingEclipseCellAreas();
|
||||
double cellArea = singleCellCalc.second.areaOpenForFlow();
|
||||
|
||||
for (const auto& cellArea : cellAreas)
|
||||
{
|
||||
area += cellArea;
|
||||
}
|
||||
}
|
||||
|
||||
return area;
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -72,14 +72,6 @@ const std::vector<double>& RigEclipseToStimPlanCellTransmissibilityCalculator::c
|
||||
return m_contributingEclipseCellTransmissibilities;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const std::vector<double>& RigEclipseToStimPlanCellTransmissibilityCalculator::contributingEclipseCellAreas() const
|
||||
{
|
||||
return m_contributingEclipseCellAreas;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -54,7 +54,6 @@ public:
|
||||
// These three vectors have the same size
|
||||
const std::vector<size_t>& globalIndiciesToContributingEclipseCells() const;
|
||||
const std::vector<double>& contributingEclipseCellTransmissibilities() const;
|
||||
const std::vector<double>& contributingEclipseCellAreas() const;
|
||||
|
||||
double areaOpenForFlow() const;
|
||||
double aggregatedMatrixTransmissibility() const;
|
||||
|
Loading…
Reference in New Issue
Block a user