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

Improve memory usage #4

Open
DerkNiessink opened this issue Apr 30, 2024 · 0 comments
Open

Improve memory usage #4

DerkNiessink opened this issue Apr 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@DerkNiessink
Copy link
Owner

The positions and energies of the neutrons are now stored in each instance of the Neutron class, which is very inefficient. The maximum number of neutrons in a simulation is now about 100 000 on a device with 16G RAM. This can be easily improved by storing the data in files.

@DerkNiessink DerkNiessink added the enhancement New feature or request label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant