Implementation of Galerkin Quadrature methods and additional tutorials#762
Merged
wdhawkins merged 1 commit intoOpen-Sn:mainfrom Mar 20, 2026
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will add the Galerkin Quadrature methods 1 and 3 into OpenSn to offer another option when forming the scattering source. These scattering operators are formally expressed in literature.
In addition to this, 5 tutorials have been added --
Triangular quadrature sets and Lebedev quadrature sets have been given tutorials that are inline with the Product and SLDFE tutorials, explaining the requirements for them and an example of their angular grid for a given order.
operator_methods.ipynbexists as an introduction to the different ways the discrete-to-moment flux maps can be constructed. A quick aside is also mentioned here that the D2M matrix is stored as the transpose of the literature-defined D2M.Two tutorials (one with highly forward peaked Henyey-Greenstein scattering, the other with pure mu=1 delta scattering) were added. The first one shows that a large cross section expansion is needed to converge the legendre moments, but even a truncated expansion is capable of yeilding good results if the solution is well represented by harmonics. The second tutorial exists to showcase the major differences between the Standard method and the Galerkin-Quadrature methods, which differences are exacerbated in highly-forward peaked problems with the full harmonic expansion.
All of these tutorials I added under the angular quadrature tutorials, since they are designed to showcase certain aspects directly related to the angular quadrature class.