volume_averages Module


Variables

Type Visibility Attributes Name Initial
real, public, dimension(:), allocatable :: mode_fac
complex, public, dimension(:, :), allocatable :: jacobian_ky

Fourier coefficients in y of the Jacobian; needed for full flux surface simulations


Interfaces

public interface fieldline_average

  • private subroutine fieldline_average_real(unavg, avg)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in), dimension(:, :, -nzgrid:, :) :: unavg
    real, intent(out), dimension(:, :) :: avg
  • private subroutine fieldline_average_complex(unavg, avg)

    Arguments

    Type IntentOptional Attributes Name
    complex, intent(in), dimension(:, :, -nzgrid:, :) :: unavg
    complex, intent(out), dimension(:, :) :: avg

Subroutines

public subroutine init_volume_averages()

Arguments

None

public subroutine finish_volume_averages()

Arguments

None

private subroutine fieldline_average_real(unavg, avg)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:, :, -nzgrid:, :) :: unavg
real, intent(out), dimension(:, :) :: avg

private subroutine fieldline_average_complex(unavg, avg)

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:, :, -nzgrid:, :) :: unavg
complex, intent(out), dimension(:, :) :: avg

public subroutine volume_average(unavg, avg)

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:, :, -nzgrid:, :) :: unavg
real, intent(out) :: avg

private subroutine init_flux_surface_average_ffs()

calculate the Fourier coefficients in y of the Jacobian this is needed in the computation of the flux surface average of phi

Arguments

None

public subroutine flux_surface_average_ffs(no_fsa, fsa)

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:, -nzgrid:) :: no_fsa
complex, intent(out) :: fsa