Address comments by @simondrichards

Also remove spaces between Raises entries in docstring of Element.expand
This commit is contained in:
Mikolaj Adam Kowalski 2020-02-26 12:18:19 +00:00
parent c679f8e8e1
commit 9078010d88
4 changed files with 38 additions and 16 deletions

View file

@ -55,6 +55,20 @@ following would add 3.2% enriched uranium to a material::
In addition to U235 and U238, concentrations of U234 and U236 will be present
and are determined through a correlation based on measured data.
It is also possible to perform enrichment of any element that is composed
of two naturally-occurring isotopes (e.g. Li, B) in terms of atomic percent.
To invoke it, provide additional arguments `enrichment_target` to
:meth:`Material.add_element`. For example the following would enrich B10
to 30ao%::
mat.add_element('B', 1.0, enrichment=30.0, enrichment_target='B10')
In order to enrich an isotope in terms of mass percent (wo%). Provide extra
argument `enrichment_type`. For example the following would enrich Li6 to 15wo%::
mat.add_element('Li', 1.0, enrichment=15.0, enrichment_target='Li6',
enrichment_type='wo')
Often, cross section libraries don't actually have all naturally-occurring
isotopes for a given element. For example, in ENDF/B-VII.1, cross section
evaluations are given for O16 and O17 but not for O18. If OpenMC is aware of