Paul Romano
832c32e16a
Merge pull request #1454 from gridley/add_enums2
...
Attempt number two at enum conversion!
2020-01-21 17:13:35 -06:00
John Tramm
8438d42584
added more documentation
2020-01-21 20:46:21 +00:00
John Tramm
df0edc33b1
removed unnecessary include, and reset particles buffer to unique_ptr type.
2020-01-21 20:43:42 +00:00
John Tramm
2142ae9895
changed order of fields in QueueItem struct.
2020-01-21 20:38:53 +00:00
John Tramm
972fb54f82
Added lots of comments and documentation to the event.h file.
2020-01-21 20:36:30 +00:00
Gavin Ridley
40885be7aa
fix thing in surface.h
2020-01-21 13:18:07 -05:00
Gavin Ridley
7df7fc280b
Merge branch 'develop' into add_enums2
2020-01-21 13:13:50 -05:00
Gavin Ridley
1d33aca9bd
incorporate recommended name changes
2020-01-21 13:04:39 -05:00
John Tramm
c0a1056e55
added setting to control the maximum number of in flight particles. Also simplified enqueing procedure after XS lookup events to drop atomic usage there.
2020-01-21 17:40:54 +00:00
Paul Romano
21dd56a343
Fix comment in tally.h regarding order of axes for results_
2020-01-21 07:38:04 -06:00
Paul Romano
1a35632fe3
Ensure Material, Filter, and Tally destructors don't segfault
...
Because these destructors call erase() on the corresponding maps, they expect
that the maps still exist. However, based on the current order of declaration,
there is no guarantee that they exist because the maps will be deleted first.
2020-01-21 07:34:10 -06:00
John Tramm
9d79cdc2d5
added some comments and cleaned things up
2020-01-20 18:20:02 +00:00
John Tramm
3641a6632f
added timers
2020-01-20 18:19:59 +00:00
John Tramm
8c884a17de
General import of event-based model from old branch. Seems to work, but need to test then work on cleaning up some more.
2020-01-20 18:19:57 +00:00
Paul Romano
8f52e04735
Merge pull request #1451 from jtramm/no_thread_private
...
Preparation for event-based parallelism (Thread private variable removal)
2020-01-20 10:45:05 -06:00
Amanda Lund
de99faefc9
Merge pull request #1450 from paulromano/fix-ace-isotropic
...
Data fix for isotropic elastic scattering / parallelize source site generation
2020-01-17 16:13:20 -06:00
Gavin Ridley
d37688a549
Merge branch 'develop' into add_enums2
2020-01-17 16:46:27 -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
Paul Romano
a7d08364d3
Parallelize source site generation for fixed source calcs
2020-01-14 15:10:33 -06:00
John Tramm
a7a7ceed12
changed FilterBinIter interface to simplify things a little
2020-01-14 19:57:06 +00:00
John Tramm
d6d804600f
formatting cleanup
2020-01-14 19:30:18 +00: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
f6020279c9
Refactored to remove the non-shared fission bank. This involved some minor changes to the MPI bank synchronization code and the site counting code, but overall makes the code much simpler. Since there is now only one fission bank, the name was changed from shared_fission_bank to just fission_bank throughout.
2020-01-14 15:39:20 +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
b05dedb179
moved transport functions in simulation to be more consistent
2020-01-14 02:48: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
2ea0859fd3
Removed some comment references to threadprivate variables that no longer exist.
2020-01-14 02:30:17 +00:00
John Tramm
63ef983f19
formatting sweep
2020-01-14 02:14:09 +00:00
John Tramm
ad96fa6ffa
Moved allocation/freeing of SHM fission bank into the existing allocation/freeing routines for the bank, to simplify things slightly. Also restored the DagMC regression tests.
2020-01-13 22:58:19 +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
ed0a804d0a
removed all event-based code from this branch
2020-01-13 22:33:57 +00:00
Paul Romano
a35d51202c
Add a settings flag to turn off/on delayed photon fission yield scaling
2020-01-13 14:46:26 -06:00
Paul Romano
8894696db1
Scale fission photon production by (EGP + EGD)/EGP
2020-01-13 14:42:40 -06:00
John Tramm
58e3d3a275
simplified interface for creating fission sites
2020-01-13 20:03:18 +00:00
Paul Romano
37eaaabd6c
Simplify CellInstance hash function and use template argument for unordered_map
2020-01-10 06:54:05 -06:00
Paul Romano
9787e9e8c0
Merge branch 'develop' into cell-instance-filter
2020-01-09 07:26:43 -06:00
John Tramm
b41f3aadb4
Code cleanup. Removed some dead code from throughout.
2020-01-08 22:55:30 +00:00
John Tramm
65418f56b4
changes to int64_t for event-based particle queueing variables
2020-01-08 19:55:34 +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
e60dd30079
moved shared fission bank and event based functions around. Created new event files for event-based logic.
2020-01-08 17:09:41 +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
747971dffe
Added multigroup support for shared fission bank. Should be relatively easy to support for GPU.
2020-01-07 18:25:50 +00:00
Ethan Peterson
96c7427eaf
Adding CylindricalIndependent source type
...
ammended docstrings to mention local reference frame
2020-01-06 19:47:10 -05:00