mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3329 Create multiple fractures. Sort fractures by ascending MD
This commit is contained in:
@@ -345,6 +345,7 @@ std::vector<LocationForNewFracture> RiuCreateMultipleFractionsUi::locationsForNe
|
||||
}
|
||||
}
|
||||
|
||||
std::sort(items.begin(), items.end());
|
||||
return items;
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,11 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
bool operator<(const LocationForNewFracture& loc)
|
||||
{
|
||||
return measuredDepth < loc.measuredDepth;
|
||||
}
|
||||
|
||||
RimFractureTemplate* fractureTemplate;
|
||||
RimWellPath* wellPath;
|
||||
double measuredDepth;
|
||||
|
||||
Reference in New Issue
Block a user