Commit graph

15994 commits

Author SHA1 Message Date
Patrick Shriwise
9803c26111 bwd compatibility fix for reading filter elements 2023-02-16 16:18:41 -06:00
Paul Romano
ce62bbd9c5 Add missing override specifiers 2023-02-16 14:06:59 -06:00
Patrick Shriwise
461fd54f11 Updating doc strings 2023-02-16 13:53:57 -06:00
Patrick Shriwise
ee2f0f2c53 Adding a test for restart runs 2023-02-16 13:48:28 -06:00
Patrick Shriwise
0e10a7da47 Allowing openmc.Pathlike for restart file argument 2023-02-16 13:48:11 -06:00
Patrick Shriwise
1891ff7c24 Updating batch number checks for simulation and sp load 2023-02-16 13:47:42 -06:00
Ethan Peterson
1a2d1237da
Update openmc/model/surface_composite.py
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2023-02-16 12:27:15 -05:00
Ethan Peterson
6e2a9add5e
Merge pull request #2378 from paulromano/inelastic-fix
Avoid out-of-bounds access in inelastic scatter sampling
2023-02-16 12:24:36 -05:00
Jonathan Shimwell
04d9e27866 moving get_all_universes method 2023-02-16 16:24:24 +00:00
Jonathan Shimwell
9e88e706fe testing get_all_universes is in DAGMCUniverse 2023-02-16 16:20:44 +00:00
Baptiste Mouginot
a25bbc250f renaming func_args into matrix_args, fixing docstring accordingly 2023-02-16 14:50:23 +01:00
Paul Romano
fa4aa4ad21
Merge pull request #2385 from bam241/model_mats_per_id
Model mats per id
2023-02-16 07:26:51 -06:00
Paul Romano
61b30f5dcc
Merge pull request #2334 from pshriwise/umesh_sampling
Unstructured Mesh Sampling Updates
2023-02-16 07:24:13 -06:00
Paul Romano
a2b828af52 Use 1 thread for OpenBLAS calls from numpy 2023-02-15 07:09:38 -06:00
Baptiste Mouginot
5f5c0ed7a7 map_no_kargs 2023-02-15 11:07:29 +01:00
Paul Romano
0435e64fd0 Disable AVX512 in numpy runtime SIMD dispatch 2023-02-14 23:09:54 -06:00
Paul Romano
070e5b93e1 Try running CI on ubuntu-22.04 2023-02-14 16:42:24 -06:00
Baptiste Mouginot
760ff7e34c fix return _materiaLs_by_id 2023-02-14 15:12:04 +01:00
Baptiste Mouginot
68a0ec7936 fix return _materiaLs_by_id 2023-02-14 15:05:37 +01:00
Rémi Delaporte-Mathurin
ef2ef4d261
Merge pull request #5 from pshriwise/centre_for_cylinder_spherical_meshes
Updating mesh centre tests.
2023-02-13 11:06:05 -05:00
Patrick Shriwise
3d548c882f Addressing latest comments from @paulromano 2023-02-13 09:52:17 -06:00
Patrick Shriwise
75fe7f00a9
Apply code suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-13 09:40:21 -06:00
Paul Romano
893c4d0648 Try using 10**x instead of logspace in source test 2023-02-13 09:00:33 -06:00
Paul Romano
4783b34fe2 Fix several failing tests 2023-02-13 07:16:10 -06:00
Patrick Shriwise
e6a490ac9c
Merge pull request #2383 from paulromano/mesh-filter-docfix
Fix documentation for MeshFilter and MeshSurfaceFilter
2023-02-12 23:02:19 -06:00
Paul Romano
fc619f8352 Fix documentation for MeshFilter and MeshSurfaceFilter 2023-02-12 19:27:11 -06:00
Gavin Ridley
a755bfd040
Merge pull request #2382 from paulromano/tsl-nuclide-fixes
Fix several thermal scattering nuclide assignments
2023-02-11 13:33:45 -05:00
Paul Romano
ba074c5a5a Fix several thermal scattering nuclide assignments 2023-02-10 14:59:57 -06:00
Paul Romano
091241070f Update test results with numpy 1.24 and anisotropic fission 2023-02-10 12:21:42 -06:00
Paul Romano
fcdac0759e Remove numpy version hardcoding in pyproject.toml / GHA 2023-02-10 11:41:50 -06:00
Paul Romano
6a790df0be Update micro_xs regression test with update option 2023-02-10 11:41:50 -06:00
Paul Romano
956e3f4341 Make sure correct direction is applied when fission neutrons are anisotropic 2023-02-10 11:41:50 -06:00
Paul Romano
990b5449f5 Avoid use of np.float and np.int 2023-02-10 11:41:49 -06:00
Paul Romano
9c646b3f32 Fix CMFDMesh.grid setter 2023-02-10 11:41:49 -06:00
Paul Romano
c0d5efc340
Merge pull request #2356 from bam241/matrix_func_arg
adding optional arg to matrix_func in Pool.py (for depletion)
2023-02-10 10:39:38 -06:00
Paul Romano
d65c6ca13a
Merge pull request #2376 from shimwell/adding_mat_name_to_error_message
making error message more helpful with material name
2023-02-10 07:40:01 -06:00
Paul Romano
f8c8e37342
Merge pull request #2371 from shimwell/adding_tabular_to_energy_filter
added get_tabular method to energyfilters
2023-02-10 06:54:39 -06:00
Jonathan Shimwell
c0391781ca changed error message to preferred option 2023-02-10 09:22:10 +00:00
Jonathan Shimwell
eaddf91b65
Adding zero to end of test results
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 21:19:11 +00:00
Paul Romano
89ad9afedf
Merge pull request #2352 from joshmay1/universe_cloning
Instantiate new cloned universes instead of deepcopying
2023-02-09 14:55:00 -06:00
Jonathan Shimwell
853ef5ea49
2nd round of review improvments from paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 19:51:46 +00:00
shimwell
b559d32d68 custom error message for name is None 2023-02-09 19:47:29 +00:00
Jonathan Shimwell
e6d8e3f4a7
avoiding true divide erorr 2023-02-09 17:53:04 +00:00
Josh May
b41c8330f1
Update openmc/universe.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 09:41:23 -08:00
Jonathan Shimwell
8a5a520106
code review improvments from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 17:38:33 +00:00
Patrick Shriwise
e8e2d9afa2
Merge pull request #2288 from eepeterson/filter_shape
Change to get_reshaped_data for consistency with mesh dimensions
2023-02-09 08:50:34 -06:00
Patrick Shriwise
af16239684 Updating mesh centre tests. 2023-02-08 10:17:59 -06:00
Ethan Peterson
63b8261336 treat MeshSurfaceFilter differently 2023-02-07 14:13:46 -05:00
Ethan Peterson
653bec5fd8 added shape to aggregate filter 2023-02-07 14:13:46 -05:00
Ethan Peterson
61efad0a8d added test and expand_dims kwarg 2023-02-07 14:13:46 -05:00