Commit graph

35 commits

Author SHA1 Message Date
Jack Fletcher
0486e433d2
Source biasing capabilities (#3460)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-01-12 09:51:12 -06:00
GuySten
fd964bc9b0
Enable specifying reference direction for azimuthal angle in PolarAzimuthal distribution (#3582)
Co-authored-by: shimwell <mail@jshimwell.com>
2025-11-03 09:42:59 +02:00
Ilham Variansyah
ecb0a3361f
Combing for fission site sampling, and delayed neutron emission time (#2992)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-09-19 08:10:08 +00:00
GuySten
4500f07b44
Remove reorder_attributes from openmc._xml (#3519) 2025-08-08 16:59:22 +07:00
Patrick Shriwise
f207d4220a
Adding methods to automatically apply results to existing Tally objects. (#2671)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-24 22:49:58 +00:00
Ebny Walid Ahammed
2d988a69a1
External sources alias sampler (#3201)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-11-23 19:10:39 +00:00
Paul Romano
04ecf54907
Improve clipping of Mixture distributions (#3154)
Co-authored-by: Ethan Peterson <eepeterson3@gmail.com>
2024-10-11 07:13:10 -04:00
Patrick Shriwise
eda39ad9ca
Python source class refactor (#2524)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-20 21:27:55 -05:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Ethan Peterson
11e618fe81 adding export_to_xml to run and updating tests 2023-03-24 18:54:54 -04:00
Paul Romano
893c4d0648 Try using 10**x instead of logspace in source test 2023-02-13 09:00:33 -06:00
Paul Romano
091241070f Update test results with numpy 1.24 and anisotropic fission 2023-02-10 12:21:42 -06:00
myerspat
19c807ade2 updated regression tests 2022-12-21 10:15:14 -05:00
cpf
53d7c848ea use of testing cross sections 2022-05-26 00:17:03 +02:00
cpf
c2a0599b23 update criticality by different distribution 2022-05-26 00:07:36 +02:00
cpf
fc60a533c1 changed theta cos_theta 2022-05-25 22:39:17 +02:00
cpf
f1f215bdbb change theta to cos_theta in regression test 2022-05-25 16:39:42 +02: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
Olaf Schumann
c0bcc3f1ca Renamed Rational to Power Law 2021-10-11 19:48:35 +00: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
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
Paul Romano
9552be7316 Update test results from new random number stream 2021-05-03 10:32:16 -05:00
Ethan Peterson
96c7427eaf Adding CylindricalIndependent source type
ammended docstrings to mention local reference frame
2020-01-06 19:47:10 -05:00
Ethan Peterson
15c7148331 Adding SphericalIndependent source type
Applied suggestions from code review

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-11-11 10:50:38 -05:00
Sterling Harper
45aeb35aa9 Rotate azimuthal distributions by pi/2 2019-09-24 15:15:30 -04:00
Andrew Johnson
76f3ddc597
Update source regression test true input
pytest --update tests/regression/source

Temperature is written as an attribute for a material,
not a new subelement
2019-07-09 08:15:36 -05:00
Paul Romano
325f9fcf72 Use lower-case argument names for surfaces consistently 2019-03-08 11:25:26 -06:00
Paul Romano
ee02f02655 Update results for numpy 1.14+. Closes #1026. 2018-08-10 12:50:56 -05:00
Paul Romano
23324fe24b Fix broken tests 2018-03-15 11:02:07 -05:00
Paul Romano
740f03fce1 Use single package-level fixture for regression tests 2018-02-05 07:35:19 -06:00
Paul Romano
98d5496102 Ability to run regression tests using pytest 2018-02-05 07:35:19 -06:00
Paul Romano
920afa123e Make tests directory a package (for pytest) 2018-02-05 07:35:19 -06:00
Paul Romano
c3af1c915b Move regression tests into separate directory 2018-02-05 07:35:19 -06:00