#1487 Remove obsolete RigStimPlanFractureCell class

This commit is contained in:
Jacob Støren 2017-05-19 14:57:37 +02:00
parent ba2f9c335c
commit 3271f9b32f
5 changed files with 2 additions and 60 deletions

View File

@ -332,8 +332,6 @@ void RifFractureExportTools::printStimPlanCellsMatrixTransContributions(const st
continue;
}
RigStimPlanFractureCell fracStimPlanCellData(stimPlanCell.getI(), stimPlanCell.getJ());
RigEclipseToStimPlanCellTransmissibilityCalculator eclToStimPlanTransCalc(caseToApply,
fracture->transformMatrix(),
fracture->attachedFractureDefinition()->skinFactor,

View File

@ -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);

View File

@ -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);
}

View File

@ -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;
};

View File

@ -37,7 +37,6 @@ class RimFracture;
class RimEclipseCase;
class RigStimPlanFracTemplateCell;
class RimStimPlanFractureTemplate;
class RigStimPlanFractureCell;
//==================================================================================================
///