is_passing_hybrid_electron Function

public pure function is_passing_hybrid_electron(is, ik, il)

Determine if the passed species, ky and lambda indicies correspond to a passing hybrid electron point which should be skipped.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: is
integer, intent(in) :: ik
integer, intent(in) :: il

Return Value logical


Contents


Source Code

  pure logical function is_passing_hybrid_electron(is, ik, il)
    use species, only: spec, is_hybrid_electron_species
    use kt_grids, only: aky
    use warning_helpers, only: is_not_zero
    implicit none
    integer, intent(in) :: is, ik, il
    is_passing_hybrid_electron = &
         is_hybrid_electron_species( spec(is)) .and. is_not_zero(aky(ik)) &
         .and. (il_is_passing(il) .or. il_is_wfb(il))
    !Note always including wfb as passing here
  end function is_passing_hybrid_electron