Commit graph

21 commits

Author SHA1 Message Date
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -04:00
Paul Romano
6992e53398 Change declaration order of maps used for vectors
If the destructor of an object tries to remove an entry from the map, there's no
guarantee it exists if the map has already been destroyed (because it was
declared after the vector of objects), resulting in a segfault. By declaring the
map first, we avoid this. Currently an issue for Nuclide, but potentially other
classes in the future.
2020-07-29 15:48:14 -05:00
Paul Romano
9dab8bf507 Use references consistently in geometry functions 2020-04-23 16:37:23 -05:00
Paul Romano
f522f31e4b Change apply_derivative_to_score to accept const ref 2020-04-23 16:37:23 -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
Gavin Ridley
9483c409a8 convert all but one thing in cell.h to enums 2020-01-16 15:41:45 -05:00
John Tramm
d6d804600f formatting cleanup 2020-01-14 19:30:18 +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
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
Paul Romano
d0b6d9fbd6 Move read_tallies_xml to C++ 2019-02-20 23:34:36 -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
Sterling Harper
2bc8b9a5ff Avoid implicit construction of TallyDerivative 2019-02-13 01:05:50 -05:00
Sterling Harper
8b61bc1a77 Respond to @paulromano comments on #1162 2019-02-12 17:10:25 -05:00
Sterling Harper
ddaed7311b Finish moving apply_derivative_to_score to C++ 2019-02-10 21:45:54 -05:00
Sterling Harper
9f6a7466e2 Use interoperable TallyDerivative structs 2019-01-26 13:53:01 -05:00
Sterling Harper
06caf67ccf Create C++ TallyDerivative struct 2019-01-26 12:10:18 -05:00