mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
#3329 Create multiple fractures. Sort fractures by ascending MD
This commit is contained in:
parent
997a3a6fe0
commit
b49e7a7aaf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user