Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nzed_segment |
these arrays needed to keep track of connections between different 2pi segments |
|||
integer, | public, | dimension(:), allocatable | :: | neigen | |||
integer, | public, | dimension(:), allocatable | :: | iz_low | |||
integer, | public, | dimension(:), allocatable | :: | iz_mid | |||
integer, | public, | dimension(:), allocatable | :: | iz_up | |||
integer, | public, | dimension(:, :), allocatable | :: | nsegments | |||
integer, | public, | dimension(:, :, :), allocatable | :: | ikxmod | |||
integer, | private, | dimension(:), allocatable | :: | it_left |
arrays indicate which flux tube index to connect to on the left and on the right as a function of current flux tube index pre-compute to avoid conditionals in loops |
||
integer, | public, | dimension(:), allocatable | :: | it_right |
arrays indicate which flux tube index to connect to on the left and on the right as a function of current flux tube index pre-compute to avoid conditionals in loops |
||
complex, | public, | dimension(:), allocatable | :: | phase_shift | |||
logical, | public, | dimension(:), allocatable | :: | periodic | |||
logical, | private | :: | extended_zgrid_initialized | = | .false. | ||
integer, | public | :: | neigen_max |
phase shift due to the twist-and-shift boundary condition Usually set to zero for standard local simulation, but can have an effect for global simulations and simulations with low magnetic shear that use periodic boundary conditions everywhere
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | it | |||
integer, | intent(in) | :: | iseg | |||
integer, | intent(in) | :: | ie | |||
integer, | intent(in) | :: | iky | |||
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | g | ||
complex, | intent(out), | dimension(:) | :: | gleft | ||
complex, | intent(out), | dimension(:) | :: | gright |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iky | |||
complex, | intent(in), | dimension(:) | :: | pdf_ext | ||
complex, | intent(out) | :: | pdf_left | |||
complex, | intent(out) | :: | pdf_right |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | it | |||
integer, | intent(in) | :: | ie | |||
integer, | intent(in) | :: | iky | |||
complex, | intent(in), | dimension(:, -nzgrid:, :) | :: | g | ||
complex, | intent(out), | dimension(:) | :: | gext | ||
integer, | intent(out) | :: | ulim |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | it | |||
integer, | intent(in) | :: | ie | |||
integer, | intent(in) | :: | iky | |||
complex, | intent(in), | dimension(:) | :: | gext | ||
complex, | intent(inout), | dimension(:, -nzgrid:, :) | :: | g |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iky | |||
integer, | intent(in) | :: | ie | |||
integer, | intent(out), | dimension(:) | :: | iz_from_izext | ||
integer, | intent(out), | dimension(:) | :: | ikx_from_izext |