Commit graph

116 commits

Author SHA1 Message Date
Gavin Ridley
5549b58e1f
Geometron (#2744) 2024-01-16 10:35:57 -06:00
Paul Romano
2e4811b26b
Ensure particle direction is normalized for plotting / volume calculations (#2816) 2023-12-28 14:37:21 -06:00
Gavin Ridley
d4c40aa355
remove meaningless const qualifiers from plot.h (#2695) 2023-09-15 21:46:54 +00:00
Paul Romano
4c69d913bb
Add virtual destructor on PlottableInterface (#2541) 2023-06-01 01:13:52 +00:00
Gavin Ridley
5e47f9daa4 fix failing tests, remove redundant PlotTestHarness code 2023-04-04 22:11:10 -04:00
Gavin Ridley
61cab3009a PR comments addressed 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
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
a030aaa59d fix projection plot tests 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
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
Patrick Shriwise
040965245d Adding signatures for reading information from an XML node where necessary. 2022-12-06 13:03:38 -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
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
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
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
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
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
9dab8bf507 Use references consistently in geometry functions 2020-04-23 16:37:23 -05:00
Paul Romano
2a230cd739 More use of fmt::print and fmt::format 2020-02-10 10:33:57 -06:00
John Tramm
12ec9bacff cleanup of comments and adding some parameter descriptions for altered function prototypes 2019-11-22 22:56:16 +00:00
John Tramm
44ba6805dc added seeds to the plotting model namespace so that if multiple plots are called, they will have different colors 2019-11-22 18:23:16 +00:00
John Tramm
5502f38580 partially done with refactoring 2019-11-21 22:19:15 +00:00
Patrick Shriwise
89c0d06b30 Moving a few defaults into the class def. 2019-06-14 11:15:16 -05:00
Patrick Shriwise
5e323539ff Update include/openmc/plot.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-06-14 11:15:16 -05:00
Patrick Shriwise
43959714ee Allowing overlap color setting via plots.xml 2019-06-14 11:15:16 -05:00
Patrick Shriwise
e837f2eb19 Adding an xml setting for the showing the overlaps. 2019-06-14 11:15:16 -05:00
Patrick Shriwise
552ab71a50 Making sure default colors aren't being used. 2019-06-14 11:15:16 -05:00
Patrick Shriwise
5c78cd6259 Correcting a couple of issues in setting the OVERLAP value and color. 2019-06-14 11:15:16 -05:00
Patrick Shriwise
02b07a52b6 Adding overlap coloring. 2019-06-14 11:15:16 -05:00
Paul Romano
1d5242ede1 Fix a whole bunch of -Wall warnings 2019-03-26 14:11:47 -05:00
Patrick Shriwise
43914d4204 Re-correcting direction and updating _Position tests. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
abd417c5f6 Updating other signatures to match new pixels_ type. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
2e2ec4a412 Addressing narrowing warning. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
656df47365 Addressing a couple style issues. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
805c336597 Updating template parameter, moving generate_dat def to header, renaming generate_data->gen_map and removing additional indirection. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
2b1d2917f7 Addressing some comments from @promano in the PR. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
2d144e21ac Updating/adding some docstrings. 2019-03-19 08:44:36 -05:00