Commit graph

5317 commits

Author SHA1 Message Date
Lorenzo Chierici
43437e9410
TransferRates (old msr continuous capabilities) (#2358)
---------

Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
Co-authored-by: yardasol <yardasol@grinnell.edu>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
2023-04-27 22:11:17 -05:00
Paul Romano
6dde8af940
Merge pull request #2464 from shimwell/moving_voxel_plot_code
moved voxel plot to api accessible function
2023-04-27 09:36:22 -05:00
Jonathan Shimwell
01a4acdc65
Merge pull request #2487 from gridley/legend_color_fix
pass 0-1 RGB value to matplotlib in universe plot legend
2023-04-27 09:35:46 +01:00
Jonathan Shimwell
4a1ff3350d
Merge pull request #2488 from paulromano/lazy-import-matplotlib
Defer import of matplotlib in multipole.py
2023-04-27 09:35:30 +01:00
Jonathan Shimwell
15890538a6
Apply suggestions from code review by @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-26 20:08:34 +01:00
Paul Romano
dbf33775a6 Name change (to_vtk), use pathlib consistently 2023-04-26 12:34:05 -05:00
Paul Romano
f2549c9470 Defer a few more matplotlib imports 2023-04-26 09:48:05 -05:00
Patrick Shriwise
a12480400b
Merge pull request #2475 from shimwell/adding_bounding_box_class
Adding bounding box class
2023-04-25 12:08:39 -05:00
Jonathan Shimwell
c06609cd8d docstring lib.cell.py to match cell.py 2023-04-25 09:49:42 +01:00
Jonathan Shimwell
41f52ea389 Merge branch 'adding_bounding_box_class' of github.com:shimwell/openmc into adding_bounding_box_class 2023-04-25 09:46:17 +01:00
Jonathan Shimwell
517c7436b0
[skip ci] review improvment from @pshriwise
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2023-04-25 09:39:48 +01:00
Ethan Peterson
4f16481e6d
Merge pull request #2457 from paulromano/cruciform-prism
Implement composite surface for generalized cruciform prism
2023-04-24 16:28:19 -04:00
Jonathan Shimwell
895d969eed
Merge pull request #2466 from paulromano/nea-workshop-updates
Miscellaneous updates and improvements from NEA course
2023-04-24 21:15:57 +01:00
Paul Romano
01cd2cc8dd
Check that distances are all positive
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2023-04-24 10:53:00 -05:00
Paul Romano
da24021119 Add property for distances in CruciformPrism 2023-04-24 09:48:26 -05:00
Paul Romano
cee1615157 Defer import of matplotlib in multipole.py 2023-04-24 07:01:36 -05:00
Paul Romano
b86e03d849
Fix typo (thanks @gridley)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
2023-04-21 16:16:43 -05:00
Gavin Ridley
6440153c74 pass 0-1 RGB value to matplotlib in universe plot legend 2023-04-21 16:41:49 -04:00
Paul Romano
fffdedf5d2
Merge pull request #2455 from stchaker/fix_mac_segfault
avoid python C API segfault on intel mac
2023-04-21 10:55:41 -05:00
Jonathan Shimwell
3ad8781444 Merge branch 'develop' into adding_bounding_box_class 2023-04-21 14:46:52 +01:00
Jonathan Shimwell
63603dbabd
Merge branch 'develop' into moving_voxel_plot_code 2023-04-20 18:19:28 +01:00
stchaker
5713ef700c update mac segfault fix format, fix python settings name 2023-04-20 12:21:10 -04:00
Jonathan Shimwell
cb7a443776
Merge branch 'develop' into adding_outlines_to_plot 2023-04-20 08:07:43 +01:00
Paul Romano
c808067764
Merge pull request #2472 from gridley/plot_auto_legend
add auto legend to universe.plot
2023-04-19 20:52:00 -05:00
Paul Romano
5c5c1c83e4
Merge pull request #2470 from youngwki/typehint_geometry_return
Added return types for Geometry class
2023-04-19 20:51:22 -05:00
Christina Cai
bdd34fc64d added deepcopy back in geometry.py 2023-04-19 14:21:12 -04:00
Gavin Ridley
22f4fc0902
Update openmc/universe.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-19 12:22:39 -04:00
Gavin Ridley
2f87ce7f27
Update openmc/universe.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-19 12:22:29 -04:00
Jonathan Shimwell
a8e7d38555 moved plot outline test, added levels 2023-04-19 16:02:07 +01:00
Jonathan Shimwell
887cfd2e78
[skip ci] review improvment from Paul
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-19 15:59:55 +01:00
Jonathan Shimwell
2487c52d6e working for libpng and no libpng users 2023-04-19 12:00:31 +01:00
Jonathan Shimwell
37f9bdfaca
[skip ci] improve doc string from review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-19 08:07:41 +01:00
Paul Romano
b827a31e61
Merge pull request #2483 from shimwell/adding_axis_labels_to_plot
added plot axis labels
2023-04-18 22:37:31 -05:00
Paul Romano
b5d30ff553 Refactor BoundingBox implementation 2023-04-18 22:26:37 -05:00
Paul Romano
72509b90cf
Merge pull request #2471 from youngwki/typehint_material_return
Added return types for Material class
2023-04-18 20:35:37 -05:00
Paul Romano
2de88f4de2
Merge pull request #2468 from youngwki/typehint_model
Added return types for Model class
2023-04-18 20:35:25 -05:00
Paul Romano
e0abe73182
Merge pull request #2467 from youngwki/typehint
Added type hinting for weight_windows.py
2023-04-18 20:35:08 -05:00
Christina Cai
92e2a9e3b7 Merge branch 'typehint_material_return' of https://github.com/youngwki/openmc into typehint_material_return 2023-04-18 13:51:50 -04:00
Christina Cai
dd9f03abd2 trivial change for CI 2023-04-18 13:49:36 -04:00
christinacai123
293f02d991
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:46:57 -04:00
christinacai123
0280631fe7
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:46:33 -04:00
christinacai123
f8abaf687a
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-18 13:45:51 -04:00
Gavin Ridley
a02d583ac1 review comments addressed 2023-04-18 11:24:20 -04:00
Jonathan Shimwell
8606e07a67 added plot axis labels 2023-04-18 16:18:03 +01:00
Jonathan Shimwell
f1ce0913b3
remove comment 2023-04-18 15:37:07 +01:00
Jonathan Shimwell
ffaea61874 converting rgb to int 2023-04-18 15:10:49 +01:00
Gavin Ridley
ad33834e0f
default to legend label using ID if no name given
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-17 12:18:03 -04:00
Gavin Ridley
f65de85f9f
add versionadded for legend kwarg
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-17 12:17:09 -04:00
Gavin Ridley
e4c3323601
remove unnecessary error checking
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-17 12:15:29 -04:00
Gavin Ridley
3880d1cec8
line length suggestion
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-04-17 12:14:52 -04:00