Get number of references for a given element symbol
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | sym |
Element symbol |
Number of references
elemental function get_nref_sym(sym) result(n) !> Element symbol character(len=*), intent(in) :: sym !> Number of references integer :: n n = get_nref(to_number(sym)) end function get_nref_sym