Commit graph

1360 commits

Author SHA1 Message Date
agnelson
7bcf2ca9e8 Adding a check to ensure we dont translate a cell not filled with a universe and then incorporating this in the unit test. 2021-07-27 19:03:38 -05:00
agnelson
1d8f4c922e Added a set/get_translation attribute to the Cell C-API interface. This is also tested. 2021-07-27 18:30:48 -05:00
Paul Romano
48be9c1c33 Respond to @pshriwise comments on #1858 2021-07-19 10:55:03 -05:00
Paul Romano
535d823ddf Add temperature interpolation test 2021-07-15 10:14:59 -05:00
Paul Romano
c9d84310d3 Merge branch 'develop' into properties-exim 2021-07-14 15:18:31 -05:00
Paul Romano
731f2975bb Replace lib.Material.density property with get_density method 2021-07-13 06:57:33 -05:00
Patrick Shriwise
1e3a38a96d Merge remote-tracking branch 'upstream/develop' into dagmc_universe 2021-06-30 09:12:35 -05:00
Paul Romano
803f17500c Fix use of get_map<IdData> within plot.cpp and failing properties test 2021-06-24 17:05:10 +07:00
Paul Romano
6190ff8ff3 Add test for Model.import_properties 2021-06-24 15:54:38 +07:00
Paul Romano
329dff2018 Add tests for export_properties and import_properties 2021-06-24 15:36:41 +07:00
Paul Romano
51e1b5f41c Fix id_map test 2021-06-24 15:14:00 +07:00
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
Patrick Shriwise
a09c468faf Updates to the dagmc test and settings test from the Python API. 2021-05-19 18:05:28 -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