mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Cleanup
This commit is contained in:
parent
f388ac2e1e
commit
065d65d3a5
2 changed files with 3 additions and 3 deletions
|
|
@ -422,8 +422,8 @@ Particle::cross_surface()
|
|||
site.delayed_group = this->delayed_group_;
|
||||
site.surf_num = surf->id_;
|
||||
site.particle = this->type_;
|
||||
// site.parent_id = this->id_;
|
||||
// site.progeny_id = this->n_progeny_;
|
||||
site.parent_id = this->id_;
|
||||
site.progeny_id = this->n_progeny_;
|
||||
int64_t idx = simulation::surf_src_bank.thread_safe_append(site);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -461,7 +461,7 @@ void initialize_history(Particle& p, int64_t index_source)
|
|||
{
|
||||
// set defaults
|
||||
if (settings::run_mode == RunMode::EIGENVALUE || settings::surf_src_read) {
|
||||
// set defaults for eigenvalue simulations from primary bank
|
||||
// set defaults for eigenvalue simulations and surface source reading from primary bank
|
||||
p.from_source(&simulation::source_bank[index_source - 1]);
|
||||
} else if (settings::run_mode == RunMode::FIXED_SOURCE) {
|
||||
// initialize random number seed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue