Commit graph

104 commits

Author SHA1 Message Date
John Tramm
5111aa2621
Random Ray Transport (#2823)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-18 22:10:16 +00:00
Gavin Ridley
5549b58e1f
Geometron (#2744) 2024-01-16 10:35:57 -06:00
Paul Romano
1cae2f712a
Prevent segfault in distance to boundary calculation (#2659) 2023-09-01 09:52:51 -04:00
Patrick Shriwise
06d64370c8
Tweaks to Universe::find_cell (#2662) 2023-08-24 17:08:15 -05:00
myerspat
06312b0535 Refactored CSGCell to use Region 2022-09-25 22:05:22 -04:00
Paul Romano
34a35d832a Fix cell instance counting bug with same lattice in multiple cells 2022-03-09 17:16:19 -06:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Patrick Shriwise
404dc1ecc9 Ensuring Particle::cell_instance_ is set to zero if not a distribcell. 2021-08-02 17:38:44 -05:00
Patrick Shriwise
b42a04cc76 Adding comment to cell_instance_at_level. 2021-07-30 10:42:11 -05:00
Patrick Shriwise
ca5dc796b9 Updating error messages. Adding cell instance cells to our distribcell set. 2021-07-29 10:53:14 -05:00
Patrick Shriwise
39c52dcf94 Incorporate cell instance levels into plotting. Return C_NONE if it is not a distributed cell. 2021-07-28 17:55:24 -05:00
Patrick Shriwise
4e3350ebcf Adding a function to determine the instance of a cell at any level of Particle::coords. 2021-07-28 17:54:56 -05:00
Patrick Shriwise
618efbe9a7 Using ParticleData accessors where needed. 2021-05-19 20:33:59 -05:00
Patrick Shriwise
3d8c6a9f4b Some updates from self-review. 2021-05-19 19:04:02 -05:00
Patrick Shriwise
3293948248 65;6003;1cAdding a find_cell method to universes. 2021-05-19 18:55:58 -05:00
Gavin Ridley
f0e1110e01 somehow changes to lattice methods were lost 2021-05-03 18:03:05 -04:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -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
Gavin Ridley
1155796253 if unable to find cell, get helpful error message rather than segfault 2021-04-29 13:26:08 -04:00
Gavin Ridley
70cb1110e9 make sure failed neighbor list searches trigger exhaustive searches 2021-04-28 18:10:02 -04:00
Patrick Shriwise
a8ce144585 Resetting coordinates at lower levels in neighbor_list_find_cell. 2021-03-31 23:38:30 -05:00
Patrick Shriwise
66e7e998af Always call LocalCoord::rotate and set LocalCoord::rotated. 2021-03-31 23:31:12 -05:00
Gavin Ridley
530fb91324 rename brute force to exhaustive 2021-03-08 11:54:16 -05:00
Gavin Ridley
40ec743caf reset coordinates in exhaustive cell search for track output 2021-03-05 11:10:19 -05:00
Gavin Ridley
2d8c66f010 treat unfound case correctly 2021-03-04 22:21:54 -05:00
Gavin Ridley
6891e1a212 remove accidentally pasted line 2021-03-04 21:46:03 -05:00
Gavin Ridley
1fa2c0e889 separate find_cell into two functions 2021-03-04 17:56:34 -05:00
Paul Romano
9dab8bf507 Use references consistently in geometry functions 2020-04-23 16:37:23 -05:00
Paul Romano
9d8600134a Make sure incrementing of overlap_check_cnt is thread-safe 2020-04-23 16:37:23 -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
7df7fc280b
Merge branch 'develop' into add_enums2 2020-01-21 13:13:50 -05: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
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
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
63ef983f19 formatting sweep 2020-01-14 02:14:09 +00:00
John Tramm
79bf18efa8 misc small edits. Trying to track down threading bug that causes undefined behavior 2020-01-06 20:52:48 +00:00
John Tramm
d1b5810688 moved thread private trace debugging variable into particle object. 2020-01-03 21:55:03 +00:00
Paul Romano
e6d2648dc1 Implement cell instance filter 2019-12-12 06:59:01 -06:00
PullRequestOpen
6d0aa86cef Cosmetic fixes from PullRequest [2019-12-05] 2019-12-05 22:22:43 -06:00
Patrick Shriwise
5ad4f94f3a Removing CAPI function for bounding box of any type. Moving to a cell-only function. Tests are adjusted as needed. 2019-07-24 13:10:03 -05:00
Patrick Shriwise
f2199af0eb Cleaning up error checking in bounding_box. Updating expected exceptions in the capi tests. 2019-07-19 09:46:47 -05:00
Patrick Shriwise
694bd0cf15 Chaning back to id in bounding_box for now. 2019-07-19 08:54:35 -05:00
Patrick Shriwise
dda5393c78 Improving error returns in bounding_box function. Appying parametrized tests. 2019-07-19 08:04:16 -05:00
Patrick Shriwise
6850d4ce62
Apply suggestions from @paulromano
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-07-18 22:30:35 -05:00
Patrick Shriwise
5b9debe542
Update src/geometry.cpp
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-07-18 22:23:03 -05:00
Patrick Shriwise
933a5c4770 Updates based on suggestions from @paulromano. 2019-07-18 22:21:55 -05:00
Patrick Shriwise
a105702455 Updates to CAPI bounding box methods. Addition of global bounding box method. Adding tests for PWR pincell model. 2019-07-16 16:52:30 -05:00