Get chemical hardness for a given element symbol
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | sym |
Element symbol |
Chemical hardness
elemental function get_hardness_sym(sym) result(eta) !> Element symbol character(len=*), intent(in) :: sym !> Chemical hardness real(wp) :: eta eta = get_hardness(to_number(sym)) end function get_hardness_sym