#3329 Create multiple fractures. Sort fractures by ascending MD

This commit is contained in:
Bjørn Erik Jensen 2018-09-13 14:54:27 +02:00
parent 997a3a6fe0
commit b49e7a7aaf
2 changed files with 6 additions and 0 deletions

View File

@ -345,6 +345,7 @@ std::vector<LocationForNewFracture> RiuCreateMultipleFractionsUi::locationsForNe
}
}
std::sort(items.begin(), items.end());
return items;
}

View File

@ -42,6 +42,11 @@ public:
{
}
bool operator<(const LocationForNewFracture& loc)
{
return measuredDepth < loc.measuredDepth;
}
RimFractureTemplate* fractureTemplate;
RimWellPath* wellPath;
double measuredDepth;