Commit graph

2240 commits

Author SHA1 Message Date
Jonathan Shimwell
6257c61c1c
Adding a few more imports back 2022-02-12 00:54:21 +00:00
Jonathan
0108947e70 returned used import 2022-02-11 23:46:24 +00:00
Jonathan
d91676fe1b removed unused imports 2022-02-11 22:36:46 +00:00
Paul Romano
9559aa29fa Lower precision on tally aggregation test from 8 to 7 2022-02-08 09:08:20 -06:00
Patrick Shriwise
5d5774b5bf correcting indentation. requiring max_lower_bound_ratio to be > 1. updating test. 2022-02-02 09:59:46 -06:00
Patrick Shriwise
1e8ede8fef correcting keyword arg for max lower bound ratio 2022-02-01 15:39:39 -06:00
Patrick Shriwise
6fc769a36d Updating test input. 2022-01-26 13:41:53 -06:00
Patrick Shriwise
9aa6134366 Adding otf ww adjustment using lower bound ratio. 2022-01-25 17:02:17 -06:00
Paul Romano
6bb6e2ec0c Fix failing unit tests 2022-01-21 08:18:54 -06:00
Paul Romano
d57c14e06f Add tests for XML roundtripping 2022-01-20 22:28:06 -06:00
Paul Romano
5dfc880d91 Use radians in CylindricalMesh and SphericalMesh 2022-01-20 14:16:30 -06:00
Paul Romano
f369a8ccac Add missing VolumeCalculation.from_xml_element method 2022-01-20 09:17:51 -06:00
Paul Romano
72af700ffd
Merge pull request #1947 from pshriwise/ww-final-tests
Weight windows final push
2022-01-19 09:13:07 -06:00
Patrick Shriwise
24e0f75b50 Tests: updating ww unit test with check for similarity in source bin. 2022-01-18 10:47:44 -06:00
Patrick Shriwise
0a82da0a1a
Merge pull request #1948 from paulromano/more-bugfixes
Miscellaneous bug fixes
2022-01-17 16:57:14 -06:00
Olaf Schumann
dc2e386a29 Update src/secondary_thermal.cpp
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-01-17 13:40:44 +01:00
Olaf Schumann
39e57619df add suggensstions by @paulromano
run clang-format on all changed files
Update test results
2022-01-16 19:46:48 +00:00
Patrick Shriwise
0e23d717b9 Tests: renaming the weight windows regression test dir to be consistent with the unit test dir 2022-01-14 14:39:59 -06:00
Paul Romano
0cf7d92837
Merge pull request #1931 from ojschumann/mesh
Add Cylindrical and Spherical Mesh for MeshFilter and MeshSurfaceFilter
2022-01-12 21:12:10 -06:00
Olaf Schumann
f21c52abb8 update test input 2022-01-12 21:05:09 +00:00
Paul Romano
badaaacca4 Consistent use of cross sections / chain file in Operator class 2022-01-12 10:32:25 -06:00
Olaf Schumann
8114482084
Merge branch 'openmc-dev:develop' into mesh 2022-01-09 11:33:12 +01:00
Patrick Shriwise
c25403e788 Fix: reset auto IDs in ww unit test. 2022-01-08 20:38:55 -06:00
Patrick Shriwise
72cf08a0f1 Tests: Adding unit test for weight windows. 2022-01-08 17:06:51 -06:00
Patrick Shriwise
05a3a79c8a Tests: Updating import of WeightWindows class. 2022-01-08 16:28:31 -06:00
Patrick Shriwise
3ef71de5f9 Tests: adding option to copy file into temp dir. 2022-01-08 16:28:31 -06:00
Patrick Shriwise
07629d7218 Test: Updating weight window regression test. 2022-01-08 16:28:31 -06:00
YuanHu-PKU-KIT
e08af3c374 Implement mesh-based weight windows (squashed)
Co-authored-by: Andrew Davis <andrew.davis@ukaea.uk>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-01-08 14:43:18 -06:00
Olaf Schumann
23f8cfb4f0 Add time distribution to one test
This doesn not change the results, only the settings.xml. A better test
hast to be made
2022-01-05 21:06:09 +00:00
Paul Romano
cad7f68129 Update test results that depend on inverse-velocity score 2022-01-05 07:43:44 -06:00
Paul Romano
e292125531 Support time filters used with surface current tallies 2022-01-05 07:43:44 -06:00
Paul Romano
83686f8fdb Add a simple test for time filter 2022-01-05 07:43:43 -06:00
Olaf Schumann
32d33f25cb Remove acidentially included files 2022-01-04 15:21:36 +01:00
Paul Romano
ebb6736ba6 Add TorusMixin.rotate method that can handle simple rotations 2021-12-29 10:37:54 -05:00
Paul Romano
374e9f7107 Add case to torus unit test for R slightly bigger than r 2021-12-29 09:57:50 -05:00
Olaf Schumann
5bdc633fba CR at end of line removed 2021-12-22 19:56:13 +01:00
Olaf Schumann
8b0b11b6c5 Bug: Forget to declare and define UnstructuredMesh::get_mesh_type() 2021-12-22 18:37:55 +01:00
Paul Romano
149180ec7f Add unit and regression tests for torus 2021-12-22 11:47:37 -05:00
Olaf Jochen Schumann
776c6baf1f Changes request by @gridley 2021-12-22 16:19:58 +01:00
Olaf Schumann
f92993d443 Update tests with changed results.results_true 2021-12-22 09:24:13 +01:00
Olaf Schumann
efe36357a8 Update tests to check new meshes 2021-12-20 19:43:40 +01:00
Paul Romano
baa38a1168 Update photon-related regression test results 2021-12-12 17:26:24 -06:00
Paul Romano
822879cc48 Ensure secondary particles below energy cutoff are not created 2021-12-12 16:27:12 -06:00
Miriam Rathbun
e131e07948 Fixed issue where both P0 and P1 moments were displayed in the diffusion coefficient results. With this fix, the Legendre filter is successfully sliced. Also, there was previously concern that get_condensed_xs needed to be specially catered toward DiffusionCoefficient. However, since the MGXS get_condensed_xs method condenses the tallies before calculating the cross section, that should work great for DiffusionCoefficient as well. Tests updated. 2021-11-16 13:58:40 -07:00
Paul Romano
176b148b6b
Merge pull request #1894 from pshriwise/model_deplete
Passing `openmc.Model` to depletion functions.
2021-11-09 06:51:09 -06:00
Paul Romano
96e3b2c9b8 Update inputs for mg_convert test 2021-10-20 13:27:10 -05:00
Paul Romano
eca57538cd Add missing Settings.write_initial_source property 2021-10-13 13:04:17 -05:00
Paul Romano
c2fe6327e2
Merge pull request #1890 from ojschumann/rational_dist
Rational univariate distribution
2021-10-12 22:26:02 -05:00
Olaf Schumann
c0bcc3f1ca Renamed Rational to Power Law 2021-10-11 19:48:35 +00:00
Paul Romano
36850b9cc2
Merge pull request #1889 from nelsonag/vol_calc_mg
Fix bug associated with volume calc in MG mode
2021-10-11 08:07:58 -05:00