mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1427 Add simulation Well and branch index to well log extraction curve and make the extraction work in those cases.
This commit is contained in:
@@ -23,12 +23,14 @@
|
||||
|
||||
#include "cafPdmPtrField.h"
|
||||
#include "cafPdmChildField.h"
|
||||
#include "cvfCollection.h"
|
||||
|
||||
class RimCase;
|
||||
class RimEclipseResultDefinition;
|
||||
class RimGeoMechResultDefinition;
|
||||
class RimView;
|
||||
class RimWellPath;
|
||||
class RigWellPath;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -41,6 +43,8 @@ public:
|
||||
RimWellLogExtractionCurve();
|
||||
virtual ~RimWellLogExtractionCurve();
|
||||
|
||||
enum TrajectoryType { WELL_PATH, SIMULATION_WELL};
|
||||
|
||||
void setWellPath(RimWellPath* wellPath);
|
||||
RimWellPath* wellPath() const;
|
||||
|
||||
@@ -73,9 +77,16 @@ protected:
|
||||
private:
|
||||
void setLogScaleFromSelectedResult();
|
||||
void clampTimestep();
|
||||
void clampBranchIndex();
|
||||
std::set<QString> findSortedWellNames();
|
||||
void updateGeneratedSimulationWellpath();
|
||||
void clearGeneratedSimWellPaths();
|
||||
|
||||
private:
|
||||
caf::PdmPtrField<RimWellPath*> m_wellPath;
|
||||
caf::PdmField<caf::AppEnum<TrajectoryType> > m_trajectoryType;
|
||||
caf::PdmField<QString> m_simWellName;
|
||||
caf::PdmField<int> m_branchIndex;
|
||||
caf::PdmPtrField<RimCase*> m_case;
|
||||
caf::PdmChildField<RimEclipseResultDefinition*> m_eclipseResultDefinition;
|
||||
caf::PdmChildField<RimGeoMechResultDefinition*> m_geomResultDefinition;
|
||||
@@ -86,5 +97,7 @@ private:
|
||||
caf::PdmField<bool> m_addWellNameToCurveName;
|
||||
caf::PdmField<bool> m_addTimestepToCurveName;
|
||||
caf::PdmField<bool> m_addDateToCurveName;
|
||||
|
||||
cvf::Collection<RigWellPath> m_generatedSimulationWellPathBranches;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user