From 04e57d06f264700168441fbfd45fe35eaa0b4dac Mon Sep 17 00:00:00 2001 From: Paul Cosgrove Date: Tue, 25 Feb 2020 13:15:59 +0000 Subject: [PATCH] Modified docs to mention adding elements by name --- docs/source/usersguide/materials.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/source/usersguide/materials.rst b/docs/source/usersguide/materials.rst index 847276848..5e9e74244 100644 --- a/docs/source/usersguide/materials.rst +++ b/docs/source/usersguide/materials.rst @@ -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