Closed drwells closed 1 year ago
More remains to be done here but this will give us a nice way to access single intersections.
Hello David, any suggestions for next step?
Please don't post questions in closed PRs - this is a discussion that should happen in #159. Lets plan things out there.
Part of #159.
After looking at #179 I came up with some ideas for how we can efficiently store and iterate over the intersections. At a high level we can build on
fdl::PatchMap
: once we know which elements intersect which patches we can compute all the intersections. For starters I am just doing one intersection per stencil.Some next steps:
Accessor
class. This has the advantage of putting all of the difficult to get rightSideIndex
calculations in one place.iterator
classPatchSingleIntersections
It should be possible to do most of this class without actually writing the real intersection code. That can come later (and it is logically in a level below this one).