geodynamics / aspect

A parallel, extensible finite element code to simulate convection in both 2D and 3D models.
https://aspect.geodynamics.org/
Other
217 stars 232 forks source link

Remove unnecessary check in particle interpolator. Remove deprecated function. #5857

Closed gassmoeller closed 3 weeks ago

gassmoeller commented 3 weeks ago

It used to be possible to call the particle interpolators without knowing which cell the interpolated positions were in (e.g. when creating new particles in random locations without checking the cell first). This led to all particle interpolators having backup code in case the cell is not known. By now however, all calls to particle interpolators provide an actual cell, so it is not necessary to carry this (slow) backup code around.

Also remove a deprecated interface function that was deprecated 6 years ago.

bangerth commented 3 weeks ago

Nice!