Commit graph

89 commits

Author SHA1 Message Date
Gavin Ridley
5549b58e1f
Geometron (#2744) 2024-01-16 10:35:57 -06:00
Christopher Fichtlscherer
03f98e8f82
time-cutoff version 2.0 (#2631) 2023-08-19 15:20:33 -05:00
Christopher Fichtlscherer
e3cd406a9b
Pulse height tally for photons (#2452)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-07-09 22:50:08 -05:00
Paul Romano
c123ce0fa0
New multiply_density option on tallies (#2539) 2023-06-09 08:24:00 -04:00
Paul Romano
24b741f2b3 Initial implementation of time filter 2022-01-05 07:43:42 -06:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Gavin Ridley
a4b879ae11 additional documentation, make name changes more consistent 2021-05-08 18:51:49 -04:00
Gavin Ridley
061156e79a address PR comments 2021-05-03 18:03:06 -04:00
Gavin Ridley
af6d182440 use accessors for dagmc variables 2021-05-03 18:01:29 -04:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -04:00
Gavin Ridley
2af4c9cd92 use base class to handle layout of particle data 2021-05-03 17:57:41 -04:00
Gavin Ridley
5cf8482d9a have collision filter use particle accessors 2021-05-03 17:57:00 -04:00
Gavin Ridley
d5d2072266 change particle to using accessor methods 2021-05-03 17:56:57 -04:00
Gavin Ridley
711c60ea15 cherry pick fixes 2021-05-03 17:53:03 -04:00
YoungHui Park
3be475836b Switch from surf_num to surf_id 2021-01-18 14:36:04 -06:00
YoungHui Park
d28967c801 Add surf_num to bank datatype 2021-01-18 14:36:04 -06:00
YoungHui Park
45b24ca78e Switch to push_back method instead of manual indexing 2021-01-18 14:36:04 -06:00
YoungHui Park
0c8ce53d94 Rough banking of surface source into surf_src_bank 2021-01-18 14:36:04 -06:00
Sterling Harper
5fb806bcb5 Add comments to periodic BC implementation 2020-10-26 22:15:20 -06:00
Sterling Harper
1d07f49861 Move all BCs to the new BoundaryCondtion class 2020-10-17 20:59:58 -06:00
Sterling Harper
05ea9ea585 Move reflective/white BCs to a new class 2020-10-17 20:34:41 -06:00
Sterling Harper
0f214eb130 Move BC tracking software into separate functions 2020-10-17 20:13:38 -06:00
Paul Romano
ece6b8b15f Weight non-fission energy deposition by keff 2020-06-29 10:59:14 -05:00
Paul Romano
128faa49b0 Add particle_type_to_str and str_to_particle_type functions 2020-04-23 16:37:23 -05:00
stevendargaville
9f64dd1a88 Modified the REL_MAX_LOST_PARTICLES const in particle.h to be a variable stored in settings that can be modified by the c/python/xml layers. 2020-02-11 13:37:26 +00:00
stevendargaville
516ac9e1d3 Modified the MAX_LOST_PARTICLES const in particle.h to be a variable stored in settings that can be modified by the c/python/xml layers. 2020-02-11 13:37:00 +00:00
Gavin Ridley
7df7fc280b
Merge branch 'develop' into add_enums2 2020-01-21 13:13:50 -05:00
John Tramm
9f29ca9943 Added another annotation to the Particle::Bank struct definition, alerting that this structure is also defined in the python C interface. 2020-01-17 16:32:42 +00:00
John Tramm
68a834f780 Added comment warning for Particle::Bank struct defintion that changes to it must also be made in MPI type declaration. 2020-01-17 15:59:37 +00:00
John Tramm
714d0b266e Converted fission_bank to unique_ptr rather than regular pointer. Also added some comments to explain usage of unique_ptr as opposed to vector type. 2020-01-17 02:47:14 +00:00
John Tramm
03397cab26 added O(n) fission bank sorting implementation 2020-01-16 22:35:32 +00:00
Gavin Ridley
9483c409a8 convert all but one thing in cell.h to enums 2020-01-16 15:41:45 -05:00
John Tramm
47cfc9cbf1 finished comment incorporation from code review 2020-01-16 01:48:59 +00:00
John Tramm
5066bfa42d
Apply suggestions from code review
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-01-15 17:02:37 -06:00
John Tramm
f7fb5a036b Converted DagMC threadprivate variables to particle owned as well. Not quite as bad as I was expecting. 2020-01-14 16:24:26 +00:00
John Tramm
765ee87b1b more formatting changes 2020-01-14 14:52:41 +00:00
John Tramm
3c43cb7d79 moved FilterMatch definition to its own file, so as to remove the circular dependency between filter.h and particle.h 2020-01-14 02:56:27 +00:00
John Tramm
e1abbe6fcb Unified the calculate XS functions, as its not really necessary to split them up. Also cleaned up simulation headers. 2020-01-14 02:40:41 +00:00
John Tramm
4371279719 added some comments to particle object to explain new fields. 2020-01-13 22:41:58 +00:00
John Tramm
3621fddc7e Changed the nu_bank particle field to be a vector. We can get away with it being a static array of length 15, but for CPU robustness we will make it a vector. We will need to convert a bunch of other vectors when moving to GPU so this is fine. 2020-01-08 19:19:05 +00:00
John Tramm
8aaa97a0bd Removed old style history() function from particle object, and moved it into new functions in simulation file. Also had to fix particle_restart function to follow similar logic that was moved to initialize_history() function. 2020-01-07 23:03:13 +00:00
John Tramm
79bf18efa8 misc small edits. Trying to track down threading bug that causes undefined behavior 2020-01-06 20:52:48 +00:00
John Tramm
69d782f315 broke up history-based method into discrete events 2020-01-03 22:50:41 +00:00
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