fields_radial_variation Module

Module for advancing and initialising the fields when Radial Variation effects are included

Advance EM fields routines Initialise and Finalise Routines TODO-GA: probably can make private -- need to do!


Uses


Variables

Type Visibility Attributes Name Initial
integer, private :: zm
logical, private :: debug = .false.

Subroutines

public subroutine get_phi_for_radial(phi, dist, skip_fsa)

Arguments

Type IntentOptional Attributes Name
complex, intent(inout), dimension(:, :, -nzgrid:, :) :: phi
character(len=*), intent(in) :: dist
logical, intent(in), optional :: skip_fsa

private subroutine get_phi_radial(phi)

Non-perturbative approach to solving quasineutrality for radially global simulations

Arguments

Type IntentOptional Attributes Name
complex, intent(inout), dimension(:, :, -nzgrid:, :) :: phi

public subroutine add_adiabatic_response_radial(phi)

Add the adiabatic eletron contribution for globally radial simulations. This actually entails solving for the whole ky = 0 slice of phi at once (not really adding!)

Arguments

Type IntentOptional Attributes Name
complex, intent(inout), dimension(:, :, -nzgrid:, :) :: phi

public subroutine add_radial_correction_int_species(g_in)

Add radial variation of the Jacobian and gyroaveraing in the velocity integration of , needed for radially global simulations

Arguments

Type IntentOptional Attributes Name
complex, intent(inout), dimension(:, :, -nzgrid:, :, vmu_lo%llim_proc:) :: g_in

public subroutine get_radial_correction(g, phi0, dist)

the following routine gets the correction in phi both from gyroaveraging and quasineutrality

Read more…

Arguments

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

public subroutine init_fields_radial_variation()

Arguments

None

private subroutine allocate_arrays_radial_variation()

Arguments

None

public subroutine finish_radial_fields()

Arguments

None