GEOS
GEOS copied to clipboard
refactor: Preparatory for well to frac connection
This PR includes preparatory changes for supporting well to frac connections.
- replace
CellElementSubRegion
withElementSubRegionBase
where possible - where not possible - use templates
- introduce
targetRegion
for perforations, to be able to connect to matrix or fracture (iftargetRegion
is not specified that means perforation will try to connect to all regions) - adjust
connectPerforationsToMeshElements
logic - since target region is already defined, loop through subregions insearchLocalElements
, also adjustvisitNeighborElements
andinitializeLocalSearch
but for now preserve old versions of those 3 functions (still used inassignUnownedElementsInReservoir
), will unify later