mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
minor fix
This commit is contained in:
parent
17f10c4055
commit
5737c39e41
2 changed files with 3 additions and 1 deletions
|
|
@ -34,7 +34,6 @@ from .transfer_rates import TransferRates, ExternalSourceRates
|
|||
from .reactivity_control import ReactivityController
|
||||
|
||||
|
||||
|
||||
__all__ = [
|
||||
"OperatorResult", "TransportOperator",
|
||||
"ReactionRateHelper", "NormalizationHelper", "FissionYieldHelper",
|
||||
|
|
@ -909,6 +908,7 @@ class Integrator(ABC):
|
|||
n, res = self._get_bos_data_from_operator(i, source_rate, n)
|
||||
else:
|
||||
n, res = self._get_bos_data_from_restart(source_rate, n)
|
||||
# Get root from reactivity control
|
||||
if self._reactivity_control:
|
||||
root = self.operator.prev_res[-1].reac_cont
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -105,6 +105,8 @@ def search_for_keff(model_builder, initial_guess=None, target=1.0,
|
|||
run_args : dict, optional
|
||||
Keyword arguments to pass to :meth:`openmc.Model.run`. Defaults to no
|
||||
arguments.
|
||||
|
||||
.. versionadded:: 0.13.1
|
||||
**kwargs
|
||||
All remaining keyword arguments are passed to the root-finding
|
||||
method.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue