6877 well fracture intersection per fracture (#7251)

* #6877 Move well/fracture intersection to fracture (from template).
* #6877 Read stimplan xml without scaling and well/fracture intersection offset
* #6877 Move fracture grid to RimFracture from template.
* #6877 Use RiaDefines::conductivityResultName() where applicable.
* #6877 Reintroduce fracture template scaling.
* #6877 Hide well/fracture intersection option for elliptical template
* #7280: Fix crash when picking in first time step of StimPlan fracture
* #7279 Redraw after deleting fracture to make it disappear.
This commit is contained in:
Kristian Bendiksen
2021-01-26 15:32:18 +01:00
committed by GitHub
parent 05aceef936
commit f8aae6691d
22 changed files with 317 additions and 227 deletions

View File

@@ -40,6 +40,7 @@ class RivWellFracturePartMgr;
class RimFractureTemplate;
class RigFracturedEclipseCellExportData;
class RigMainGrid;
class RigFractureGrid;
class NonDarcyData
{
@@ -120,6 +121,11 @@ public:
void ensureValidNonDarcyProperties();
void clearCachedNonDarcyProperties();
virtual void triangleGeometry( std::vector<cvf::Vec3f>* nodeCoords, std::vector<cvf::uint>* triangleIndices ) const;
void updateFractureGrid();
const RigFractureGrid* fractureGrid() const;
friend class RimFractureTemplate;
// RimWellPathCompletionsInterface overrides.
@@ -141,7 +147,9 @@ protected:
private:
cvf::Vec3d fracturePositionForUi() const;
double wellFractureAzimuthDiff() const;
void triangleGeometry( std::vector<cvf::uint>* triangleIndices, std::vector<cvf::Vec3f>* vxCoords ) const;
void triangleGeometryTransformed( std::vector<cvf::uint>* triangleIndices,
std::vector<cvf::Vec3f>* vxCoords,
bool transform ) const;
QString wellFractureAzimuthDiffText() const;
QString wellAzimuthAtFracturePositionText() const;
@@ -153,6 +161,7 @@ protected:
caf::PdmField<bool> m_editFractureTemplate;
caf::PdmField<bool> m_createEllipseFractureTemplate;
caf::PdmField<bool> m_createStimPlanFractureTemplate;
caf::PdmField<double> m_wellPathDepthAtFracture;
caf::PdmProxyValueField<cvf::Vec3d> m_uiAnchorPosition;
caf::PdmField<caf::AppEnum<RiaDefines::EclipseUnitSystem>> m_fractureUnit;
@@ -172,6 +181,7 @@ private:
caf::PdmField<cvf::Vec3d> m_anchorPosition;
cvf::ref<RivWellFracturePartMgr> m_fracturePartMgr;
cvf::cref<RigFractureGrid> m_fractureGrid;
NonDarcyData m_cachedFractureProperties;
};