get_contributions_from_phi Subroutine

private subroutine get_contributions_from_phi(phi, ivmu, iky, iz_from_izext, ikx_from_izext, scratch, rhs)

get_contributions_from_phi takes as input the appropriately averaged electrostatic potential phi and returns in rhs the sum of the source terms involving phi that appear on the RHS of the GK equation when g is the pdf

get

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:) :: phi
integer, intent(in) :: ivmu
integer, intent(in) :: iky
integer, intent(in), dimension(:) :: iz_from_izext
integer, intent(in), dimension(:) :: ikx_from_izext
complex, intent(out), dimension(:) :: scratch
complex, intent(out), dimension(:) :: rhs