calc_offset_coefficients Subroutine

public subroutine calc_offset_coefficients(flock, R, dr_dAtheta, Lambda_A, Lambda_B)

Uses

  • proc~~calc_offset_coefficients~~UsesGraph proc~calc_offset_coefficients calc_offset_coefficients module~deviation deviation proc~calc_offset_coefficients->module~deviation module~field_base field_base proc~calc_offset_coefficients->module~field_base module~deviation->module~field_base module~constants constants module~deviation->module~constants module~fieldline_mod fieldline_mod module~deviation->module~fieldline_mod module~field_base->module~constants module~fieldline_mod->module~constants

Compute offset coefficients Lambda_A and Lambda_B.

Coefficients are internally computed for gradients in respect to the poloidal Boozer vector-potential component i.e. boostrap current = coefficient * dp/dA_theta One needs to apply a conversion factor dr_dA_theta to use them with gradients of other surface labels r. Furthermore, they are given for a specific collisionality defintion which is set by major radius R.

Arguments

Type IntentOptional Attributes Name
type(flock_of_fieldlines_t), intent(in) :: flock
real(kind=dp), intent(in) :: R

major radius in metres

real(kind=dp), intent(in) :: dr_dAtheta

defining the surface label r

real(kind=dp), intent(out) :: Lambda_A
real(kind=dp), intent(out) :: Lambda_B

Calls

proc~~calc_offset_coefficients~~CallsGraph proc~calc_offset_coefficients calc_offset_coefficients proc~calc_deviation calc_deviation proc~calc_offset_coefficients->proc~calc_deviation proc~calc_surface_averages calc_surface_averages proc~calc_deviation->proc~calc_surface_averages proc~failed_sanity_check failed_sanity_check proc~calc_deviation->proc~failed_sanity_check proc~fourier_transform_over_label fourier_transform_over_label proc~calc_deviation->proc~fourier_transform_over_label proc~s_a S_A proc~calc_deviation->proc~s_a proc~s_b S_B proc~calc_deviation->proc~s_b proc~allocate_modes allocate_modes proc~fourier_transform_over_label->proc~allocate_modes proc~real_ft real_ft proc~fourier_transform_over_label->proc~real_ft proc~check_has_correct_endpoints check_has_correct_endpoints proc~real_ft->proc~check_has_correct_endpoints proc~check_is_equidistant check_is_equidistant proc~real_ft->proc~check_is_equidistant

Called by

proc~~calc_offset_coefficients~~CalledByGraph proc~calc_offset_coefficients calc_offset_coefficients program~main main program~main->proc~calc_offset_coefficients