shaing_callen_mod Module


Uses

  • module~~shaing_callen_mod~~UsesGraph module~shaing_callen_mod shaing_callen_mod module~constants constants module~shaing_callen_mod->module~constants module~field_base field_base module~shaing_callen_mod->module~field_base module~fieldline_mod fieldline_mod module~shaing_callen_mod->module~fieldline_mod module~shaing_callen_integration shaing_callen_integration module~shaing_callen_mod->module~shaing_callen_integration module~field_base->module~constants module~fieldline_mod->module~constants module~shaing_callen_integration->module~constants 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~integrate->module~constants ieee_arithmetic ieee_arithmetic module~integrate->ieee_arithmetic module~utils->module~constants

Used by

  • module~~shaing_callen_mod~~UsedByGraph module~shaing_callen_mod shaing_callen_mod program~main main program~main->module~shaing_callen_mod

Functions

public function calc_lambda_LC(flock, field, n_eta, dr_dAtheta) result(lambda_LC)

Shaing-Callen lambda_LC: computed from the trapped particle fraction

Read more…

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)

public function calc_trapped_fraction(flock, field, n_eta) result(trapped_fraction)

Arguments

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

Return Value real(kind=dp)

public function calc_avg_B_squared_over_avg_lambda(field, flock, eta_grid) result(avg_B_squared_over_avg_lambda)

Arguments

Type IntentOptional Attributes Name
class(field_t), intent(in) :: field
type(flock_of_fieldlines_t), intent(in) :: flock
real(kind=dp), intent(in), dimension(:) :: eta_grid

Return Value real(kind=dp), dimension(:), allocatable

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

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

Read more…

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)

public function calc_avg_normalized_B_squared_dphimax_dxi0(flock) result(res)

Arguments

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

Return Value real(kind=dp)

public function calc_avg_normalized_lambda_dphimax_dxi0(field, flock, eta_grid) result(res)

Arguments

Type IntentOptional Attributes Name
class(field_t), intent(in) :: field
type(flock_of_fieldlines_t), intent(in) :: flock
real(kind=dp), intent(in), dimension(:) :: eta_grid

Return Value real(kind=dp), dimension(size(eta_grid))

public function calc_periodic_dydx(x, y) result(dydx)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in), dimension(:) :: x
real(kind=dp), intent(in), dimension(:) :: y

Return Value real(kind=dp), dimension(:), allocatable