Ensure time is propagated to secondary particles

This commit is contained in:
Paul Romano 2021-09-13 16:01:48 -05:00
parent 24b741f2b3
commit ef61563079
8 changed files with 35 additions and 32 deletions

View file

@ -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;
}