This commit is contained in:
Magne Sjaastad
2018-08-06 09:36:42 +02:00
parent 411ef54364
commit 0e14499561
5 changed files with 15 additions and 15 deletions

View File

@@ -83,7 +83,7 @@ const std::vector<double>& RigEclipseToStimPlanCellTransmissibilityCalculator::c
void RigEclipseToStimPlanCellTransmissibilityCalculator::calculateStimPlanCellsMatrixTransmissibility()
{
// Not calculating flow into fracture if stimPlan cell cond value is 0 (assumed to be outside the fracture):
if (m_stimPlanCell.getConductivtyValue() < 1e-7) return;
if (m_stimPlanCell.getConductivityValue() < 1e-7) return;
const RigEclipseCaseData* eclipseCaseData = m_case->eclipseCaseData();

View File

@@ -29,7 +29,7 @@ RigFractureCell::RigFractureCell(std::vector<cvf::Vec3d> polygon, size_t i, size
: m_polygon(polygon)
, m_i(i)
, m_j(j)
, m_concutivityValue(0.0)
, m_conductivityValue(0.0)
{
}
@@ -44,9 +44,9 @@ const std::vector<cvf::Vec3d>& RigFractureCell::getPolygon() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RigFractureCell::getConductivtyValue() const
double RigFractureCell::getConductivityValue() const
{
return m_concutivityValue;
return m_conductivityValue;
}
//--------------------------------------------------------------------------------------------------
@@ -70,7 +70,7 @@ size_t RigFractureCell::getJ() const
//--------------------------------------------------------------------------------------------------
bool RigFractureCell::hasNonZeroConductivity() const
{
return m_concutivityValue > 1e-7;
return m_conductivityValue > 1e-7;
}
//--------------------------------------------------------------------------------------------------
@@ -78,7 +78,7 @@ bool RigFractureCell::hasNonZeroConductivity() const
//--------------------------------------------------------------------------------------------------
void RigFractureCell::setConductivityValue(double cond)
{
m_concutivityValue = cond;
m_conductivityValue = cond;
}
//--------------------------------------------------------------------------------------------------

View File

@@ -34,7 +34,7 @@ public:
RigFractureCell(std::vector<cvf::Vec3d> polygon, size_t i, size_t j);
const std::vector<cvf::Vec3d>& getPolygon() const;
double getConductivtyValue() const;
double getConductivityValue() const;
size_t getI() const;
size_t getJ() const;
@@ -46,7 +46,7 @@ public:
private:
std::vector<cvf::Vec3d> m_polygon;
double m_concutivityValue;
double m_conductivityValue;
size_t m_i;
size_t m_j;
};