mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Remove mention of OPENMC_DEPLETE_CHAIN in model.py
This commit is contained in:
parent
0c0e591cb7
commit
f1e930b8ba
2 changed files with 4 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ class TransportOperator(metaclass=ABCMeta):
|
|||
if chain_file is None:
|
||||
data = DataLibrary.from_xml()
|
||||
# search for depletion_chain path from end of list
|
||||
for lib in data.libraries[::-1]:
|
||||
for lib in reversed(data.libraries):
|
||||
if lib['type'] == 'depletion_chain':
|
||||
break
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -133,8 +133,9 @@ class Model(object):
|
|||
Array of timesteps in units of [s]. Note that values are not
|
||||
cumulative.
|
||||
chain_file : str, optional
|
||||
Path to the depletion chain XML file. Defaults to the
|
||||
:envvar:`OPENMC_DEPLETE_CHAIN` environment variable if it exists.
|
||||
Path to the depletion chain XML file. Defaults to the chain
|
||||
found under the ``depletion_chain`` in the
|
||||
:envvar:`OPENMC_CROSS_SECITON` environment variable if it exists.
|
||||
method : str
|
||||
Integration method used for depletion (e.g., 'cecm', 'predictor')
|
||||
**kwargs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue