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