Commit graph

199 commits

Author SHA1 Message Date
Lewis Gross
65618384c9
reordered list initialization of constructor in plot.cpp to respect header declaration order (#2519) 2023-05-13 00:44:27 +00:00
Paul Romano
45006584ca
Fix meaning of "masking" for plots (#2510) 2023-05-03 09:52:40 -05:00
Gavin Ridley
a92f2d1f9f avoid segfault with idiomatic thresholding, rays through pixel centers 2023-04-05 11:50:45 -04:00
Gavin Ridley
5c4144d520
idiomatic thresholding
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2023-04-05 11:05:30 -04:00
Gavin Ridley
abdc9be9a0 guard dagmc function call for non dagmc build in plotting 2023-04-04 22:11:11 -04:00
Patrick Shriwise
a8ed9bde8f Hacks to get project plots working w/ DAGMC 2023-04-04 22:11:11 -04:00
Gavin Ridley
61cab3009a PR comments addressed 2023-04-04 22:06:54 -04:00
Gavin Ridley
f1b92603c8 update projection plot regr test 2023-04-04 22:06:54 -04:00
Gavin Ridley
ed5837202b add old wireframing behavior if not listing ids 2023-04-04 22:06:54 -04:00
Gavin Ridley
6726cc378f add unit test, select wireframing by id 2023-04-04 22:06:54 -04:00
Gavin Ridley
31174736e9 fix for non-OMP compile 2023-04-04 22:06:54 -04:00
Gavin Ridley
a0401906cd parallel projection plotting now matches single thread results 2023-04-04 22:06:54 -04:00
Gavin Ridley
030c3af9e4 parallelization of projection plots almost works except edge case 2023-04-04 22:06:54 -04:00
Gavin Ridley
a832fc8b94 adjustable wireframe thickness 2023-04-04 22:06:54 -04:00
Gavin Ridley
76cc722090 add option to do orthographic projection 2023-04-04 22:06:54 -04:00
Gavin Ridley
d51fd873ab read user-provided plot names, also more sophisticated file extension checking 2023-04-04 22:06:54 -04:00
Gavin Ridley
071b6fa796 pick up on cell edges, not just boundaries 2023-04-04 22:06:54 -04:00
Gavin Ridley
bad79975b0 make wireframes not spotty 2023-04-04 22:06:54 -04:00
Gavin Ridley
d5aafc91cb projection plots nominally working 2023-04-04 22:06:54 -04:00
Gavin Ridley
5105a8423d further refactor of plots, start ProjectionPlot 2023-04-04 22:06:52 -04:00
Gavin Ridley
e2dedf5461 move common with projection plot to base class 2023-04-04 22:05:08 -04:00
Paul Romano
b6d6bdf3f5 Merge branch 'develop' into mixed_ncrystal_pr 2023-01-09 13:13:14 +07:00
Patrick Shriwise
5ac6e87a68 Properly call read_plots_xml 2022-12-06 13:03:38 -06:00
Patrick Shriwise
040965245d Adding signatures for reading information from an XML node where necessary. 2022-12-06 13:03:38 -06:00
Kalin Kiesling
b4274724f3 explicitly include xmanipulation header for xt::flip 2022-03-17 10:58:49 -05:00
Olaf Schumann
4905acc20a fix memory leak in output_png() 2022-01-13 14:29:20 +01:00
aprilnovak
dafbbb31bf Change errors to warnings in plots. Refs #1919 2021-12-07 16:59:57 -06:00
Paul Romano
75b3d18446 Merge branch 'develop' into libpng 2021-10-05 12:49:35 -05:00
Paul Romano
6eea13043f Add support for PNG plots using libpng 2021-10-04 15:48:42 -05:00
agnelson
20c8043c1c (1) Made OpenMC load plots.xml upon initialization even if not in the plot runmode; (2) Made the finalize method clear plotting data; (3) allowed the openmc.lib and openmc.model package to call plot_geometry now that plots.xml would have been loaded 2021-09-30 15:15:58 -05:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -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
Paul Romano
803f17500c Fix use of get_map<IdData> within plot.cpp and failing properties test 2021-06-24 17:05:10 +07:00
Paul Romano
01b023b7ec Include cell instance in id_map 2021-06-24 12:09:59 +07: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
12b6deaacf remove unnecessary pass by value for plot class 2021-02-11 16:43:34 -05:00
Patrick Shriwise
301f15139f Correction to plot level and index check. 2020-09-03 22:30:46 -05:00
Patrick Shriwise
53108e3459 Corrections after rebase. 2020-09-03 08:33:02 -05:00
Patrick Shriwise
c1006b34e3 Correcting message output. 2020-09-03 08:29:47 -05:00
Patrick Shriwise
77c911be05 Using std::vector accessors. 2020-09-03 08:29:47 -05:00
Patrick Shriwise
9c62259645 Adjusting the level value. 2020-09-03 08:29:47 -05:00
Patrick Shriwise
e0689fda07 Updates to enable plotting of individual universe levels. 2020-09-03 08:29:47 -05:00
Andrew Johnson
697f8c77eb
Apply templated write_message to plot.cpp 2020-08-06 07:05:01 -04:00
Andrew Johnson
b6276ea9e4
Reduce number of string concats with fmt::format 2020-08-06 07:04:59 -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
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
John Tramm
0602ddd8a3 refactor seed and seed aray variable names 2019-12-05 19:50:31 +00:00