We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22474d1 commit 93792a9Copy full SHA for 93792a9
src/random_ray/source_region.cpp
@@ -416,6 +416,8 @@ void SourceRegionContainer::time_step_reset()
416
{
417
std::fill(scalar_flux_final_.begin(), scalar_flux_final_.end(), 0.0);
418
std::fill(precursors_final_.begin(), precursors_final_.end(), 0.0);
419
+ if (RandomRay::time_method_ == RandomRayTimeMethod::PROPAGATION)
420
+ std::fill(source_final_.begin(), source_final_.end(), 0.0);
421
}
422
423
} // namespace openmc
0 commit comments