Determine if any of the known species are ion like
This should be effectively constant, could cache during init
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(specie), | intent(in), | dimension (:) | :: | spec |
pure logical function has_ion_species (spec)
implicit none
type (specie), dimension (:), intent (in) :: spec
has_ion_species = any(is_ion_species(spec))
end function has_ion_species