Commit graph

96 commits

Author SHA1 Message Date
John Tramm
d1b5810688 moved thread private trace debugging variable into particle object. 2020-01-03 21:55:03 +00:00
John Tramm
d4c63ed0bb removed thread private global tally accumulators and moved them to particle. They now atomically accumulate at particle death. 2020-01-03 21:09:44 +00:00
John Tramm
58d10d6a30 increase nubank size from 10 to 15. Some nu values were getting be 10 or 11. Also added an assert to enforce this. 2019-12-16 20:49:16 +00:00
John Tramm
a9dedd48ae added fix for fission tallies, where it would snoop through the (defunct) fission bank for neutrons creaetd in the last reaction. This would required iterating through the entire global fission bank and searching for child particles, which could be super slow. Instead, particles now contain a small nu bank that contains the required information, and is statically sized at 10, as I am assuming nu is always < 10. 2019-12-16 19:55:55 +00:00
John Tramm
768102ad18 converted tracks to be particle owned, rather than global threadprivate 2019-12-12 22:19:56 +00:00
John Tramm
4fb438cbea moved filter_matches arrays to be particle owned rather than global thread private 2019-12-12 21:09:55 +00:00
John Tramm
38fa90b3e4 Moved flux derivatives to the particle. Diff tallies are still not getting right answer, but they look closer... 2019-12-12 16:02:06 +00:00
John Tramm
1bb03f004a Moved current_work variable to particle object, and removed threadprivate tag from tally_derivs 2019-12-11 21:58:19 +00:00
John Tramm
70c9b7dd51 added skip of CMFD tests that cause seg faults 2019-12-11 19:55:28 +00:00
John Tramm
796844fd0b fixed broken stuff from prn interface changes 2019-12-11 16:09:15 +00:00
John Tramm
c49ce141a7 fixed MPI issues that resulted from adding Bank struct member 2019-12-11 16:07:33 +00:00
John Tramm
6050e705bc fixed reproducibility issue 2019-12-11 16:06:04 +00:00
John Tramm
ff27ed2bbe made secondary particle bank particle owned instead of thread private 2019-12-11 16:00:10 +00:00
John Tramm
c84fc282a5 Moved seed accessor functions into header. Changed python rotate_angle default seed generation technique. 2019-12-06 14:56:42 +00:00
John Tramm
0602ddd8a3 refactor seed and seed aray variable names 2019-12-05 19:50:31 +00:00
John Tramm
428bab4fd2 incorporated code review changes 2019-12-05 19:32:12 +00:00
John Tramm
60015e5c5c Revert "Merge branch 'event-based-device' into particle_owned_seeds"
This reverts commit 12463ac6b0, reversing
changes made to 4261690537.
2019-11-26 17:05:04 +00:00
John Tramm
12463ac6b0
Merge branch 'event-based-device' into particle_owned_seeds 2019-11-26 10:47:10 -06:00
John Tramm
4261690537 finished refactoring to add class member signifier, and finished formatting cleanup 2019-11-25 16:28:07 +00:00
John Tramm
0ebfae4ef5 added particle based seed initialization. Now for sampling functions to use the new seeds. 2019-11-20 22:55:40 +00:00
John Tramm
5c7e7ff13f changed basic prototypes 2019-11-20 19:20:03 +00:00
John Tramm
0fb047f56c Brings things up to level with the @paulromano event-based code 2019-11-15 21:28:24 +00:00
Paul Romano
11eb891e21 Add a LocalCoord::rotate method as suggested by @pshriwise 2019-05-29 15:09:12 -05:00
liangjg
57fcb078d3 refactoring 2019-04-11 12:14:18 -04:00
liangjg
a034fb2e76 added a data member in particle to track # of secondary particles 2019-04-04 11:22:03 -04:00
Paul Romano
c049557c85 Get rid of MAX_SECONDARY constant 2019-03-19 14:38:24 -05:00
Paul Romano
279104cfed Move secondary bank outside of Particle class 2019-03-19 13:57:42 -05:00
Paul Romano
d980b4a5ea Make secondary_bank_ a vector and improve interfaces 2019-03-19 13:57:42 -05:00
Paul Romano
86d187a0a7 Turn Particle.coord_ into a std::vector (remove MAX_COORD) 2019-03-19 13:56:45 -05:00
Paul Romano
52fc93e6e0 Rename cross section caches 2019-03-19 13:56:45 -05:00
Paul Romano
8a8b7b2c0a Move cross section caches into Particle class 2019-03-19 13:56:45 -05:00
Paul Romano
cd0ca81914 Rename other 'last' members in Particle 2019-03-01 16:00:36 -06:00
Paul Romano
368f89697d Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
Paul Romano
e906198273 Turn Particle::initialize into the default constructor 2019-03-01 15:59:21 -06:00
Paul Romano
b28ee8087c Move ParticleType into Particle and use for type_ member 2019-03-01 15:59:21 -06:00
Paul Romano
b4ed267d4b Add trailing underscore on Particle data members 2019-03-01 15:59:21 -06:00
Paul Romano
3cac2a6702 Remove Fortan compatibility functions 2019-02-21 22:44:24 -06:00
Paul Romano
7325897ee9 Address @smharper comments on #1169 2019-02-19 21:48:20 -06:00
Paul Romano
f8925b25be Convert transport() and cross_surface() to C++ 2019-02-15 10:59:23 -06:00
Paul Romano
4d2284ca7d Resolve off-by-one issues for ParticleType 2019-01-31 22:54:32 -06:00
Paul Romano
8c64139c06 Move initialize_history to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
04e48224e6 Almost complete mesh conversion 2018-09-03 06:50:49 -05:00
Sterling Harper
452de390ba Merge remote-tracking branch 'upstream/develop' into cpp_geometry 2018-08-27 20:03:02 -04:00
Sterling Harper
01b216b63a Merge remote-tracking branch 'upstream/develop' into cpp_geometry 2018-08-24 20:45:52 -04:00
Paul Romano
b92677e70b Convert source distributions to C++ 2018-08-23 15:23:47 -05:00
Paul Romano
9f0ea52d1a Move headers to include/openmc directory and openmc.h -> openmc/capi.h 2018-08-20 14:40:32 -05:00
Renamed from src/particle.h (Browse further)