Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | parallel_streaming_initialized | = | .false. | ||
integer, | public, | dimension(:), allocatable | :: | stream_sign | |||
real, | public, | dimension(:, :, :, :), allocatable | :: | stream | |||
real, | public, | dimension(:, :, :), allocatable | :: | stream_c | |||
real, | public, | dimension(:, :, :), allocatable | :: | stream_rad_var1 | |||
real, | public, | dimension(:, :, :), allocatable | :: | stream_rad_var2 | |||
real, | private, | dimension(:, :), allocatable | :: | stream_tri_a1 | |||
real, | private, | dimension(:, :), allocatable | :: | stream_tri_a2 | |||
real, | private, | dimension(:, :), allocatable | :: | stream_tri_b1 | |||
real, | private, | dimension(:, :), allocatable | :: | stream_tri_b2 | |||
real, | private, | dimension(:, :), allocatable | :: | stream_tri_c1 | |||
real, | private, | dimension(:, :), allocatable | :: | stream_tri_c2 | |||
real, | public, | dimension(:, :), allocatable | :: | gradpar_c | |||
real, | public, | dimension(2, 3) | :: | time_parallel_streaming | = | 0. | |
integer, | public, | dimension(:,:), allocatable | :: | stream_correction_sign | |||
integer, | public, | dimension(:,:), allocatable | :: | stream_full_sign | |||
real, | public, | dimension(:, :, :, :), allocatable | :: | stream_correction | |||
real, | public, | dimension(:, :, :, :), allocatable | :: | stream_store_full |
center_zed_segment_real takes as arguments the vpa index (iv) the z-depenendent real function f, and the starting iz index for the array f (llim), and overwrites f with the cell-centered version
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
real, | intent(inout), | dimension(llim:) | :: | f | ||
integer, | intent(in) | :: | llim |
center_zed_segment_complex takes as arguments the vpa index (iv) the z-depenendent conplex function f, and the starting iz index for the array f (llim), and overwrites f with the cell-centered version;
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
complex, | intent(inout), | dimension(llim:) | :: | f | ||
integer, | intent(in) | :: | llim | |||
logical, | intent(in) | :: | periodic |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
complex, | intent(inout), | dimension(:, :, -nzgrid:, :) | :: | g |
stream_sign set to +/- 1 depending on the sign of the parallel streaming term. NB: stream_sign = -1 corresponds to positive advection velocity only need to consider ia=1, iz=0 and is=1 because alpha, z and species dependences do not lead to change in sign of the streaming pre-factor get gradpar centred in zed for negative vpa (affects upwinding) get gradpar centred in zed for positive vpa (affects upwinding)
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
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) | :: | g | ||
complex, | intent(inout), | dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) | :: | gout | ||
complex, | intent(inout), | dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) | :: | rhs |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | g | ||
integer, | intent(in) | :: | ivmu | |||
complex, | intent(out), | dimension(:, :, -nzgrid:, :) | :: | dgdz |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | g | ||
integer, | intent(in) | :: | ivmu | |||
complex, | intent(out), | dimension(:, :, -nzgrid:, :) | :: | dgdz |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | g | ||
integer, | intent(in) | :: | ivmu | |||
complex, | intent(inout), | dimension(:, :, -nzgrid:, :) | :: | src |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | g | ||
integer, | intent(in) | :: | ivmu | |||
complex, | intent(inout), | dimension(:, :, -nzgrid:, :) | :: | src |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iky | |||
integer, | intent(in) | :: | ie | |||
integer, | intent(in) | :: | iv | |||
integer, | intent(in) | :: | is | |||
complex, | intent(inout), | dimension(:) | :: | g |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | g | ||
complex, | intent(out), | dimension(:, :, -nzgrid:, :) | :: | dgdz |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
complex, | intent(in), | dimension(:) | :: | f | ||
complex, | intent(in) | :: | f_left | |||
complex, | intent(in) | :: | f_right | |||
complex, | intent(out), | dimension(:) | :: | df_dz |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
complex, | intent(inout), | dimension(:, :, -nzgrid:, :) | :: | g |
center_zed_segment_real takes as arguments the vpa index (iv) the z-depenendent real function f, and the starting iz index for the array f (llim), and overwrites f with the cell-centered version
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
real, | intent(inout), | dimension(llim:) | :: | f | ||
integer, | intent(in) | :: | llim |
center_zed_segment_complex takes as arguments the vpa index (iv) the z-depenendent conplex function f, and the starting iz index for the array f (llim), and overwrites f with the cell-centered version;
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
complex, | intent(inout), | dimension(llim:) | :: | f | ||
integer, | intent(in) | :: | llim | |||
logical, | intent(in) | :: | periodic |