Skip to content

Commit

Permalink
Flesh out impl for I_ARMI_DEPL_DEPLETABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
keckler committed Jan 22, 2024
1 parent 3410c33 commit 0678a49
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ def isDepletable(obj: composites.ArmiObject):
:id: I_ARMI_DEPL_DEPLETABLE
:implements: R_ARMI_DEPL_DEPLETABLE
Uses :py:meth:`~armi.reactor.composite.ArmiObject.hasFlags` or
:py:meth:`~armi.reactor.composite.ArmiObject.containsAtLeastOneChildWithFlags`
to determine if the "depletable" flag is in the ``obj``. If so, returns True.
.. warning:: The ``DEPLETABLE`` flag is automatically added to compositions that have
active nuclides. If you explicitly define any flags at all, you must also
manually include ``DEPLETABLE`` or else the objects will silently not deplete.
Expand Down

0 comments on commit 0678a49

Please sign in to comment.