STEllAR-GROUP / octotiger

Astrophysics program simulating the evolution of star systems based on the fast multipole method on adaptive Octrees
http://octotiger.stellar-group.org/
Boost Software License 1.0
48 stars 17 forks source link

Improve aggregation wrapper #469

Closed G-071 closed 8 months ago

G-071 commented 8 months ago

This PR adds a new subview wrapper for the work aggregation in the hydro code, making the code overall a lot nicer (as we do not have to handle the index offsets between slices manually anymore).

The code itself is actually from last year but has not made it into master yet. However, since the wrappers should make it easier to add work aggregation to other parts of the code I think we should merge it soon now.

Depends on #468 for testing.