Commit graph

916 commits

Author SHA1 Message Date
Patrick Shriwise
fb1d2ff00b Adding volume check to filter mesh test 2022-02-25 21:34:35 -06:00
Paul Romano
96d0726e42 Fix failing tests that were using "all" in tally nuclides 2022-02-23 06:35:05 -06:00
Paul Romano
af4a8400c5 Remove archaic 'all' nuclides tally feature 2022-02-22 16:37:53 -06:00
Paul Romano
ceb6687e1c Update survival_biasing regression test 2022-02-15 15:34:57 -06:00
Paul Romano
f741568d06 Don't modify wgt_last in survival biasing 2022-02-15 11:10:33 -06: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
5dfc880d91 Use radians in CylindricalMesh and SphericalMesh 2022-01-20 14:16:30 -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
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
Olaf Schumann
8114482084
Merge branch 'openmc-dev:develop' into mesh 2022-01-09 11:33:12 +01:00
Patrick Shriwise
05a3a79c8a Tests: Updating import of WeightWindows class. 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
Olaf Schumann
32d33f25cb Remove acidentially included files 2022-01-04 15:21:36 +01: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
Miriam Rathbun
12db3d12ac Updated results from mgxs_library_condense to reflect new changes. 2021-11-22 22:56:13 -07: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
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
Patrick Shriwise
f1234a38b0 Updating depletion test files. Further adjustments to how materials are identified for some utility functions. 2021-10-08 14:15:40 -05:00
agnelson
8c65024361 importing pytest in vol_calc test 2021-10-06 13:49:33 -05:00
Adam Nelson
f86410a6d8
Updated volume_calc test per comments from @paulromano 2021-10-06 13:26:29 -05:00
Olaf Schumann
3028193f58 Fix test after fixing bug 2021-10-06 07:19:31 +00:00
Olaf Schumann
29a515c7ba Add regression and unit test for rational distribution 2021-10-05 20:06:41 +00:00
agnelson
75fd0a7f78 Added test of volume calc from MG mode, then corrected 2 issues: the first led to #1698, the second led to the test failing as volume calcs need atom densities but they existed in a different location in MG mode. To fix the former, if blocks were placed to point to the MG nuclide data as necessary, and the latter by calling Material.finalize() at the appropriate spot in the MG code 2021-10-05 14:12:31 -05:00
agnelson
adc935b99d Added a MG version of regression_tests/volume_calc 2021-10-05 11:59:47 -05:00
Paul Romano
6eea13043f Add support for PNG plots using libpng 2021-10-04 15:48:42 -05:00
Olaf Schumann
9dc9b2af45
Update tests/regression_tests/source/test.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-09-29 17:10:49 +02:00
Olaf Schumann
e7fa663b3d Update mixture distribution
update storeage of c++ class
  update sampling -> uses std::lower_bound for O(log(N)) sampling of the
distribution
  implemented from_xml_element
  updated settings.rst
  include a mixture in the regression tests
2021-09-23 09:37:19 +00:00
Patrick Shriwise
0bed3f53b2 Adding a test for setting cell temperatures under a specific higher level cell instance in the cpp driver test. 2021-08-18 08:46:58 -05:00
Paul Romano
180fefc99d
Merge pull request #1863 from pshriwise/cell_inst_filter
Enable cell instance tallies for universe/lattice-filled cells
2021-08-03 14:27:32 -05:00