Commit graph

60 commits

Author SHA1 Message Date
Paul Romano
187160d082
Ability to compute material volume fractions over mesh elements (#2802) 2024-01-19 09:01:18 -06:00
Paul Romano
2e4811b26b
Ensure particle direction is normalized for plotting / volume calculations (#2816) 2023-12-28 14:37:21 -06:00
Patrick Shriwise
53363da3cc
Consolidating number of threads and thread number queries into the openmp interface header (#2809) 2023-12-19 03:31:29 +00:00
Paul Romano
979c164801
Check for invalid domain IDs in volume calculations (#2742) 2023-10-23 13:20:05 -05:00
Jonathan Shimwell
d687ce419f
added cell name to vol calc print out (#2656) 2023-08-20 20:29:20 +00:00
Baptiste Mouginot
e332861aac
adding cell name to volume calculation when possible (#2652) 2023-08-18 17:43:59 -05:00
Paul Romano
3347aeaa03 Fixes related to #2253 and #2270 2022-10-21 07:08:49 -05:00
Patrick Shriwise
93065d188b Fixing sign for uint max comparison 2022-10-20 20:54:43 -05:00
Patrick Shriwise
06729507ce Moving to uint64_t and updating MPI types as requested by @paulromano 2022-10-20 20:46:47 -05:00
Patrick Shriwise
2a802a11a4 Add warning of possible overflow. 2022-10-19 13:23:26 -05:00
Patrick Shriwise
b7cbd59a13 Changing types to mitigate overflow problems 2022-10-19 13:02:22 -05:00
agnelson
75fd0a7f78 Added test of volume calc from MG mode, then corrected 2 issues: the first led to #1698, the second led to the test failing as volume calcs need atom densities but they existed in a different location in MG mode. To fix the former, if blocks were placed to point to the MG nuclide data as necessary, and the latter by calling Material.finalize() at the appropriate spot in the MG code 2021-10-05 14:12:31 -05:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
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
Gavin Ridley
d5d2072266 change particle to using accessor methods 2021-05-03 17:56:57 -04:00
Paul Romano
59448ec734 Fix for stochastic volume calculation 2021-04-28 08:03:50 -05:00
Gavin Ridley
530fb91324 rename brute force to exhaustive 2021-03-08 11:54:16 -05:00
Gavin Ridley
1fa2c0e889 separate find_cell into two functions 2021-03-04 17:56:34 -05:00
Andrew Johnson
27e1020666
Apply templated write_message to volume_calc.cpp 2020-08-06 07:05:02 -04:00
Paul Romano
9dab8bf507 Use references consistently in geometry functions 2020-04-23 16:37:23 -05:00
Simon Richards
670d7d0e22 Fix for enumeration values not explicitly handled in switch statements 2020-02-28 22:35:23 +00:00
Paul Romano
cc919d25c5 Use fmt/core.h header to reduce compile time 2020-02-10 10:33:57 -06:00
Paul Romano
2a230cd739 More use of fmt::print and fmt::format 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
John Tramm
428bab4fd2 incorporated code review changes 2019-12-05 19:32:12 +00:00
John Tramm
638172e68d refactor of prn() interface and python interface changes 2019-12-04 16:35:01 +00:00
John Tramm
642c3a8ac7 first sweep of refactoring is complete. now for debugging 2019-11-21 23:03:52 +00:00
Patrick Shriwise
67907e53d9 Removing if block in MPI ifdef. 2019-10-15 00:43:21 -05:00
Patrick Shriwise
dc5fe42af3
Update src/volume_calc.cpp
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-10-15 00:40:58 -05:00
Patrick Shriwise
d213373a4b Converting to unsigned long long for number of samples in volume calc. 2019-10-14 20:55:52 -05:00
Patrick Shriwise
6c387b66c5 Setting volume variance to INF if the domain is unsampled to avoid early trigger exit. 2019-10-14 20:52:36 -05:00
Patrick Shriwise
e91a21add2 Simplyfing MPI send to broadcast. 2019-10-14 20:30:25 -05:00
Patrick Shriwise
143fe64057 Using trigger enum 2019-10-14 20:26:23 -05:00
Patrick Shriwise
919c19c909 Cleanup from self-review. 2019-10-08 13:53:22 -05:00
Patrick Shriwise
eeb8b3cbb3 Updating name VolumeCalculation attribute. 2019-10-08 13:15:30 -05:00
Patrick Shriwise
b2c064cc35 Updates for MPI runs. 2019-10-08 11:34:26 -05:00
Patrick Shriwise
24bfa0051a Updating default trigger value and how trigger value is written to file 2019-10-08 10:55:04 -05:00
Patrick Shriwise
4c344e9626 Removing unused code. 2019-10-08 09:47:15 -05:00
Patrick Shriwise
51ea427b25 Moved trigger logic into main func. 2019-10-08 09:44:24 -05:00
Patrick Shriwise
f3fa1f2578 Fixing issue with INF error values. Adding test case. 2019-10-07 00:08:47 -05:00
Patrick Shriwise
85e25d79ea Finishing addition of a trigger type. 2019-10-05 13:12:31 -05:00
Patrick Shriwise
8d1e8711f5 Adding volume trigger via different methods. 2019-10-05 12:33:00 -05:00
Patrick Shriwise
48fab6dcac Only write threshold to file if used. 2019-10-05 10:50:32 -05:00
Patrick Shriwise
507bc0d933 Exposing volume trigger through Python API. 2019-10-05 10:23:11 -05:00
Patrick Shriwise
5109bd0de1 Adding error trigger attribute to volume calc. 2019-10-05 02:13:12 -05:00
Patrick Shriwise
d3bcfeda0f Cleaning up while loop. 2019-10-05 01:41:07 -05:00
Patrick Shriwise
130b7a5eeb Setting up new function implement a stopping criterion for volume calculations. 2019-10-05 01:14:27 -05:00
Patrick Shriwise
c1d746164f Writing empty groups for nuclides/atoms in volume calc if no entries are found. 2019-09-23 12:00:24 -05:00