Skip to content
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

Remove unnecessary forward calculations #88

Open
mdtanker opened this issue Aug 23, 2024 · 0 comments
Open

Remove unnecessary forward calculations #88

mdtanker opened this issue Aug 23, 2024 · 0 comments

Comments

@mdtanker
Copy link
Owner

Currently, at each iteration the forward gravity of the entire prism model is calculated twice. Once for determining the Jacobian, and once for updating the residual misfit after the topography correction is applied. These calculations should be able to be restricted to just the prisms which have been altered during the previous iteration, which will hopefully significantly speed up the code.

The previous version of the Jacobian and the forward gravity of the prisms should be saved, and entries only updated if those prisms have been updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant