mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -04:00
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.
This commit is contained in:
parent
68361b50ab
commit
c50306904b
14 changed files with 1580 additions and 1005 deletions
|
|
@ -34,6 +34,7 @@ Multi-group Cross Sections
|
|||
openmc.mgxs.CaptureXS
|
||||
openmc.mgxs.Chi
|
||||
openmc.mgxs.Current
|
||||
openmc.mgxs.DiffusionCoefficient
|
||||
openmc.mgxs.FissionXS
|
||||
openmc.mgxs.InverseVelocity
|
||||
openmc.mgxs.KappaFissionXS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue