get_fields_electromagnetic_vmulo Subroutine

private subroutine get_fields_electromagnetic_vmulo(g, phi, apar, bpar, dist)

If we are parallelising over (vpa,mu) then this subroutine is called This is the more common version used compared with parallelising over (kx,ky,z) and is the default for stella. This advances the fields when Electromagnetic effects are included, so we advance , , and .

Layouts Arrays Parameters Grids Calculations Routines from other fields modules

store result in phi, which will be further modified below to account for polarization term store result in bpar, which will be further modified below to account for polarization term store result in apar, which will be further modified below to account for apar pre-factor

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: g
complex, intent(out), dimension(:, :, -nzgrid:, :) :: phi
complex, intent(out), dimension(:, :, -nzgrid:, :) :: apar
complex, intent(out), dimension(:, :, -nzgrid:, :) :: bpar
character(len=*), intent(in) :: dist