get_contributions_from_apar Subroutine

private subroutine get_contributions_from_apar(apar, aparnew, ivmu, iky, iz_from_izext, ikx_from_izext, scratch, rhs)

Uses

get_contributions_from_apar takes as input the appropriately averaged parallel component of the vector potential, apar, and returns in rhs the sum of the source terms involving apar that appear on the RHS of the GK equation when g is the pdf

Arguments

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