Commit graph

874 commits

Author SHA1 Message Date
Ethan Peterson
1a67755f6a update unit test 2022-10-19 14:27:18 -04:00
Paul Romano
2ae5ccb031 Fix EnergyFunctionFilter.from_xml_element 2022-10-18 12:14:15 -05:00
Paul Romano
0587aeeaa4 Allow EnergyFunctionFilter interpolation to be set from C API 2022-10-18 12:14:15 -05:00
Patrick Shriwise
61f8a793d7
Merge pull request #2267 from paulromano/random-test-fix
Improve tests for checking sample means
2022-10-18 10:20:44 -05:00
Paul Romano
358e7b3918 Change assert_sample_mean to use 4sigma CI 2022-10-16 12:19:12 +02:00
Paul Romano
400000d5c4
Merge pull request #2252 from paulromano/decay-photon-stable-fix
Make sure Material.decay_photon_energy works with no unstable nuclides
2022-10-12 18:28:51 +02:00
Paul Romano
47ff27e77f
Merge pull request #2233 from shimwell/adding_from_domain_to_CylindricalMesh
added from domain to CylindricalMesh
2022-10-06 09:36:32 -05:00
Paul Romano
fe04a839c2 Make sure Material.decay_photon_energy works with no unstable nuclides 2022-10-05 14:28:18 -05:00
Gavin Ridley
9a86c9c065
Merge pull request #2228 from paulromano/sourcefile-fix
Fix reading source file with time attribute
2022-10-05 14:43:20 -04:00
Jonathan Shimwell
6a9a1ad293 added phi_grid_bounds to CylindricalMesh tests 2022-10-05 11:46:00 +01:00
Jonathan Shimwell
afbd994d4f
review suggestions from Remi and Paul
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
2022-10-05 08:45:59 +01:00
Jonathan Shimwell
434dc1f30d
Merge pull request #2238 from pshriwise/dag_cells_surfs
Adding properties for number of DAGMC cells and surfaces
2022-10-04 16:18:50 +01:00
Patrick Shriwise
6c698e3b88
Merge pull request #2242 from eepeterson/wwinp_reader_fix
fix wwinp reader
2022-10-03 18:58:26 -05:00
Patrick Shriwise
47488ecacb
Merge pull request #2235 from paulromano/source-rejection
Source rejection by domain (cell, material, universe)
2022-10-03 09:38:28 -05:00
Ethan Peterson
f9ba64eeb3
Update tests/unit_tests/weightwindows/test_wwinp_reader.py 2022-10-03 07:22:26 -04:00
Ethan Peterson
6bc2ee8e4f updated cyl and t wwlb for future tests 2022-10-03 07:19:58 -04:00
Ethan Peterson
4957ba240b revert to original expected ww lb 2022-10-03 07:17:07 -04:00
Ethan Peterson
1a306c4c15 rewrote ww test files 2022-10-03 07:15:02 -04:00
Patrick Shriwise
e11c42a7d5 pathlib import 2022-10-02 22:05:32 -05:00
Ethan Peterson
6fe91efd05 fixed wwinp reader tests 2022-10-02 10:45:01 -04:00
Jonathan Shimwell
46045588f5
Merge pull request #2234 from paulromano/decay-source-chain
Decay photon source functionality
2022-10-01 00:28:36 +01:00
Patrick Shriwise
d96c367331 Using pytest request path to specify dagmc file 2022-09-30 12:53:25 -05:00
Patrick Shriwise
fe90b8e220 Adding properties for number of DAGMC cells/surfaces 2022-09-29 22:04:39 -05:00
Paul Romano
2b401bc1f1
Update tests/unit_tests/test_source.py
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2022-09-28 10:26:13 -05:00
Paul Romano
e0be9de086
Apply @shimwell suggestions from code review
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2022-09-28 09:33:48 -05:00
Paul Romano
7815a5e02d Address @shimwell comments on #2234 2022-09-28 09:31:12 -05:00
Paul Romano
dd7a25c570 Add test for source rejection by domain 2022-09-26 14:20:34 -05:00
Paul Romano
89c33923c1 Add test for StepResult.get_material 2022-09-26 12:58:54 -05:00
Paul Romano
95d182b73f Add tests for decay photon source 2022-09-26 12:58:54 -05:00
Jonathan Shimwell
e63b437662 added from domain to CylindricalMesh 2022-09-26 16:11:53 +01:00
shimwell
3891cef4f1 added ability to find material names in DAG 2022-09-24 20:09:01 +01:00
Paul Romano
96753f9af0 Fix reading source file with time attribute. Closes #2223 2022-09-22 23:32:07 -05:00
Jonathan Shimwell
cbd8376238
Merge pull request #2214 from paulromano/muir-function
Replace Muir classes with muir function
2022-09-22 16:46:26 +01:00
Jonathan Shimwell
ffe336c2ef
Merge pull request #2211 from paulromano/config
Allow configuration of data sources via openmc.config
2022-09-21 16:47:20 +01:00
Paul Romano
6834e29092
Merge pull request #2217 from shimwell/adding_from_bounding_box_to_RegularMesh
added bbox class method to regular mesh
2022-09-15 06:50:20 -05:00
Jonathan Shimwell
21f1d5142b renamed tests to reg_mesh prefix 2022-09-09 17:08:40 +01:00
Jonathan Shimwell
abc2c7cd7a renamed dounding_box to domain, review suggestion 2022-09-09 16:45:49 +01:00
Jonathan Shimwell
1cfbd67659 added bbox class method to regular mesh 2022-09-09 14:47:11 +01:00
Paul Romano
50067898ff Replace Muir classes with single muir() Python function 2022-09-08 13:42:22 -05:00
Paul Romano
a95f4cc0d7 Remove use of _find_chain_file in test_deplete_operator.py 2022-09-08 10:50:21 -05:00
josh
3c7483becb Add a simple unittest for the FissionYield deepcopy 2022-09-08 02:08:18 +00:00
Paul Romano
35930e0422 Add tests for openmc.config 2022-09-07 16:46:11 -05:00
Paul Romano
b779141b57
Merge pull request #2205 from yardasol/add_components_metastable_fix
Fix errorneous behavior when adding metastable nuclides via `add_components`
2022-09-07 16:45:06 -05:00
Ethan Peterson
bdb6d38bfd
Merge pull request #2204 from paulromano/reference-uvw-fix
Fix reading reference direction from XML for angular distributions
2022-09-06 14:52:08 -04:00
Olek
85c5c791d6
Cleanup flow control for detecting nuclides
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-09-01 14:33:24 -05:00
Paul Romano
28a945f6ca
Merge pull request #2200 from shimwell/adding_element_filter_to_get_nuclides_without_sorting
added element filter to get_nuclide
2022-09-01 13:46:29 -05:00
yardasol
0214b22036 fix errorneous behavior when adding metastable nuclides via add_components 2022-09-01 11:52:21 -05:00
Paul Romano
588e7bbab0 Add XML roundtrip test for openmc.Source 2022-08-31 12:37:20 -05:00
Patrick Shriwise
fa0f95642e
Merge pull request #2194 from shimwell/more_informative_error_message_writing_vtk
added mesh size and tally mean numbers to error message
2022-08-30 11:13:41 -05:00
shimwell
5a0884e9de corrected get nuclide tests 2022-08-29 22:41:07 +01:00