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

Align projection tensor calculations with master #499

Merged
merged 5 commits into from
May 26, 2024

Conversation

Jacob-Stevens-Haas
Copy link
Member

@Jacob-Stevens-Haas Jacob-Stevens-Haas commented May 13, 2024

This PR extracts the simplified routines for creating the projection tensors. The simplification is possible because of explicitly relying on the PolynomialLibrary through the helper function _build_lib_info, which allows methods to look up indexes for relevant terms. As a result, the PQ and PL matrices now have tests to ensure they are built correctly.

We also remove the check_P_tensors function, because we have explicit tests.

Finally, this also

  • moves a few other helper functions from master into trapping_extended to further limit the merge conflicts.
  • cherry-picks a commit from master to improve CI

For review, start with the tests, then the projection calculations. If desired, see the helper functions.

@Jacob-Stevens-Haas Jacob-Stevens-Haas changed the title Align projection matrix calculations with master Align projection tensor calculations with master May 13, 2024
@Jacob-Stevens-Haas
Copy link
Member Author

Ok I'm going to merge this one now, I need to start digging into the algorithm stuff

@Jacob-Stevens-Haas Jacob-Stevens-Haas merged commit 7126b0e into trapping_extended May 26, 2024
1 check passed
@Jacob-Stevens-Haas Jacob-Stevens-Haas deleted the trapping_extended-jake branch May 26, 2024 17:27
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

Successfully merging this pull request may close these issues.

1 participant