get_gke_rhs Subroutine

public subroutine get_gke_rhs(ivmu, iky, ie, pdf, phi, apar, aparnew, aparold, bpar, rhs, phi_ffs)

get_gke_rhs calculates the RHS of the GK equation. as the response matrix approach requires separate solution of the 'inhomogeneous' GKE, the homogeneous GKE (to obtain the response matrix itself), and the full GKE, which RHS is obtained depends on the input values for 'pdf', 'phi', 'apar', 'aparnew' and 'aparold'

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ivmu
integer, intent(in) :: iky
integer, intent(in) :: ie
complex, intent(in), dimension(:) :: pdf
complex, intent(in), dimension(:) :: phi
complex, intent(in), dimension(:) :: apar
complex, intent(in), dimension(:) :: aparnew
complex, intent(in), dimension(:) :: aparold
complex, intent(in), dimension(:) :: bpar
complex, intent(out), dimension(:) :: rhs
complex, intent(in), optional, dimension(:) :: phi_ffs