Commit graph

17 commits

Author SHA1 Message Date
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
GuySten
4500f07b44
Remove reorder_attributes from openmc._xml (#3519) 2025-08-08 16:59:22 +07: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
cpf
fc60a533c1 changed theta cos_theta 2022-05-25 22:39:17 +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
29a515c7ba Add regression and unit test for rational distribution 2021-10-05 20:06:41 +00: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
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
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
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
c3af1c915b Move regression tests into separate directory 2018-02-05 07:35:19 -06:00
Renamed from tests/test_source/inputs_true.dat (Browse further)