get_contributions_from_fields takes as input the appropriately averaged electrostatic potential phi and magnetic vector potential components apar and returns in rhs the sum of the source terms involving phi and apar that appear on the RHS of the GK equation when g is the pdf
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:) | :: | phi | ||
complex, | intent(in), | dimension(:) | :: | apar | ||
complex, | intent(in), | dimension(:) | :: | aparnew | ||
complex, | intent(in), | dimension(:) | :: | bpar | ||
integer, | intent(in) | :: | ivmu | |||
integer, | intent(in) | :: | iky | |||
integer, | intent(in) | :: | ie | |||
complex, | intent(out), | dimension(:) | :: | scratch | ||
complex, | intent(out), | dimension(:) | :: | rhs |