fieldline_labels Module


Uses

  • module~~fieldline_labels~~UsesGraph module~fieldline_labels fieldline_labels module~constants constants module~fieldline_labels->module~constants

Used by

  • module~~fieldline_labels~~UsedByGraph module~fieldline_labels fieldline_labels proc~calc_avg_normalized_b_squared_dphimax_dxi0 calc_avg_normalized_B_squared_dphimax_dxi0 proc~calc_avg_normalized_b_squared_dphimax_dxi0->module~fieldline_labels proc~calc_avg_normalized_lambda_dphimax_dxi0 calc_avg_normalized_lambda_dphimax_dxi0 proc~calc_avg_normalized_lambda_dphimax_dxi0->module~fieldline_labels proc~calc_deviation calc_deviation proc~calc_deviation->module~fieldline_labels proc~make_flock_from_labels make_flock_from_labels proc~make_flock_from_labels->module~fieldline_labels proc~make_flock_of_fieldlines make_flock_of_fieldlines proc~make_flock_of_fieldlines->module~fieldline_labels

Derived Types

type, public ::  modes_t

Components

Type Visibility Attributes Name Initial
real(kind=dp), public, dimension(:), allocatable :: cos_coeffs
real(kind=dp), public, dimension(:), allocatable :: sin_coeffs
real(kind=dp), public, dimension(:), allocatable :: mode_numbers

type, public ::  fieldline_modes_t

Components

Type Visibility Attributes Name Initial
type(modes_t), public :: radial_drift
type(modes_t), public :: delta_eta
type(modes_t), public :: delta_aspect_ratio

Functions

public function calc_iota_p(iota, M_pol, N_tor, nfp) result(iota_p)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: iota
real(kind=dp), intent(in) :: M_pol
real(kind=dp), intent(in) :: N_tor
real(kind=dp), intent(in) :: nfp

Return Value real(kind=dp)


Subroutines

public subroutine fourier_transform_over_label(flock, fieldline_modes)

Arguments

Type IntentOptional Attributes Name
type(flock_of_fieldlines_t), intent(in) :: flock
type(fieldline_modes_t), intent(out) :: fieldline_modes

public subroutine allocate_modes(modes, n_modes)

Arguments

Type IntentOptional Attributes Name
type(modes_t), intent(out) :: modes
integer, intent(in) :: n_modes

public subroutine get_labels(max_n_fieldlines, iota, M_pol, N_tor, nfp, xi_0, approx_iota)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: max_n_fieldlines
real(kind=dp), intent(in) :: iota
real(kind=dp), intent(in) :: M_pol
real(kind=dp), intent(in) :: N_tor
real(kind=dp), intent(in) :: nfp
real(kind=dp), intent(out), dimension(:), allocatable :: xi_0
real(kind=dp), intent(out) :: approx_iota