Commit graph

15994 commits

Author SHA1 Message Date
RemDelaporteMathurin
024c51a1ff Merge branch 'centre_for_cylinder_spherical_meshes' of https://github.com/RemDelaporteMathurin/openmc into centre_for_cylinder_spherical_meshes 2023-03-07 14:37:49 -05:00
RemDelaporteMathurin
ab4237c037 use get_reshaped_data in tests 2023-03-07 14:36:07 -05:00
shimwell
1a9449debc finding data_type arg automatically 2023-03-06 20:36:34 +00:00
Patrick Shriwise
527f5f70aa
Merge branch 'develop' into centre_for_cylinder_spherical_meshes 2023-03-06 13:37:24 -06:00
Rémi Delaporte-Mathurin
1b29adbf56
Merge pull request #6 from pshriwise/centre_for_cylinder_spherical_meshes
Add an intermediate `PeriodicStructuredMesh` class to separate the `origin` attribute from `StructuredMesh`
2023-03-06 14:03:31 -05:00
Patrick Shriwise
b02e558fae Adding docstring. Updating method name 2023-03-04 23:57:55 -06:00
Patrick Shriwise
5946763323 Moving origin data member down into Cylindrical/Spherical mesh using intermediate class 2023-03-04 15:51:56 -06:00
Paul Romano
1241892e1b
Merge pull request #2405 from shimwell/extra_tests_for_plotter
Extra tests for cross section plotter
2023-03-04 15:38:15 -06:00
Paul Romano
c1232a83e0 Add volume arguments on several methods in Material class 2023-03-03 15:08:17 -06:00
Paul Romano
c20f115cb9 Change exception in decay source processing to warning 2023-03-03 11:02:48 -06:00
shimwell
7f16f46bed material and plot_xs tests for plotter.py 2023-03-02 23:52:00 +00:00
shimwell
33f9ab7083 testing muliple reactions for elements+nuclides 2023-03-02 22:14:14 +00:00
shimwell
f34b37bb4f added test for element and nuclide plot 2023-03-02 22:07:49 +00:00
Patrick Shriwise
728f48c2ae Adding another test that uses VTK to gather the data directly.
Co-authored-by: Jonathan Shimwell <jonathan.shimwell@firstlightfusion.com>
2023-03-01 00:33:24 -06:00
RemDelaporteMathurin
c71c134963 added grids in statepoint specs 2023-02-27 16:32:05 -05:00
Rémi Delaporte-Mathurin
308be3f1ea
Update openmc/mesh.py
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2023-02-27 16:23:45 -05:00
Rémi Delaporte-Mathurin
972e1c12ec
[skip ci] Minor refactoring
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2023-02-27 16:22:10 -05:00
RemDelaporteMathurin
9ca6f1b65b fixed docstrings for origin 2023-02-27 16:13:31 -05:00
RemDelaporteMathurin
c61e735a70 empty_like instead of copy 2023-02-27 16:10:55 -05:00
RemDelaporteMathurin
2f9f500542 removed check and always offset origin 2023-02-27 16:10:27 -05:00
Paul Romano
b44225b3d5
Merge pull request #2399 from aprilnovak/default-c
Add default constructor for VolumeCalculation
2023-02-27 12:36:00 -06:00
Paul Romano
beea906e00
Merge pull request #2377 from shimwell/adding_volume_to_material_repr
added volume information to material repr
2023-02-24 20:44:34 -06:00
Jonathan Shimwell
0d84c53818
review improvment, refactor to single line
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-24 22:05:00 +00:00
April Novak
9858114ed7
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-24 11:53:40 -08:00
aprilnovak
f0aa0ab3f2 Add default constructor for VolumeCalculation. Refs #2398 2023-02-24 12:10:52 -06:00
Patrick Shriwise
70b743e5ed Add test of volume normalization ordering 2023-02-23 23:59:46 -06:00
Patrick Shriwise
a270d4c01a Using vertices property where possible. Correcting volume ordering in normalization 2023-02-23 23:39:03 -06:00
Jonathan Shimwell
7becabcde4
cm^3 instead of cm3 2023-02-23 21:16:52 +00:00
Paul Romano
ed02703f4b
Merge pull request #2392 from joshmay1/nuclide_determinism
Order nuclides deterministically when adding from elements
2023-02-23 09:21:54 -06:00
josh
5556b0cedc order nuclides by increasing mass number 2023-02-22 18:24:50 +00:00
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
Rémi Delaporte-Mathurin
f961fc90c2
[skip ci] Modified the XML specs 2023-02-21 17:42:06 -05:00
Patrick Shriwise
55179b5a46 Removing os module from restart test 2023-02-21 07:31:53 -06:00
Patrick Shriwise
0419367815
Update tests/regression_tests/statepoint_restart/test.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-21 07:28:32 -06:00
Patrick Shriwise
0aa36836b3 Updating globs 2023-02-21 00:48:23 -06:00
Patrick Shriwise
1b68e61a3e explicit instance check 2023-02-21 00:47:47 -06:00
Patrick Shriwise
b8c7c76444
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-21 00:42:27 -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
Patrick Shriwise
3702d40f9f
Merge pull request #2391 from paulromano/override-fixes
Add missing override specifiers in C++ classes
2023-02-20 09:33:55 -06:00
Patrick Shriwise
d363f4eedb
Merge pull request #2395 from aprilnovak/better-error
Use more generalized error message.
2023-02-19 09:24:37 -06:00
April Novak
5a61627549
Apply suggestions from code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2023-02-18 17:18:53 -08:00
aprilnovak
14af9de1e2 Use more generalized error message. Refs #2394 2023-02-17 19:16:15 -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
Paul Romano
eb0c8e497c Move Filter::create<T> implementation to filter.h 2023-02-17 10:31:54 -06:00
Paul Romano
d5ce4af68a Add RDMAV_FORK_SAFE=1 to avoid fork error with libfabric 2023-02-17 10:31:27 -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
65852f4fbc Update batch comparison in statepoint load 2023-02-16 17:52:23 -06:00
Patrick Shriwise
648313fab1 Adding to regression test instead of making new unit test 2023-02-16 16:28:51 -06:00