-
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
Topology vroom 1 #753
Topology vroom 1 #753
Conversation
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## master #753 +/- ##
==========================================
- Coverage 92.31% 91.26% -1.05%
==========================================
Files 30 32 +2
Lines 4527 4650 +123
==========================================
+ Hits 4179 4244 +65
- Misses 348 406 +58
☔ View full report in Codecov by Sentry. |
Co-authored-by: Maximilian Köhler <[email protected]>
Still slow and unfortunately I introduced quite a bit of fluctuation in runtime.
|
Since this topology is specific to some AMR algorithms I will try to add a different topology struct which will hopefully be faster to construct in the future. |
Clearer squashed commit message would be nice the next time :) |
Whoopsie, will do next time! |
* Separate topology from grid. * Split up topology. * Remove todo. * Enhanced type stability. * Stop topology from overflowing my terminal buffer. * Optimize algorithm for topology construction by eliminating allocations. * Update variable names. * Update variable names 2. * Derp. * Fix oopsie. * Matrices :) * Replace last dict in topology with vector, too. * Fix bug. * Update exports. * Add note about broken mixed-dimensional queries. * Update field docs. * Update doc reference * Lazy face skeleton. * Update src/Grid/topology.jl Co-authored-by: Maximilian Köhler <[email protected]> * More tweaks. * Rename as requested. * Oopsie * Rename in tests. * Missing dispathc. * asdf * Remove algebraic stuff on EntityNeighborhood. --------- Co-authored-by: Maximilian Köhler <[email protected]>
Modifies the topology construction algorithm and separates additional stuff like stencil and skeleton construction from the topology struct. I will add an interface for mixed-dimensional stuff in a subsequent PR, because I am not sure on the design. We can either add the mixed-dimensional stuff directly to the topology or to a different topology.
Resolves #617 mostly. We should be able to replace the sparse matrices for edges and faces with something more efficient, but I doubt that this will result in a significant runtime boost (however it will certainly be less memory-hungry).