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

Warning when particles are initialised outside time domain #1694

Open
VeckoTheGecko opened this issue Sep 9, 2024 · 0 comments
Open

Warning when particles are initialised outside time domain #1694

VeckoTheGecko opened this issue Sep 9, 2024 · 0 comments

Comments

@VeckoTheGecko
Copy link
Contributor

@sruehs was encountering a bug with her simulation where the number of the particles in the output weren't the same as in the particle set. Turns out not all particles in the particleset were initialised within the time domain of pset.execute(runtime=...). Having an informative warning here would be helpful. Note that the warning would be raised if pset.execute() is used in a loop, but that can now be silenced with a filter from warnings.

cc @michaeldenes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant