Remove celi, leqi functions for CELIIntegrator, LEQIIntegrator

The depletion functions openmc.deplete.celi and
openmc.deplete.leqi hvae been removed in favor of a class-based
approach. The following syntax will replicate the behavior
of the integration schemes:

>>> from openmc.deplete import CELIIntegrator
>>> celi = CELIIntegrator(operator, time, power)
>>> celi.integrate()

The expression can be reduced to a single line:

>>> LEQIIntegrator(operator, time, power).integrate()
This commit is contained in:
Andrew Johnson 2019-07-17 16:46:30 -05:00
parent 1d791a16c9
commit 769f903dbc
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB
6 changed files with 160 additions and 276 deletions

View file

@ -16,8 +16,6 @@ transport-depletion coupling algorithms <http://hdl.handle.net/1721.1/113721>`_.
:nosignatures:
:template: myfunction.rst
integrator.celi
integrator.leqi
integrator.cf4
integrator.epc_rk4
integrator.si_celi
@ -30,6 +28,8 @@ transport-depletion coupling algorithms <http://hdl.handle.net/1721.1/113721>`_.
integrator.PredictorIntegrator
integrator.CECMIntegrator
integrator.CELIIntegrator
integrator.LEQIIntegrator
Each of these functions expects a "transport operator" to be passed. An operator
specific to OpenMC is available using the following class: