Commit graph

126 commits

Author SHA1 Message Date
viktormai
0c6b3fb835
Overlap detection for plotter (#3969)
Some checks are pending
Tests and Coverage / filter-changes (push) Waiting to run
Tests and Coverage / Python 3.13 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.14 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.14t (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=n, mpi=n, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=n, mpi=y, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=y, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=, event=y (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=y, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=, libmesh=y, event= (push) Blocked by required conditions
Tests and Coverage / coverage (push) Blocked by required conditions
Tests and Coverage / Check CI status (push) Blocked by required conditions
dockerhub-publish-develop / main (push) Waiting to run
dockerhub-publish-develop-dagmc-libmesh / main (push) Waiting to run
dockerhub-publish-develop-dagmc / main (push) Waiting to run
dockerhub-publish-develop-libmesh / main (push) Waiting to run
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-07-06 17:47:22 +00:00
Paul Romano
4f6a25e00a
Introduce new C API function for slice plots (#3806)
Some checks are pending
Tests and Coverage / filter-changes (push) Waiting to run
Tests and Coverage / Python 3.13 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.14 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.14t (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=n, mpi=n, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=n, mpi=y, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=n, libmesh=n, event=n (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=y, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=, event=y (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=y, libmesh=, event= (push) Blocked by required conditions
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=, libmesh=y, event= (push) Blocked by required conditions
Tests and Coverage / coverage (push) Blocked by required conditions
Tests and Coverage / Check CI status (push) Blocked by required conditions
dockerhub-publish-develop / main (push) Waiting to run
dockerhub-publish-develop-dagmc-libmesh / main (push) Waiting to run
dockerhub-publish-develop-dagmc / main (push) Waiting to run
dockerhub-publish-develop-libmesh / main (push) Waiting to run
2026-06-08 21:08:08 +00:00
GuySten
be4148ad0d
Refactor Ray class into its own file (#3845)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-03-06 01:07:42 +00:00
Vitaly Mogulian
8c24c1c064
Modify the plotter ray tracing for its utilization in estimators (#3816)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-02-24 06:46:21 +00:00
John Tramm
977ade79a1
Replace xtensor with internal Tensor/View classes (#3805)
Co-authored-by: John Tramm <jtramm@gmail.com>
2026-02-17 09:50:38 -06:00
Patrick Shriwise
bcb9395207
SolidRayTracePlot CAPI (#3789)
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com>
2026-02-13 07:54:27 +02:00
Patrick Shriwise
6efc9db7b3
Modifications to C++ plots for interactive raytrace plots (#3776) 2026-02-08 12:11:19 -06:00
Patrick Shriwise
bca818ced6
Add accessor methods for LocalCoord (#3494)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-07-17 03:29:41 +00:00
Gavin Ridley
81b7388624
Raytrace plots (#2655)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-18 03:11:54 +00:00
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
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