Convert atomic number to element symbol
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | number |
Atomic number |
Element symbol
elemental function to_symbol(number) result(symbol) !> Atomic number integer,intent(in) :: number !> Element symbol character(len=2) :: symbol call number_to_symbol(symbol, number) end function to_symbol