Commit graph

5318 commits

Author SHA1 Message Date
Paul Romano
635e573955
Merge pull request #2390 from pshriwise/restart-fixes
Updates to batch checks for simulation restarts
2023-02-22 09:16:11 -06:00
Patrick Shriwise
1b68e61a3e explicit instance check 2023-02-21 00:47:47 -06:00
Patrick Shriwise
a528de2976
Merge pull request #2381 from paulromano/anisotropic-fission
Use correct direction for anisotropic fission and update numpy version for tests
2023-02-20 12:37:08 -06:00
Patrick Shriwise
7aaf114d8e
Merge pull request #2388 from shimwell/moving_gau_method_up_one_layer
testing get_all_universes is in DAGMCUniverse
2023-02-20 12:36:53 -06:00
Paul Romano
b9d4ed2a28
Merge pull request #2386 from bam241/map_no_kargs
map does not accept keyword argument, fixing PR #2356
2023-02-17 10:59:07 -06:00
RemDelaporteMathurin
c634a14674 added origin to docstrings 2023-02-17 10:56:42 -05:00
josh
0aba858f95 sort nuclides when adding by element 2023-02-17 02:15:50 +00:00
Patrick Shriwise
9803c26111 bwd compatibility fix for reading filter elements 2023-02-16 16:18:41 -06:00
Patrick Shriwise
461fd54f11 Updating doc strings 2023-02-16 13:53:57 -06:00
Patrick Shriwise
0e10a7da47 Allowing openmc.Pathlike for restart file argument 2023-02-16 13:48:11 -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
Jonathan Shimwell
04d9e27866 moving get_all_universes method 2023-02-16 16:24:24 +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
Baptiste Mouginot
5f5c0ed7a7 map_no_kargs 2023-02-15 11:07:29 +01: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
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
fc619f8352 Fix documentation for MeshFilter and MeshSurfaceFilter 2023-02-12 19:27:11 -06:00
Paul Romano
ba074c5a5a Fix several thermal scattering nuclide assignments 2023-02-10 14:59:57 -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
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
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
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
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
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
Paul Romano
dbbad687eb Don't call normalize inside Tabular.mean 2023-02-03 08:32:05 -06: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