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

monte carlo radial mesh #2

Open
arturgower opened this issue Aug 8, 2023 · 0 comments
Open

monte carlo radial mesh #2

arturgower opened this issue Aug 8, 2023 · 0 comments

Comments

@arturgower
Copy link
Owner

The radial mesh distance for the monte-carlo method is treated as the centre of a bin, in which the number of particles are counted.

However, if the user provides a mesh with the smallest element too close to zero, then the bin has to change size. At the moment, this line creates an error if the smallest element distance[1] is too close to zero, then the centre of the bin with be negative, and this will lead to mistakes.

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