Commit graph

15182 commits

Author SHA1 Message Date
myerspat
7ba6a45001 rejection sampling for lin-log interpolation 2023-05-18 15:15:25 -04:00
myerspat
b98c4590d7 Added log-lin and log-log to Tabular 2023-05-18 12:02:39 -04: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
Patrick Shriwise
0a950eb623
Reworking Tally::add_filter a bit (#2501) 2023-05-01 22:00:45 -05:00
Huw Rhys Jones
dea5e46c3c
Update neutron_physics.rst (#2504) 2023-05-01 23:51:34 +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
ad5dc57a96
Merge pull request #2497 from eepeterson/docs_typo
clarify track-length flux estimator
2023-04-27 14:56:28 -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
Patrick Shriwise
96915c6091
Merge pull request #2498 from paulromano/gcc5-fixes
Fix compilation with gcc 5
2023-04-27 07:27:32 -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
Paul Romano
f3969daa4a Ensure compilation with gcc 5 works (refs #2474) 2023-04-26 15:48:23 -05: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
3565cbf5d6
Merge pull request #2494 from aprilnovak/delete-tally
Correct index check for remove_tally.
2023-04-26 13:33:40 -05:00
Jonathan Shimwell
d0e6c8c542
Merge pull request #29 from paulromano/moving_voxel_plot_code
Name change (to_vtk), use pathlib consistently
2023-04-26 19:05:07 +01:00
Paul Romano
dbf33775a6 Name change (to_vtk), use pathlib consistently 2023-04-26 12:34:05 -05:00
Ethan Peterson
7c5b8e2dad clarify track-length flux estimator 2023-04-26 12:57:07 -04:00
Gavin Ridley
b4a6c0419d
Merge pull request #2 from shimwell/adding_legend_test
plt test includes legend with rgb color
2023-04-26 11:46:53 -04:00
Jonathan Shimwell
af5596b6cf plt test includes legend with rgb color 2023-04-26 16:14:14 +01:00
Paul Romano
f2549c9470 Defer a few more matplotlib imports 2023-04-26 09:48:05 -05:00
Jonathan Shimwell
664ae00cdc test to check matplotlib is deferred import 2023-04-26 14:23:44 +01:00
Paul Romano
ec883f0fd8
Merge pull request #2451 from gridley/refactor_write_source_bank
refactor particle source import/export
2023-04-26 06:36:50 -05:00
April Novak
646ef6d322 Correct index check for remove_tally. Refs #2493 2023-04-25 15:40:29 -07: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
Gavin Ridley
8344431ea0 fix my incorrect MPI code 2023-04-24 13:19:29 -04: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
Gavin Ridley
abfe5ebf99 warning rather than error for weird file name passing to mcpl 2023-04-21 16:09: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
7257b2f7fe
Merge pull request #28 from paulromano/adding_bounding_box_class
Refactor BoundingBox implementation
2023-04-21 07:23:57 +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
Paul Romano
82ccbe0738
Merge pull request #2482 from shimwell/adding_outlines_to_plot
adding optional outline to plots
2023-04-20 06:21:32 -05: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