Skip to content

Conversation

@susilehtola
Copy link
Collaborator

Cleanups to Gauss-Legendre quadrature. Now the code also works for odd numbers of points. I also checked that the nodes are returned in increasing order.

In my opinion, transformations should not be hardcoded in the individual quadrature rule; instead, the transformation should be applied later.

Copy link
Owner

@wavefunction91 wavefunction91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree on removing the bounds and making them external, I had been meaning to remove these from the GC quads as well since those parameters are unused.

We do need to have access to the "natural" bounds of the quadrature though, will add an issue to track.

@susilehtola susilehtola force-pushed the gauleg_cleanup branch 3 times, most recently from 4c34e90 to d754d04 Compare July 9, 2023 15:41
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.

2 participants