get_contributions_from_bpar Subroutine

private subroutine get_contributions_from_bpar(bpar, ivmu, iky, iz_from_izext, ikx_from_izext, scratch, rhs)

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

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:) :: bpar
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