Commit graph

1672 commits

Author SHA1 Message Date
Patrick Shriwise
f63ba31b55 Adding an option for reporting ID overlap between DAGMC and CSG geometry. 2021-05-19 18:01:35 -05:00
Patrick Shriwise
0a463be15e Adding universe types again. 2021-05-19 18:01:35 -05:00
Patrick Shriwise
108c2a2f35 Adding surface and cell offsets to the DAGUniverse to recover surface and cell indices. 2021-05-19 17:42:40 -05:00
Patrick Shriwise
c35c8dae43 Reading DAGMC universes from the geometry.xml now. 2021-05-19 17:41:38 -05:00
Patrick Shriwise
249a5bb511 Adding an XML node constructor for the DAGUniverse. 2021-05-19 17:41:38 -05:00
Patrick Shriwise
a16c0916da Using the DAGUniverse constructor to setup the DAGMC instance. 2021-05-19 17:41:38 -05:00
Patrick Shriwise
ef21ec493b Returning universe index from the original dagmc function now. 2021-05-19 17:41:38 -05:00
Patrick Shriwise
be5318fdb0 Reorganizing some of the DAGMC-related code and using shared pointers instead. 2021-05-19 17:41:38 -05:00
Paul Romano
43804fc09d Merge branch 'develop' into rng-stream-changes 2021-05-11 16:53:10 -05:00
Gavin Ridley
2d6ac3fede
add reference to paper 2021-05-11 13:58:43 -04:00
Gavin Ridley
a4b879ae11 additional documentation, make name changes more consistent 2021-05-08 18:51:49 -04:00
Gavin Ridley
50d0430496 std::make_unique -> make_unique 2021-05-04 15:55:08 -04:00
Gavin Ridley
0ffe7a5d2a pass ints by value, not const reference 2021-05-03 18:03:06 -04:00
Gavin Ridley
f54b10d0f8 reverse find and replace mistake 2021-05-03 18:03:06 -04:00
Gavin Ridley
061156e79a address PR comments 2021-05-03 18:03:06 -04:00
Gavin Ridley
f0e1110e01 somehow changes to lattice methods were lost 2021-05-03 18:03:05 -04:00
Gavin Ridley
af6d182440 use accessors for dagmc variables 2021-05-03 18:01:29 -04:00
Gavin Ridley
d63f64226e small fix to array initialization 2021-05-03 18:01:29 -04:00
Gavin Ridley
ac59bb7564 add array header 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
Paul Romano
1e1bfb40f1 Add uniform_distribution function for clarity 2021-05-03 09:43:09 -05:00
Paul Romano
f0aaac4601 Move distributions into random_dist.h/cpp 2021-05-03 09:43:09 -05:00
Paul Romano
e0e5936b79 Remove separate RNG stream for photons 2021-05-03 09:43:09 -05:00
Paul Romano
8a07feebcb Sample isotropic direction consistently 2021-05-03 09:43:09 -05:00
Paul Romano
c64e64dac2 Replace pi constant with more accurate version 2021-05-03 09:43:09 -05:00
Paul Romano
03244d755f Update physical constants to CODATA 2018 2021-05-03 09:43:09 -05:00
Paul Romano
7ef73f048d Remove special treatment of mu for fission 2021-05-03 09:43:09 -05:00
Patrick Shriwise
73aef414ca Updating variable names of the methods. 2021-04-28 00:24:10 -05:00
Patrick Shriwise
0488f58941 Exposing translation getting/setting through CAPI 2021-04-28 00:24:10 -05:00
Patrick Shriwise
f48f6c6ab8 Condensing filter translation into single commit. 2021-04-28 00:24:10 -05:00
Paul Romano
f813c45810 Merge pull request #1798 from ameliajo/collisionFilter
Added Collision filter
2021-04-09 08:03:02 -05:00
Patrick Shriwise
1262bcde7d Apply @paulromano's suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-04-07 19:07:07 -05:00
Patrick Shriwise
fd00bd94b2 Relying on the libmesh communicator to create new mesh instances. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
c798b6c651 Fix docstring typo. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
9c3ee5daa5 Removing superfluous public section. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
6156e1b3ae Storing the first element ID rather than its pointer. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
7a2f1d6d0a Updating unstructured mesh writing to use the nuclide_score tally method and putting variable addition back into its own loop. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
7b6bf93afd Adding function for retrieving the name of a nuclide from a tally. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
9fec4b4b3e Some improvements to readability and moving to removal of all scores from mesh instances in one step. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
6c7c0a6816 Addressing initial review comments from @paulromano. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
9eb53a1af9 Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-04-07 19:07:07 -05:00
Patrick Shriwise
324d349459 Back to a vector of point locators. 2021-04-07 19:07:07 -05:00
Patrick Shriwise
b982704d4f Addressing @aprilnovak's PR comments. 2021-04-07 19:07:06 -05:00
Patrick Shriwise
c749b00bf7 Updating formatting of unstructured mesh functions. 2021-04-07 19:07:06 -05:00
Patrick Shriwise
6b91138957 Some cleanup of the mesh source files. 2021-04-07 19:07:06 -05:00
Patrick Shriwise
040c5b9bd4 Removing libmesh include from settings header. 2021-04-07 19:07:06 -05:00