Commit graph

73 commits

Author SHA1 Message Date
Gavin Ridley
50d0430496 std::make_unique -> make_unique 2021-05-04 15:55:08 -04: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
77d99d499b Allow access to material temperature from openmc.lib 2020-09-15 10:23:31 -05:00
Sterling Harper
193c6a9d7c Speed up distribcell initialization 2020-02-29 19:17:20 -05:00
Paul Romano
cc919d25c5 Use fmt/core.h header to reduce compile time 2020-02-10 10:33:57 -06:00
Paul Romano
7383a52f1f Use fmt::print and fmt::format in many places 2020-02-10 10:33:57 -06:00
Gavin Ridley
9483c409a8 convert all but one thing in cell.h to enums 2020-01-16 15:41:45 -05:00
Paul Romano
4ed1d5f42f Allow default material cell offset generation to be turned off 2020-01-02 16:12:04 -06:00
Paul Romano
9ddbfd26c9 Prepare distributed cell indices/arrays during initialization 2019-12-12 06:59:01 -06:00
Paul Romano
fb8b1c9b78 Add constructor for CellInstanceFilter. Call prepare_distribcells at simulation
initialization, not program initialization
2019-12-12 06:59:01 -06:00
Paul Romano
e6d2648dc1 Implement cell instance filter 2019-12-12 06:59:01 -06:00
Patrick Shriwise
4394582657 Addressing PR comments from @paulromano. 2019-11-08 14:47:00 -06:00
Patrick Shriwise
031047ee80 Moving counters into the model namespace. 2019-11-06 16:07:28 -06:00
Patrick Shriwise
a685e4768c Removing class defs in favor of STL types. 2019-11-06 16:03:51 -06:00
Patrick Shriwise
053434b99d Simplifying clears and absorption methods. 2019-11-06 15:32:28 -06:00
Patrick Shriwise
d37c416308 Updating attribute name and placing below methods. 2019-11-06 15:28:06 -06:00
Patrick Shriwise
c20e942f1c Update name of universe level counter. 2019-11-06 09:36:41 -06:00
Patrick Shriwise
4860bd5ed2 Updating name of Universer counter class. 2019-11-06 09:31:56 -06:00
Patrick Shriwise
cc6822f171 Pulling in C++ side changes for counter caching. 2019-10-07 00:11:51 -05:00
Paul Romano
9632630c0a Make all filter data members private or protected 2019-07-09 06:43:16 -05:00
Sterling Harper
d0a0d34b89 Address #1210 comments 2019-04-03 19:53:24 -04:00
Sterling Harper
5d5b82f0ae Cleanup UniversePartitioner code 2019-03-31 12:29:18 -04:00
Sterling Harper
4b76c28a3b Optimize find_cell on universes with many z-planes 2019-03-31 10:55:26 -04:00
Paul Romano
86d187a0a7 Turn Particle.coord_ into a std::vector (remove MAX_COORD) 2019-03-19 13:56:45 -05:00
Sterling Harper
e6ae490a31
Merge pull request #1183 from paulromano/cpp-cleanup
General improvements in C++ code
2019-03-05 09:39:54 -05:00
Paul Romano
d6ee83531f
Merge pull request #1178 from smharper/distribtemp_bug
Fix bug for distributed temperatures without distributed materials
2019-03-05 07:07:54 -06:00
Paul Romano
38e39c4486 Use unique_ptr consistently for global vectors 2019-03-01 15:56:21 -06:00
Paul Romano
4a89075890 Use 0-based indices for materials consistently 2019-02-26 10:37:24 -06:00
Sterling Harper
daed14b951 Fix bug for distribtemps without distribmats 2019-02-25 11:21:04 -05:00
Paul Romano
7325897ee9 Address @smharper comments on #1169 2019-02-19 21:48:20 -06:00
Paul Romano
964fdfde30 Remove cells array on Fortran side 2019-02-15 11:00:00 -06:00
Paul Romano
19a83ca1d4 Fix a few mistakes, update salphabeta test result
Turns out there was a bug in material_assign_sab_tables where a wrong sab_frac
got applied when multiple tables were present.
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
Sterling Harper
e6466e9867 Remove surface-based neighbor lists 2018-12-18 15:08:14 -05:00
Sterling Harper
35238259c0 Simplify neighbor list implementation 2018-12-18 15:02:07 -05:00
Sterling Harper
a8cb86c6b5 Implement linked-list/vector hybrid NeighborList 2018-12-14 12:44:20 -05:00
Paul Romano
24613a6799 Namespace filter_matches and tally_filters 2018-11-14 15:00:16 -06:00
Paul Romano
624e9875d6 Namespacing for sources and surfaces 2018-11-14 15:00:16 -06:00
Paul Romano
5fae5ffa9e Namespacing for mesh/material global variables 2018-11-14 15:00:16 -06:00
Paul Romano
6436cab302 More namespacing for global variables 2018-11-14 15:00:15 -06:00
Paul Romano
3cfe71621b Put global variables in cell.h in model namespace 2018-11-14 15:00:15 -06:00
Sterling Harper
9f6801ca74 Use uniqe_ptr<Filter> for global filter vector 2018-10-28 21:25:29 -04:00
Sterling Harper
e2e813adb8 Remove "tally_" prefix from tally filter files 2018-10-22 10:22:55 -04:00
Sterling Harper
9d0c1ff7e2 Reduce code duplication with TallyFilter::type() 2018-10-11 23:06:47 -04:00
Sterling Harper
f2a5e10c46 Move DistribcellFilter to C++ 2018-10-11 22:27:13 -04:00
Paul Romano
ce04299f30 Fix clang complaining about control reaching end of non-void function 2018-09-12 23:16:08 -05:00
Paul Romano
323e6d3551 Merge branch 'develop' into cpp-settings 2018-08-28 09:27:45 -05:00
Sterling Harper
fe24b640af Use 0-based indexing for distribcell 2018-08-27 19:31:42 -04:00