(#557, #560, #561) WLP: Guaranteed Pairwise ordering of intersections

and endpoint handling.  Now discarding out-of-pair points.
Added well name and case in error message.
This commit is contained in:
Jacob Støren
2015-10-14 15:07:48 +02:00
parent d004d14acc
commit 21b313f945
8 changed files with 87 additions and 41 deletions

View File

@@ -37,7 +37,7 @@ class RigWellPath;
class RigWellLogExtractor : public cvf::Object
{
public:
RigWellLogExtractor(const RigWellPath* wellpath);
RigWellLogExtractor(const RigWellPath* wellpath, const std::string& wellCaseErrorMsgName);
virtual ~RigWellLogExtractor();
const std::vector<double>& measuredDepth() { return m_measuredDepth; }
@@ -51,6 +51,7 @@ protected:
std::map<RigMDCellIdxEnterLeaveKey, HexIntersectionInfo > *uniqueIntersections);
void populateReturnArrays(std::map<RigMDCellIdxEnterLeaveKey, HexIntersectionInfo > &uniqueIntersections);
void appendIntersectionToArrays(double measuredDepth, const HexIntersectionInfo& intersection);
std::vector<double> m_measuredDepth;
std::vector<double> m_trueVerticalDepth;
@@ -61,6 +62,8 @@ protected:
m_intersectedCellFaces;
cvf::cref<RigWellPath> m_wellPath;
std::string m_wellCaseErrorMsgName;
};