mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Ensure time is propagated to secondary particles
This commit is contained in:
parent
24b741f2b3
commit
ef61563079
8 changed files with 35 additions and 32 deletions
|
|
@ -147,9 +147,6 @@ SourceSite IndependentSource::sample(uint64_t* seed) const
|
|||
{
|
||||
SourceSite site;
|
||||
|
||||
// Set weight to one by default
|
||||
site.wgt = 1.0;
|
||||
|
||||
// Repeat sampling source location until a good site has been found
|
||||
bool found = false;
|
||||
int n_reject = 0;
|
||||
|
|
@ -227,11 +224,6 @@ SourceSite IndependentSource::sample(uint64_t* seed) const
|
|||
break;
|
||||
}
|
||||
|
||||
// Set delayed group
|
||||
site.delayed_group = 0;
|
||||
// Set surface ID
|
||||
site.surf_id = 0;
|
||||
|
||||
return site;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue