mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 01:42:13 -05:00
#9100 Thermal Fracture: add action to place using template data
This commit is contained in:
1 parent
2691f6dca9
commit
96c4d48c9d
6 files changed
+167
No files matched your search
@@ -689,3 +689,19 @@ QString RimThermalFractureTemplate::wellPathDepthAtFractureUiName() const
|
||||
{
|
||||
return "Well/Fracture Intersection Depth";
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::pair<cvf::Vec3d, cvf::Vec3d> RimThermalFractureTemplate::computePositionAndRotation() const
|
||||
{
|
||||
cvf::Vec3d centerPosition = cvf::Vec3d::UNDEFINED;
|
||||
cvf::Vec3d rotation = cvf::Vec3d::UNDEFINED;
|
||||
|
||||
if ( m_fractureDefinitionData )
|
||||
{
|
||||
centerPosition = m_fractureDefinitionData->centerPosition();
|
||||
}
|
||||
|
||||
return std::make_pair( centerPosition, rotation );
|
||||
}
|
||||
@@ -100,6 +100,8 @@ public:
|
||||
static std::pair<QString, QString>
|
||||
widthParameterNameAndUnit( std::shared_ptr<RigThermalFractureDefinition> fractureDefinitionData );
|
||||
|
||||
std::pair<cvf::Vec3d, cvf::Vec3d> computePositionAndRotation() const;
|
||||
|
||||
protected:
|
||||
QString getFileSelectionFilter() const override;
|
||||
QStringList conductivityResultNames() const override;
|
||||
|
||||
Reference in new issue
Block a user