mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Address further comments by @simondrichards
Corrects spelling and grammar.
This commit is contained in:
parent
9078010d88
commit
d1f71f2328
2 changed files with 5 additions and 5 deletions
|
|
@ -57,13 +57,13 @@ 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
|
||||
To invoke this, provide the additional argument `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
|
||||
In order to enrich an isotope in terms of mass percent (wo%), provide the 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',
|
||||
|
|
|
|||
|
|
@ -238,9 +238,9 @@ class Element(str):
|
|||
# Provide more informative error message for U235
|
||||
if enrichment_target == 'U235':
|
||||
msg = "There is a special procedure for enrichment of U235 "\
|
||||
"in U. To invoke it do not specify neither "\
|
||||
"'enrichment_target' nor 'enrichment_type'. Provide "\
|
||||
"only enrichment as 'wo%'. See User Guide for more "\
|
||||
"in U. To invoke it, the arguments 'enrichment_taget'"\
|
||||
"and 'enrichment_type' should be omitted. Provide "\
|
||||
"only 'enrichment' as 'wo%'. See User Guide for more "\
|
||||
"details"
|
||||
raise ValueError(msg)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue