Commit graph

1359 commits

Author SHA1 Message Date
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
shimwell
5f1b05f5fa added element filter to get_nuclide 2022-08-29 17:01:34 +01:00
Jonathan Shimwell
a3a28d094a changing RunTimeError to ValueError 2022-08-26 16:22:08 +01:00
Paul Romano
a543499de7
Merge pull request #2188 from shimwell/adding_nuc_option_to_atom_density
added optional nuclide to get_nuclide_atom_densities
2022-08-26 07:33:01 -05:00
Jonathan Shimwell
922a5fcf5a used escape chars to match regex 2022-08-26 10:19:39 +01:00
Jonathan Shimwell
cc667cc11a updated error message check 2022-08-25 17:18:45 +01:00
lewisgross1296
14e81ab94a removed unused import 2022-08-25 09:44:57 -05:00
Jonathan Shimwell
474f0742ba
[skip ci] suggestion from review by @Paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-25 15:10:45 +01:00
lewisgross1296
519bd75f3e switched math.log10 to numpy.log10 so the assert passes 2022-08-24 13:51:51 -05:00
Jonathan Shimwell
08f026496b
[skip ci] removed blank line pep8 2022-08-23 23:20:59 +01:00
Jonathan Shimwell
1e55089e9d
[skip ci] removed print statement 2022-08-23 23:20:18 +01:00
Jonathan Shimwell
6171e09ed3 improved test fixed sum bug 2022-08-23 16:42:22 +01:00
Jonathan Shimwell
085125ef86 added optional nuclide to atom densities 2022-08-23 16:30:53 +01:00
Paul Romano
183d9c74f6
Merge pull request #2161 from lewisgross1296/delete_tally
Add extern function to delete a tally by its index in the tallies vector
2022-08-18 08:45:07 -05:00
Paul Romano
aec246be72 Rename Tracks.write_tracks_to_vtk --> Tracks.write_to_vtk 2022-08-16 22:09:58 -05:00
Paul Romano
28b8f9ecc5 Change Operator --> CoupledOperator in a few places 2022-08-15 13:35:04 -05:00