mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -06:00
#1487 Remove obsolete RigStimPlanFractureCell class
This commit is contained in:
parent
ba2f9c335c
commit
3271f9b32f
@ -332,8 +332,6 @@ void RifFractureExportTools::printStimPlanCellsMatrixTransContributions(const st
|
||||
continue;
|
||||
}
|
||||
|
||||
RigStimPlanFractureCell fracStimPlanCellData(stimPlanCell.getI(), stimPlanCell.getJ());
|
||||
|
||||
RigEclipseToStimPlanCellTransmissibilityCalculator eclToStimPlanTransCalc(caseToApply,
|
||||
fracture->transformMatrix(),
|
||||
fracture->attachedFractureDefinition()->skinFactor,
|
||||
|
@ -110,9 +110,9 @@ void RigEclipseToStimPlanCellTransmissibilityCalculator::calculateStimPlanCellsM
|
||||
std::vector<cvf::Vec3d> stimPlanPolygonTransformed;
|
||||
for (cvf::Vec3d v : m_stimPlanCell.getPolygon())
|
||||
{
|
||||
cvf::Vec3f stimPlanPolygonNode = static_cast<cvf::Vec3f>(v);
|
||||
cvf::Vec3f stimPlanPolygonNode = cvf::Vec3f(v);
|
||||
stimPlanPolygonNode.transformPoint(m_fractureTransform);
|
||||
stimPlanPolygonTransformed.push_back(static_cast<cvf::Vec3d>(stimPlanPolygonNode));
|
||||
stimPlanPolygonTransformed.push_back(cvf::Vec3d(stimPlanPolygonNode));
|
||||
}
|
||||
|
||||
std::vector<size_t> fracCells = getPotentiallyFracturedCellsForPolygon(stimPlanPolygonTransformed);
|
||||
|
@ -26,24 +26,6 @@ RigFracturedEclipseCellExportData::RigFracturedEclipseCellExportData()
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigStimPlanFractureCell::RigStimPlanFractureCell(size_t i, size_t j)
|
||||
{
|
||||
m_i = i;
|
||||
m_j = j;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigStimPlanFractureCell::addContributingEclipseCell(size_t eclipseCell, double transmissibility)
|
||||
{
|
||||
globalIndeciesToContributingEclipseCells.push_back(eclipseCell);
|
||||
contributingEclipseCellTransmissibilities.push_back(transmissibility);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -75,12 +57,3 @@ const std::vector<cvf::Vec3f>& RigFracture::nodeCoords() const
|
||||
{
|
||||
return m_nodeCoords;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigFracture::addStimPlanCellFractureCell(RigStimPlanFractureCell fracStimPlanCellData)
|
||||
{
|
||||
m_stimPlanCellsFractureData.push_back(fracStimPlanCellData);
|
||||
}
|
||||
|
||||
|
@ -54,29 +54,6 @@ public:
|
||||
double upscaledStimPlanValueAH;
|
||||
};
|
||||
|
||||
|
||||
class RigStimPlanFractureCell
|
||||
{
|
||||
public:
|
||||
RigStimPlanFractureCell(size_t i, size_t j);
|
||||
|
||||
size_t m_i;
|
||||
size_t m_j;
|
||||
|
||||
std::vector<size_t> getGlobalIndeciesToContributingEclipseCells() { return globalIndeciesToContributingEclipseCells; }
|
||||
std::vector<double> getContributingEclipseCellTransmissibilities() { return contributingEclipseCellTransmissibilities; }
|
||||
void addContributingEclipseCell(size_t eclipseCell, double transmissibility);
|
||||
|
||||
private:
|
||||
double performationLenghtVertical;
|
||||
double performationLenghtHorizontal;
|
||||
|
||||
std::vector<size_t> globalIndeciesToContributingEclipseCells;
|
||||
std::vector<double> contributingEclipseCellTransmissibilities;
|
||||
|
||||
};
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
@ -90,13 +67,8 @@ public:
|
||||
const std::vector<cvf::uint>& triangleIndices() const;
|
||||
const std::vector<cvf::Vec3f>& nodeCoords() const;
|
||||
|
||||
void addStimPlanCellFractureCell(RigStimPlanFractureCell fracStimPlanCellData);
|
||||
|
||||
private:
|
||||
std::vector<cvf::uint> m_triangleIndices;
|
||||
std::vector<cvf::Vec3f> m_nodeCoords;
|
||||
|
||||
std::vector<RigStimPlanFractureCell> m_stimPlanCellsFractureData;
|
||||
std::vector<size_t> m_perforatedStimPlanCellsIndex;
|
||||
};
|
||||
|
||||
|
@ -37,7 +37,6 @@ class RimFracture;
|
||||
class RimEclipseCase;
|
||||
class RigStimPlanFracTemplateCell;
|
||||
class RimStimPlanFractureTemplate;
|
||||
class RigStimPlanFractureCell;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user