if flux tube simulation parallel streaming stays in ky,kx,z space with ky,kx,z local if full flux surface (flux annulus), will need to calculate in y space start the timer for the parallel streaming part of the time advance
allocate arrays needed for intermmediate calculations
if simulating a full flux surface, will also need version of the above arrays
that is Fourier transformed to y-space
get (iv,imu,is) indices corresponding to ivmu super-index
obtain
compute dg/dz in k-space and store in g0
if simulating a full flux surface, need to obtain the contribution from parallel streaming
in y-space, so FFT d(g/F)/dz from ky to y
get dg/dz in real space
get d
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) | :: | g | ||
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | phi | ||
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | bpar | ||
complex, | intent(inout), | dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) | :: | gout |