Commit graph

4833 commits

Author SHA1 Message Date
Paul Romano
c123ce0fa0
New multiply_density option on tallies (#2539) 2023-06-09 08:24:00 -04:00
Jonathan Shimwell
a288e42a06
corrected pixel index for axis height (#2553) 2023-06-08 17:29:55 +00:00
Patrick Shriwise
7479a9022a
Fix spherical coords again. (#2538) 2023-06-06 12:01:59 -04:00
Lorenzo Chierici
19282cb088
Remove misleading warn message from deplete.chain.py (#2544) 2023-06-04 17:10:47 -05:00
Jonathan Shimwell
74fb2801c2
creating parent dirs for output_dir (#2543) 2023-06-02 11:44:43 -05:00
Paul Romano
16b955f690
Fix docstring for MicroXS class (#2540) 2023-06-01 00:25:26 +00:00
Jonathan Shimwell
6c7f857e1e
Auto pixel calc for universe plot (#2513) 2023-05-23 06:28:16 -05:00
Jonathan Shimwell
d6eac669c8
added mkdir to cwd argument in run (#2523) 2023-05-23 04:25:24 +00:00
Jonathan Shimwell
3a939299ea
adding BoundingBox.extent and RegularMesh.bounding_box (#2507) 2023-05-22 16:32:19 -05:00
Jonathan Shimwell
ec220fa989
updated doc string type for tally.nuclide (#2526) 2023-05-17 19:45:04 +00:00
Jonathan Shimwell
d8dbd9bfca
auto width and origin for edge cases (#2512)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-05-15 22:48:45 +00:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Yue JIN
e3d8982bb9
docs: typo fix (#2514)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-05-04 13:13:00 +00:00
Paul Romano
45006584ca
Fix meaning of "masking" for plots (#2510) 2023-05-03 09:52:40 -05:00
Jonathan Shimwell
4248beff1b
Auto origin and width for plots (#2492)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-05-02 16:41:25 +00:00
Jonathan Shimwell
4cadcbcf02
more flexible cross section plotting (#2478)
---------

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-27 22:26:21 -05:00
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