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

FIX: improve and fix PolynomialSolution #572

Merged
merged 3 commits into from
Mar 1, 2024

Conversation

bobmyhill
Copy link
Member

This PR improves the PolynomialSolution by:

  • Changing the user input to give indices and exponents, rather than repeated indices for higher powers
  • Internally changing the first and second derivative calculations to be much more efficient and work quickly for high exponents.
  • Adding several tests, which would have caught a previously uncaught bug in the second derivative calculations

This PR is a breaking change, as it changes the behaviour of PolynomialSolution.

@bobmyhill bobmyhill merged commit 4dc652d into geodynamics:master Mar 1, 2024
6 checks passed
@bobmyhill bobmyhill deleted the improve_PolynomialSolution branch March 1, 2024 17:38
@bobmyhill bobmyhill added this to In progress in BurnMan 2 Mar 24, 2024
@bobmyhill bobmyhill moved this from In progress to Done in BurnMan 2 Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant