fatiando / harmonica

Forward modeling, inversion, and processing gravity and magnetic data
https://www.fatiando.org/harmonica
BSD 3-Clause "New" or "Revised" License
211 stars 69 forks source link

Add progress bar to tesseroid forward modelling #418

Closed santisoler closed 1 year ago

santisoler commented 1 year ago

Description of the desired feature:

Analogously to what we have for prisms forward modelling, would be nice to have a progress bar for tesseroid forward models.

We should add a progressbar argument to tesseroid_gravity and modify the jit_tesseroid_gravity() function so it updates the progressbar after each iteration over the tesseroids.

The changes should be similar to the ones introduced in #315

Are you willing to help implement and maintain this feature?

Sure! But any contributions are more than welcome, and I'd be happy to help to implement this! 🙂