calc_gradient_scaling_factor_r_eff Function

public function calc_gradient_scaling_factor_r_eff(flock, psi_tor_edge, sign_sqrtg) result(dr_dAtheta)

Uses

  • proc~~calc_gradient_scaling_factor_r_eff~~UsesGraph proc~calc_gradient_scaling_factor_r_eff calc_gradient_scaling_factor_r_eff module~surface_average_mod surface_average_mod proc~calc_gradient_scaling_factor_r_eff->module~surface_average_mod module~constants constants module~surface_average_mod->module~constants

Scaling factor dr/dA_theta for choice of effective radius

Computes the factor to convert bootstrap coefficients so that they can be used with gradients of the "effective radius" r, defined by dV/dr = S, where V is the enclosed volume and S the flux surface area.

Arguments

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

total toroidal flux at the plasma edge in Weber

integer, intent(in) :: sign_sqrtg

sign of the Boozer Jacobian: +1 or -1

Return Value real(kind=dp)


Calls

proc~~calc_gradient_scaling_factor_r_eff~~CallsGraph proc~calc_gradient_scaling_factor_r_eff calc_gradient_scaling_factor_r_eff proc~calc_surface_averages calc_surface_averages proc~calc_gradient_scaling_factor_r_eff->proc~calc_surface_averages

Called by

proc~~calc_gradient_scaling_factor_r_eff~~CalledByGraph proc~calc_gradient_scaling_factor_r_eff calc_gradient_scaling_factor_r_eff program~main main program~main->proc~calc_gradient_scaling_factor_r_eff