Commit graph

15994 commits

Author SHA1 Message Date
Ethan Peterson
512c7e6556 modified get_reshaped_data 2023-02-07 14:13:46 -05:00
Ethan Peterson
5f0e3e14fb added default filter shape and mesh filter shape 2023-02-07 14:13:46 -05:00
Jonathan Shimwell
0d4227fa1f added volume information to material repr 2023-02-07 12:26:11 +00:00
Jonathan Shimwell
016a5e5b3c moved full stop 2023-02-07 10:24:39 +00:00
Jonathan Shimwell
ecebe25f36 making error message more helpful with material name 2023-02-07 10:23:28 +00:00
Paul Romano
5470ec75b4 Avoid out-of-bounds access on index_inelastic_scatter_ 2023-02-06 21:49:43 -06:00
Ethan Peterson
637080a0c2 address comments from @hassec review 2023-02-06 15:52:46 -05:00
josh
6d69c782ae abstract _partial_deepcopy and reformat docstrings 2023-02-06 17:45:18 +00:00
Ethan Peterson
c07386fc62 added more tests for Polygon class 2023-02-05 22:15:10 -05:00
Ethan Peterson
78b0fbaa27 finished polygon self-intersection check 2023-02-05 22:02:14 -05:00
Patrick Shriwise
283e3ee6aa Adjust the read_meshes function to search only for mesh elements directly below the element passed in 2023-02-03 22:55:47 -06:00
Patrick Shriwise
fc67b38ba4 Adding roundtrip test for mesh sampling 2023-02-03 20:11:35 -06:00
Patrick Shriwise
cf8cd62961
Update tests/unit_tests/test_source_mesh.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-03 19:32:41 -06:00
Patrick Shriwise
6218becb17
Merge pull request #2375 from paulromano/tabular-mean-fix
Don't call normalize inside Tabular.mean
2023-02-03 19:31:35 -06:00
Paul Romano
dbbad687eb Don't call normalize inside Tabular.mean 2023-02-03 08:32:05 -06:00
RemDelaporteMathurin
1e94a0c7d7 fixed theta_grid spherical mesh 2023-02-02 09:39:23 -05:00
RemDelaporteMathurin
90995dc512 Merge branch 'develop' into centre_for_cylinder_spherical_meshes 2023-02-02 08:47:28 -05:00
Jonathan Shimwell
5c672f5ea8
Merge pull request #2363 from RemDelaporteMathurin/fix_flat_mesh
Raise error when mesh is flat
2023-02-02 12:21:31 +00:00
Paul Romano
b8a3586274
Merge pull request #2365 from openmc-dev/update_actions_checkout
updated checkout action to v3
2023-01-31 13:35:00 -06:00
Paul Romano
f1bbeda7f5
Merge pull request #2364 from shimwell/allowing_export_with_different_materials_files
allowing materials.xml to be specified
2023-01-31 13:33:22 -06:00
Paul Romano
7a736cc3a4
Merge pull request #2329 from myerspat/distribution-alias-sampling
Alias sampling implementation for discrete PDFs
2023-01-31 10:08:11 -06:00
Jonathan Shimwell
de8ebfc81a Merge branch 'develop' into update_actions_checkout 2023-01-31 13:58:55 +00:00
Jonathan Shimwell
95f0e87c7f Merge branch 'develop' into allowing_export_with_different_materials_files 2023-01-31 13:56:33 +00:00
Jonathan Shimwell
e9866b4d66 added get_tabular metho to energyfilters 2023-01-31 13:20:31 +00:00
Paul Romano
3b7bf1e3b7
Merge pull request #2370 from paulromano/fix-h5py-parallel-ci
Fix installing h5py in CI when MPI is enabled
2023-01-31 06:15:35 -06:00
Paul Romano
f45b431a21 Use --no-build-isolation to get around parallel h5py install issue
See https://github.com/h5py/h5py/issues/2222
2023-01-30 23:18:07 -06:00
Ethan Peterson
e20e648690 check for duplicate points 2023-01-30 19:40:00 -05:00
RemDelaporteMathurin
17d88d8c84 added tests for spherical mesh 2023-01-30 13:57:44 -05:00
Rémi Delaporte-Mathurin
b1a5d0ba1b
Merge pull request #4 from pshriwise/centre_for_cylinder_spherical_meshes
Centre for cylinder spherical meshes
2023-01-30 13:53:13 -05:00
shimwell
dd60c1583f updated checkout action to v3 2023-01-29 17:47:54 +00:00
Jonathan Shimwell
60f33d4607
Review improvement from @paulromano 2023-01-28 17:18:35 +00:00
Rémi Delaporte-Mathurin
a51d31ec78
Update openmc/mesh.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-01-28 08:50:45 -05:00
Rémi Delaporte-Mathurin
198b5bdad4
Update openmc/mesh.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-01-28 08:50:39 -05:00
Patrick A Myers
ca1f9a6965 updated test for counter 2023-01-27 11:31:37 -05:00
Patrick A Myers
ec5f0e54f4 Restored init_alias and changed constructor definitions 2023-01-27 10:22:27 -05:00
Jonathan Shimwell
2dbb0c7523 allowing materials.xml to be specified 2023-01-27 14:26:56 +00:00
RemDelaporteMathurin
c84336878b replace is_flat by a one-line check 2023-01-27 08:58:10 -05:00
RemDelaporteMathurin
ba1cd67d52 added test to catch bug + fix 2023-01-27 08:32:02 -05:00
Patrick Shriwise
3703fdbdd7 Adding origin to sphere and cyl mesh str 2023-01-26 14:15:08 -06:00
Patrick Shriwise
b22c7e8353 Adding test cases for cylindrical mesh 2023-01-26 14:14:06 -06:00
Patrick Shriwise
11eee756dd Corrections to application of origin for sphere and cyl mesh 2023-01-26 14:13:39 -06:00
RemDelaporteMathurin
a976703556 Raise error if mesh is flat 2023-01-26 14:06:48 -05:00
RemDelaporteMathurin
91ebcdb21e better test 2023-01-26 14:05:23 -05:00
RemDelaporteMathurin
396ecdf02c added test that cathces the bug 2023-01-26 13:55:22 -05:00
Ethan Peterson
4fade673a7 refactor to single validate_points method 2023-01-25 16:27:12 -05:00
Ethan Peterson
afbbc3d845 try to constrain triangulation 2023-01-24 23:00:27 -05:00
Paul Romano
3f5b90042c
Merge pull request #2349 from paulromano/newyear-2023
Update copyright date and a few other small changes
2023-01-24 23:20:26 +07:00
Paul Romano
00668d70b0
Merge pull request #2360 from openmc-dev/gridley-patch-1
multipole documentation typo fix
2023-01-24 22:27:59 +07:00
Gavin Ridley
368525f3db
multipole documentation typo fix 2023-01-22 10:07:18 -05:00
Patrick Shriwise
de8f99adbe Removing unstructured mesh source sampling test.
The test cases here almost entirely overlapped with those in the unit test. The test for an invalid size on the strengths array has been moved to the test_mesh_source.py unit test.
2023-01-18 11:12:10 -06:00