get_non_omnigenous_remainder Function

public function get_non_omnigenous_remainder(flock, field, n_eta, dr_dAtheta) result(remainder)

Uses

  • proc~~get_non_omnigenous_remainder~~UsesGraph proc~get_non_omnigenous_remainder get_non_omnigenous_remainder module~shaing_callen_integration shaing_callen_integration proc~get_non_omnigenous_remainder->module~shaing_callen_integration module~constants constants module~shaing_callen_integration->module~constants module~fieldline_mod fieldline_mod module~shaing_callen_integration->module~fieldline_mod module~integrate integrate module~shaing_callen_integration->module~integrate module~utils utils module~shaing_callen_integration->module~utils module~fieldline_mod->module~constants module~integrate->module~constants ieee_arithmetic ieee_arithmetic module~integrate->ieee_arithmetic module~utils->module~constants

Preliminary proxy to estimate the deviation of Lambda_LC from the true Shaing-Callen coefficient due to non-omnigeneity.

It does not account for bootstrap resonances.

Arguments

Type IntentOptional Attributes Name
type(flock_of_fieldlines_t), intent(in) :: flock
class(field_t), intent(in) :: field
integer, intent(in) :: n_eta

number of evaluation points to compute trapped fraction integral

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

converting lambda_LC to be used with gradients of label r

Return Value real(kind=dp)


Calls

proc~~get_non_omnigenous_remainder~~CallsGraph proc~get_non_omnigenous_remainder get_non_omnigenous_remainder get_covariant_components get_covariant_components proc~get_non_omnigenous_remainder->get_covariant_components proc~calc_avg_b_squared_over_avg_lambda calc_avg_B_squared_over_avg_lambda proc~get_non_omnigenous_remainder->proc~calc_avg_b_squared_over_avg_lambda proc~calc_avg_normalized_b_squared_dphimax_dxi0 calc_avg_normalized_B_squared_dphimax_dxi0 proc~get_non_omnigenous_remainder->proc~calc_avg_normalized_b_squared_dphimax_dxi0 proc~calc_avg_normalized_lambda_dphimax_dxi0 calc_avg_normalized_lambda_dphimax_dxi0 proc~get_non_omnigenous_remainder->proc~calc_avg_normalized_lambda_dphimax_dxi0 proc~get_eta_integration_grid get_eta_integration_grid proc~get_non_omnigenous_remainder->proc~get_eta_integration_grid proc~integrate_over_eta_grid integrate_over_eta_grid proc~get_non_omnigenous_remainder->proc~integrate_over_eta_grid proc~integrate_1d_substituted integrate_1d_substituted proc~calc_avg_b_squared_over_avg_lambda->proc~integrate_1d_substituted proc~calc_periodic_dydx calc_periodic_dydx proc~calc_avg_normalized_b_squared_dphimax_dxi0->proc~calc_periodic_dydx proc~calc_lambda_squared calc_lambda_squared proc~calc_avg_normalized_lambda_dphimax_dxi0->proc~calc_lambda_squared proc~calc_avg_normalized_lambda_dphimax_dxi0->proc~calc_periodic_dydx proc~calc_avg_normalized_lambda_dphimax_dxi0->proc~integrate_1d_substituted proc~linspace linspace proc~get_eta_integration_grid->proc~linspace proc~check_has_correct_endpoints check_has_correct_endpoints proc~calc_periodic_dydx->proc~check_has_correct_endpoints proc~check_is_equidistant check_is_equidistant proc~calc_periodic_dydx->proc~check_is_equidistant proc~integrate_1d integrate_1d proc~integrate_1d_substituted->proc~integrate_1d qag qag proc~integrate_1d->qag

Called by

proc~~get_non_omnigenous_remainder~~CalledByGraph proc~get_non_omnigenous_remainder get_non_omnigenous_remainder program~main main program~main->proc~get_non_omnigenous_remainder