Commit graph

548 commits

Author SHA1 Message Date
Paul Romano
ef128f5609
Merge pull request #1839 from Shimwell/allowing_lower_case_element_symbols_in_add_element
changing element to element.title to catch lowercase entries
2021-05-27 07:54:08 -05:00
Jonathan Shimwell
90ff8fcb4a added checks and tests for cases in add_element 2021-05-19 13:31:45 +01:00
Paul Romano
f1173e82c1 Address @jtramm comments 2021-05-13 07:18:46 -05:00
Paul Romano
b96493006d Update test_deplete_resultslist 2021-05-03 10:32:20 -05:00
Paul Romano
9552be7316 Update test results from new random number stream 2021-05-03 10:32:16 -05:00
Paul Romano
7b31eb5699 Increase number of batches for test_lib.py::test_reset 2021-05-03 09:43:09 -05:00
Paul Romano
8547e7082a Add pytest.approx in a few unit tests for robustness 2021-05-03 09:43:09 -05:00
Patrick Shriwise
933bc22c0a Exposing translations through the Python CAPI. 2021-04-28 00:24:10 -05:00
Hunter Belanger
2ee795066f Updates depletion tests results using proper XS library 2021-04-26 17:46:08 +02:00
Amelia J Trainer
f0191439e4 Update tests/unit_tests/test_filters.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-04-08 16:43:23 -04:00
Amelia J Trainer
ab32931870 Merge branch 'develop' into collisionFilter 2021-04-07 11:22:43 -04:00
Amelia Trainer
447887645e added tests for collision filter 2021-03-25 22:42:04 +00:00
Gavin Ridley
96ad074ae7
Merge pull request #1786 from paulromano/run-error-msg
Include error message in exception when openmc.run fails
2021-03-17 16:35:46 -04:00
Sterling Harper
f87e074c89
Merge pull request #1759 from shikhar413/rectlin_cmfd
Support rectilinear meshes for CMFD
2021-03-09 19:30:18 -07:00
Paul Romano
a367d27905 Include error message in exception when openmc.run fails 2021-03-08 10:40:38 -06:00
Paul Romano
366c4c7929 Update test results 2021-02-26 16:14:11 -06:00
Paul Romano
e54785f1a7 Add (currently failing) test with URR (n,gamma) reaction rate check 2021-02-26 14:51:21 -06:00
Paul Romano
bd3ebd90c2 Add test for wrong source attributes 2021-02-26 07:42:39 -06:00
Shikhar Kumar
b4e00b7324 Add test cases 2021-02-09 16:13:55 -05:00
YoungHui Park
5f48ec9eeb Rename max_surf_banks to max_particles 2021-01-18 14:36:05 -06:00
YoungHui Park
26c3043726 Rename surf_ids to surface_ids 2021-01-18 14:36:05 -06:00
YoungHui Park
41be70ce6a Add missing change on unit test 2021-01-18 14:36:05 -06:00
YoungHui Park
770d0e0ca0 Add surface source read/write tests on settings unit test 2021-01-18 14:36:04 -06:00
Andrew Johnson
33a066a39c
Merge remote-tracking branch 'openmc-dev/develop' into 1713-dep-results-index 2020-12-24 07:13:30 -08:00
Paul Romano
1368161ed1 Change variable names in normal dist unit test 2020-12-23 11:27:39 -06:00
Paul Romano
04a65235fb Respond to my original comments on #1670 2020-12-22 16:21:49 -06:00
Andrew Davis
9188786094 Spelling! 2020-12-22 16:21:49 -06:00
Andrew Davis
1b9fae9003 I'dve sworn python could do this 2020-12-22 16:21:49 -06:00
Andrew Davis
a7c7c9b91c Missing closing parenthesis 2020-12-22 16:21:49 -06:00
Andrew Davis
8b834d9fe4 C++ism creeping in 2020-12-22 16:21:49 -06:00
Andrew Davis
ee62c7fcd2 add the shaprio test for normality 2020-12-22 16:21:49 -06:00
Andrew Johnson
eb5121b14a
Require atol / rtol to be real in ResultsList.get_step_where
Previous implementation converted a value of None to infinity.
2020-12-09 08:41:46 -08:00
Andrew Johnson
3905e7a8a0
Update tests/unit_tests/test_deplete_resultslist.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2020-12-09 08:36:49 -08:00
Andrew Johnson
833529a880
Test ResultsList.get_step_where 2020-12-04 08:35:45 -08:00
Patrick Shriwise
5b81083742
Merge pull request #1691 from paulromano/sourcesite-python
Generation of source files from Python
2020-10-21 16:42:42 -05:00
Paul Romano
490eadd864 Make sure write_source_file creates filetype attribute 2020-10-20 14:07:45 -05:00
aprilnovak
c36cfa8f93 Add requirement to have njoy executable before am244() in test_kerma. 2020-10-15 11:44:14 -05:00
Paul Romano
667fb50a3b Add test for source file generation 2020-10-14 15:47:08 -05:00
Jingang Liang
5357bdabbb added log=True in multipole generation tests 2020-10-14 11:11:40 +08:00
Jingang Liang
4024f07fe2 minor fixes 2020-10-13 14:10:44 +08:00
Jingang Liang
b842ae78ee improve based on Paul's comments 2020-10-12 21:16:54 +08:00
Jingang Liang
2f9aaff767 address paul's review comments 2020-10-09 22:52:47 +08:00
Jingang Liang
ecaf8cbe61 updated unit test case for multipole 2020-10-09 22:52:47 +08:00
Jingang Liang
ddfda7e6ed added unit test for wmp genetation from ENDF 2020-10-09 22:52:46 +08:00
Paul Romano
abc9e9c7ad Add decay_energy property on Decay class and associated bug in chain.py 2020-10-05 15:39:20 -05:00
Paul Romano
504756ae2e Parameterize tolerance for activation test 2020-09-17 22:19:18 -05:00
Paul Romano
7e48637c1d Expand activation test to cover all cases for FluxCollapseHelper 2020-09-15 10:23:31 -05:00
Paul Romano
2466f1739e Implement hybrid depletion tallies 2020-09-15 10:23:31 -05:00
Paul Romano
fbcd789f20 Use flux reaction_rate_mode in activation test 2020-09-15 10:23:31 -05:00
Jingang Liang
0c95b93d5c fix energy unit conversion from Mev to eV 2020-09-14 11:17:09 +08:00