From d4c63ed0bba0afc2ff05bf30cf143b2a23bf34ac Mon Sep 17 00:00:00 2001 From: John Tramm Date: Fri, 3 Jan 2020 21:09:44 +0000 Subject: [PATCH] removed thread private global tally accumulators and moved them to particle. They now atomically accumulate at particle death. --- examples/xml/pincell/settings.xml | 4 ++-- include/openmc/particle.h | 5 +++++ include/openmc/tallies/tally.h | 2 -- src/particle.cpp | 16 +++++++++++++--- src/physics.cpp | 4 ++-- src/physics_mg.cpp | 6 ++---- src/simulation.cpp | 21 ++++++++++++++++----- 7 files changed, 40 insertions(+), 18 deletions(-) diff --git a/examples/xml/pincell/settings.xml b/examples/xml/pincell/settings.xml index a3dae818e..5845898c8 100644 --- a/examples/xml/pincell/settings.xml +++ b/examples/xml/pincell/settings.xml @@ -3,9 +3,9 @@ eigenvalue - 20 + 100 10 - 1000000 + 1000