Commit graph

3 commits

Author SHA1 Message Date
Ethan Peterson
0f429e7ea7
simplifying LEQI docstring math and removing unnecessary operations (#2705) 2023-09-25 16:25:37 -05:00
Andrew Johnson
72bf884d9b
Pass fission yields to depletion matrix_func
Takes a single set of fission yields and passes them as
an additional argument to matrix_func:

   >>> A = matrix_func(chain, rates, fission_yields)

Applied to cf4, epc_rk4, celi, and leqi functions.
Assumes that fission yields will not change during a
depletion event. This change is probably overshadowed
by how much the reaction rates may change, but still worth
pointing out.
2019-08-07 19:54:49 -05:00
Andrew Johnson
0bc7800a92
Move openmc.deplete.integrator into openmc.deplete
Much of the previous API is intact, with the major change
being CRAM functions are imported from openmc.deplete.cram
in the test_deplete_cram.

The integrator abstract classes are placed in
openmc/deplete/abc.py with all concrete classes going in to
openmc/deplete/integrators.py

Documentation updated accordingly
2019-08-07 11:04:37 -05:00