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
John Tramm
638172e68d
refactor of prn() interface and python interface changes
2019-12-04 16:35:01 +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
Paul Romano
4d4c174a1b
Allow voxel plots to be colored by material
2019-10-28 21:43:26 -05:00
Patrick Shriwise
71957b24b8
Removing some hasty comments.
2019-06-16 20:59:37 -05:00
Patrick Shriwise
42627cfce4
Resizing overlap plot counters if plot is asking for overlap plotting.
2019-06-16 20:56:45 -05:00
Patrick Shriwise
89c0d06b30
Moving a few defaults into the class def.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
daf129f1ec
Initializing overlap color in the class constructor.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
489b35c90a
Update src/plot.cpp
...
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
2b7057667c
Making sure overlap check counter is initialized if a plot requests that overlaps be drawn.
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
Sterling Harper
b804ddc952
Address comments on #1246
2019-06-06 17:12:49 -04:00
Sterling Harper
7f8e993e93
Implement rectilinear meshline plots
2019-05-29 15:48:58 -04:00
Sterling Harper
7a49a29f38
Refactor and fix RegularMesh meshline plots
2019-05-29 15:39:57 -04:00
Sterling Harper
f4ae14af39
Use RegularMesh* for entropy and ufs
2019-05-29 11:03:32 -04:00
Sterling Harper
ce2bf83254
Start implementing RectilinearMesh
2019-05-24 11:14:35 -04:00