mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
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:
parent
f432be0c05
commit
f0bb600271
5 changed files with 119 additions and 76 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue