openmc.data.atomic_weight

openmc.data.atomic_weight(element)[source]

Return atomic weight of an element in atomic mass units.

Computes an average of the atomic mass of each of element’s naturally occurring isotopes weighted by their relative abundance.

Parameters

element (str) – Element symbol (e.g., ‘H’) or name (e.g., ‘helium’)

Returns

Atomic weight of element in [amu]

Return type

float