-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add functions to connect well perforation to surface elements #3359
base: pt/well-frac
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## pt/well-frac #3359 +/- ##
================================================
- Coverage 56.56% 56.23% -0.33%
================================================
Files 1064 1065 +1
Lines 89872 90407 +535
================================================
+ Hits 50832 50840 +8
- Misses 39040 39567 +527 ☔ View full report in Codecov by Sentry. |
need review please |
need review please |
// remove duplicates | ||
std::unordered_set< Point3d, PointHash< Point3d >, PointsEqual< Point3d > > | ||
unique_points( polygon.begin(), polygon.end()); | ||
polygon.clear(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is degenerated polygon possible here?
should go after #3227
calculateElementCenters
for subregions earlier intoFaceManager::computeGeometry
, so cell centers for surface elements are available when well perforation is processedregisterWrapper
forelementCenter
andelementVolume
inEmbeddedSurfaceSubRegion
, they already registered in the base classgetReservoirElementDimensions
/getBoundingBox
to supportSurfaceElementSubRegion
SurfaceElementSubRegion
version ofisPointInsideElement
and helper functionsisPointInPolygon2d/3d
(not super refined implementation but something to start working with)