mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Modified docs to mention adding elements by name
This commit is contained in:
parent
dce773dd14
commit
04e57d06f2
1 changed files with 6 additions and 0 deletions
|
|
@ -40,6 +40,12 @@ of an element, you specify the element itself. For example,
|
|||
|
||||
mat.add_element('C', 1.0)
|
||||
|
||||
This method can also accept element names, insensitive to character, such as
|
||||
|
||||
::
|
||||
|
||||
mat.add_element('aluminium', 1.0)
|
||||
|
||||
Internally, OpenMC stores data on the atomic masses and natural abundances of
|
||||
all known isotopes and then uses this data to determine what isotopes should be
|
||||
added to the material. When the material is later exported to XML for use by the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue