Repository navigation
Bank surface source particles in all active cycles #2592
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
Changes from 6 commits
cbad9fc
0e32310
5e500f7
802582a
923f116
7b5abb0
724825a
3c2e09f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -404,7 +404,8 @@ void Particle::cross_surface() | |
| write_message(1, " Crossing surface {}", surf->id_); | ||
| } | ||
|
|
||
| if (surf->surf_source_ && simulation::current_batch == settings::n_batches) { | ||
| if (surf->surf_source_ && simulation::current_batch > settings::n_inactive && | ||
| !simulation::surf_source_bank.full()) { | ||
| SourceSite site; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be nice if we had
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good suggestion! I'll look into doing this on a separate PR |
||
| site.r = r(); | ||
| site.u = u(); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.