Commit graph

14 commits

Author SHA1 Message Date
Patrick Shriwise
040965245d Adding signatures for reading information from an XML node where necessary. 2022-12-06 13:03:38 -06:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Gavin Ridley
061156e79a address PR comments 2021-05-03 18:03:06 -04:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -04:00
helen-brooks
adf7077a01 Refactor read_input_xml so that all non-trivial functionality is containined in public functions. 2021-01-29 14:33:43 +00: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
0439eb0fa1 Convert remainder of tallies to C++ 2019-02-21 19:30:04 -06:00
Paul Romano
380d23b0e4 Address most @smharper and @nelsonag comments on #1152 2019-01-31 22:04:45 -06:00
Paul Romano
06751d5373 Move openmc_load_nuclide, openmc_material_add_nuclide, and read_mgxs to C++ 2019-01-30 22:15:48 -06:00
Paul Romano
9a2298f66d Move read_ce_cross_sections to C++ 2019-01-30 22:15:48 -06:00
Paul Romano
7d6ab8d72d Put library and library_map in data namespace 2018-11-06 10:11:48 -06:00
Paul Romano
de666e3291 Make sure MG materials get put in libraries 2018-11-06 09:52:18 -06:00
Paul Romano
a800f2976b Move res_scat_nuclides to C++ 2018-11-06 09:01:37 -06:00
Paul Romano
b65ad32422 Move libraries/library_dict to C++ (need to fix res_scat_nuclides) 2018-11-06 09:01:37 -06:00