Remove predictor function for deplete.PredictorIntegrator

The depletion function openmc.deplete.predictor has been removed
in favor of a class-based approach. The following syntax will
replicate the behavior of the predictor integration scheme:

>>> from openmc.deplete import PredictorIntegrator
>>> predictor = PredictorIntegrator(operator, time, power)
>>> predictor.integrate()`

The expression can be reduced to a single line:

>>> PredictorIntegrator(operator, time, power).integrate()
This commit is contained in:
Andrew Johnson 2019-07-17 13:36:32 -05:00
parent f432be0c05
commit f0bb600271
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB
5 changed files with 119 additions and 76 deletions

View file

@ -16,7 +16,6 @@ transport-depletion coupling algorithms <http://hdl.handle.net/1721.1/113721>`_.
:nosignatures:
:template: myfunction.rst
integrator.predictor
integrator.celi
integrator.leqi
integrator.cf4
@ -29,6 +28,7 @@ transport-depletion coupling algorithms <http://hdl.handle.net/1721.1/113721>`_.
:nosignatures:
:template: myclassinherit.rst
integrator.PredictorIntegrator
integrator.CECMIntegrator
Each of these functions expects a "transport operator" to be passed. An operator