mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7026 Use better name for well/fracture intersection for ellipsis fracture.
This commit is contained in:
parent
94dfec1c9d
commit
6fad32e734
@ -496,6 +496,7 @@ void RimEllipseFractureTemplate::defineUiOrdering( QString uiConfigName, caf::Pd
|
|||||||
}
|
}
|
||||||
|
|
||||||
uiOrdering.add( &m_wellPathDepthAtFracture );
|
uiOrdering.add( &m_wellPathDepthAtFracture );
|
||||||
|
m_wellPathDepthAtFracture.uiCapability()->setUiName( wellPathDepthAtFractureUiName() );
|
||||||
|
|
||||||
RimFractureTemplate::defineUiOrdering( uiConfigName, uiOrdering );
|
RimFractureTemplate::defineUiOrdering( uiConfigName, uiOrdering );
|
||||||
}
|
}
|
||||||
@ -536,3 +537,11 @@ double RimEllipseFractureTemplate::computeLegacyWellDepthAtFracture() const
|
|||||||
// Set intersection depth to half of height to place ellipsis centered on the well path
|
// Set intersection depth to half of height to place ellipsis centered on the well path
|
||||||
return height() * m_heightScaleFactor / 2;
|
return height() * m_heightScaleFactor / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
QString RimEllipseFractureTemplate::wellPathDepthAtFractureUiName() const
|
||||||
|
{
|
||||||
|
return "Well/Fracture Intersection Position";
|
||||||
|
}
|
||||||
|
@ -50,6 +50,7 @@ public:
|
|||||||
double wellPathDepthAtFracture ) const override;
|
double wellPathDepthAtFracture ) const override;
|
||||||
|
|
||||||
std::pair<double, double> wellPathDepthAtFractureRange() const override;
|
std::pair<double, double> wellPathDepthAtFractureRange() const override;
|
||||||
|
QString wellPathDepthAtFractureUiName() const override;
|
||||||
|
|
||||||
void changeUnits();
|
void changeUnits();
|
||||||
cvf::cref<RigFractureGrid> createFractureGrid( double wellPathDepthAtFracture ) const override;
|
cvf::cref<RigFractureGrid> createFractureGrid( double wellPathDepthAtFracture ) const override;
|
||||||
|
@ -701,6 +701,8 @@ void RimFracture::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& ui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_wellPathDepthAtFracture.uiCapability()->setUiName( fractureTemplate()->wellPathDepthAtFractureUiName() );
|
||||||
|
|
||||||
if ( fractureTemplate()->orientationType() == RimFractureTemplate::ALONG_WELL_PATH ||
|
if ( fractureTemplate()->orientationType() == RimFractureTemplate::ALONG_WELL_PATH ||
|
||||||
fractureTemplate()->orientationType() == RimFractureTemplate::TRANSVERSE_WELL_PATH )
|
fractureTemplate()->orientationType() == RimFractureTemplate::TRANSVERSE_WELL_PATH )
|
||||||
{
|
{
|
||||||
|
@ -137,7 +137,8 @@ public:
|
|||||||
double perforationLength() const;
|
double perforationLength() const;
|
||||||
|
|
||||||
double wellPathDepthAtFracture() const;
|
double wellPathDepthAtFracture() const;
|
||||||
virtual std::pair<double, double> wellPathDepthAtFractureRange() const = 0;
|
virtual std::pair<double, double> wellPathDepthAtFractureRange() const = 0;
|
||||||
|
virtual QString wellPathDepthAtFractureUiName() const = 0;
|
||||||
|
|
||||||
virtual void fractureTriangleGeometry( std::vector<cvf::Vec3f>* nodeCoords,
|
virtual void fractureTriangleGeometry( std::vector<cvf::Vec3f>* nodeCoords,
|
||||||
std::vector<cvf::uint>* triangleIndices,
|
std::vector<cvf::uint>* triangleIndices,
|
||||||
|
@ -1113,3 +1113,11 @@ cvf::cref<RigFractureGrid> RimStimPlanFractureTemplate::createFractureGrid( doub
|
|||||||
|
|
||||||
return cvf::cref<RigFractureGrid>();
|
return cvf::cref<RigFractureGrid>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
QString RimStimPlanFractureTemplate::wellPathDepthAtFractureUiName() const
|
||||||
|
{
|
||||||
|
return "Well/Fracture Intersection Depth";
|
||||||
|
}
|
||||||
|
@ -62,6 +62,7 @@ public:
|
|||||||
void updateFilePathsFromProjectPath( const QString& newProjectPath, const QString& oldProjectPath );
|
void updateFilePathsFromProjectPath( const QString& newProjectPath, const QString& oldProjectPath );
|
||||||
|
|
||||||
std::pair<double, double> wellPathDepthAtFractureRange() const override;
|
std::pair<double, double> wellPathDepthAtFractureRange() const override;
|
||||||
|
QString wellPathDepthAtFractureUiName() const override;
|
||||||
|
|
||||||
// Fracture geometry
|
// Fracture geometry
|
||||||
cvf::cref<RigFractureGrid> createFractureGrid( double wellPathDepthAtFracture ) const override;
|
cvf::cref<RigFractureGrid> createFractureGrid( double wellPathDepthAtFracture ) const override;
|
||||||
|
Loading…
Reference in New Issue
Block a user