Commit graph

14 commits

Author SHA1 Message Date
GuySten
4500f07b44
Remove reorder_attributes from openmc._xml (#3519) 2025-08-08 16:59:22 +07:00
Paul Romano
91fd60be69
Immediately resolve complement operators for regions (#3145) 2024-10-10 12:58:15 -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
54ac2042fb Add ReducedAbsorptionXS class for MGXS (absorption - n2n - 2*n3n - 3*n4n) 2022-08-03 15:58:54 -05:00
Miriam
6b3374a15e Fixed typo in mgxs.py and modified all tests except distribcell 2020-10-07 19:36:03 +00:00
Miriam
c50306904b Added DiffusionCoefficient class to mgxs.py
To continue in the effort of merging Sam Shaner's transient capability,
this next PR adds the class DiffusionCoefficient to mgxs.py. It uses
the TransportXS class, but has some unique features in get_condensed_xs()
requiring its own function. There won't be any other MGXS classes added
after this.

I updated the docstrings and the appropriate regression tests.
Since my system outputs different formatting for the
mgxs_library_distribcell test, it is possible this test will continue
to fail. However, I did my best to modify it by hand so that it will pass.
2020-09-23 16:35:22 +00:00
Miriam
44a5a03744 Updated testing 2020-09-17 19:01:33 +00:00
Miriam
676bcefb1e Finalized check for mesh & made progress on regression test
I had to put domain properties back into the SurfaceMGXS class to perform a checktype on the domain_type.
I updated the regression test mgxs_library_mesh to expect the correct input.
However, now the test fails for a 2-dimensional mesh. In 3D, the Current MGXS fails because it does not contain a 'z' dimension.
Meanwhile, all the other classes contain a 'z' dimension, equal to 1.
I need to figure out why the mesh used by SurfaceMGXS doesn't contain the same information as the other classes, even though it is the same mesh used in all.
2020-07-19 04:40:31 +00:00
Paul Romano
c245f78148 Update mgxs_library_mesh test 2019-08-21 10:42:35 -05:00
Sterling Harper
9ddd8b3067 Change Python Mesh class to RegularMesh 2019-06-07 08:51:09 -04:00
Adam G Nelson
1d2ebb71f8 Implemented Expansion filters in to the MGXS classes and removed the old score-based expansions 2018-04-27 19:45:38 -04: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_mgxs_library_mesh/inputs_true.dat (Browse further)