trixi-framework / PointNeighbors.jl

PointNeighbors.jl: Neighborhood search with fixed search radius in Julia
https://trixi-framework.github.io/PointNeighbors.jl/
MIT License
10 stars 1 forks source link

Implement dynamic vector of vectors data structure #34

Closed efaulhaber closed 2 weeks ago

efaulhaber commented 2 weeks ago

This is similar to VectorOfVectors of ArraysOfArray.jl, but dynamic, supporting push! and deleteat!. This is needed to make #25 GPU-compatible (and more efficient in general). Coincidentally, the update buffer was using a similar data structure, so we already have a first use-case for this new data structure.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.26%. Comparing base (927120c) to head (98b02e0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #34 +/- ## ========================================== + Coverage 89.86% 91.26% +1.39% ========================================== Files 13 15 +2 Lines 306 355 +49 ========================================== + Hits 275 324 +49 Misses 31 31 ``` | [Flag](https://app.codecov.io/gh/trixi-framework/PointNeighbors.jl/pull/34/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trixi-framework) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/trixi-framework/PointNeighbors.jl/pull/34/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trixi-framework) | `91.26% <100.00%> (+1.39%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=trixi-framework#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.