mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Allow user to override num processes used for depletion
This commit is contained in:
parent
73ba908f1f
commit
dc18f59d82
2 changed files with 11 additions and 1 deletions
|
|
@ -166,6 +166,12 @@ with :func:`cram.CRAM48` being the default.
|
|||
|
||||
:type: bool
|
||||
|
||||
.. data:: pool.NUM_PROCESSES
|
||||
|
||||
Number of worker processes used for depletion calculations, which rely on the
|
||||
:class:`multiprocessing.pool.Pool` class. If set to ``None`` (default), the
|
||||
number returned by :func:`os.cpu_count` is used.
|
||||
|
||||
The following classes are used to help the :class:`openmc.deplete.Operator`
|
||||
compute quantities like effective fission yields, reaction rates, and
|
||||
total system energy.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue