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

Multithreaded integration #212

Closed
fredrik-johansson opened this issue Mar 5, 2018 · 1 comment
Closed

Multithreaded integration #212

fredrik-johansson opened this issue Mar 5, 2018 · 1 comment

Comments

@fredrik-johansson
Copy link
Collaborator

It's not trivial to parallelize the main work queue, but the function evaluations in the Gaussian quadrature could be parallelized, including the computation of quadrature nodes.

It would definitely be a good idea to share the quadrature nodes between all threads. However, this becomes a bit more complicated to do correctly, because the integrand could be performing recursive integrations that also modify the nodes.

@fredrik-johansson
Copy link
Collaborator Author

The function evaluations are parallelized and although things can be improved, it works reasonably well.

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