Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str | |||
character(len=*), | intent(in) | :: | name |
function l_of_sym(str,name) result(l)
character(len=*), intent(in) :: str, name
integer :: l
!
! This routine will disappear once we store
! l as integer in the data structure
!
do l = 0,4
if (str == sym(l)) RETURN
enddo
call die("Wrong l symbol in "//trim(name))
end function l_of_sym