| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public, | parameter | :: | ignore_magnetic_drift | = | .true. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=dp), | public | :: | M_pol | ||||
| real(kind=dp), | public | :: | N_tor | ||||
| real(kind=dp), | public | :: | nfp | ||||
| real(kind=dp), | public | :: | iota | ||||
| real(kind=dp), | public, | dimension(:), allocatable | :: | t | |||
| real(kind=dp), | public, | dimension(:), allocatable | :: | eta | |||
| real(kind=dp), | public, | dimension(:), allocatable | :: | avg_I_j | |||
| real(kind=dp), | public, | dimension(:), allocatable | :: | avg_bounce_time_weighted | |||
| real(kind=dp), | public, | dimension(:), allocatable | :: | avg_magnetic_drift_weighted | |||
| real(kind=dp), | public, | dimension(:, :), allocatable | :: | radial_drift_sin | |||
| integer, | public | :: | n_modes |
Longest l_c for which the flux modes are resolved by the eta grid (m=1). For large l_c*Omega_hat the solution is confined to a layer at eta_c of width delta^2 = eta_c I_B/(|kappa| tau_b) with kappa = l_c nfp Omega_hat/(2 (M iota - N)); the layer has to contain at least min_points_in_layer grid points (eta - eta_c = k^2 x_1). The weak log dependence of tau_b on delta is neglected.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(bounce_integrals_t), | intent(in) | :: | bounce_integrals | |||
| real(kind=dp), | intent(in) | :: | Omega_hat |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(fieldline_t), | intent(in), | dimension(:) | :: | fieldlines |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(fieldline_for_precession_t), | intent(in), | dimension(:) | :: | fieldlines |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in), | dimension(:) | :: | sin_coeffs | ||
| real(kind=dp), | intent(in), | dimension(:) | :: | cos_coeffs |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_3D_t), | intent(in) | :: | field | |||
| type(flock_of_fieldlines_t), | intent(in) | :: | flock | |||
| real(kind=dp), | intent(in) | :: | s_tor | |||
| type(bounce_integrals_t), | intent(out) | :: | bounce_integrals | |||
| integer, | intent(in), | optional | :: | n_eta | ||
| type(fieldline_for_precession_t), | intent(out), | optional, | dimension(:), allocatable | :: | fieldlines_out |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_3D_t), | intent(in) | :: | field | |||
| type(flock_of_fieldlines_t), | intent(in) | :: | flock | |||
| type(fieldline_for_precession_t), | intent(out), | dimension(:), allocatable | :: | fieldlines | ||
| integer, | intent(in), | optional | :: | n_eta |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(fieldline_for_precession_t), | intent(in), | dimension(:) | :: | fieldlines | ||
| type(bounce_integrals_t), | intent(out) | :: | bounce_integrals |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(bounce_integrals_t), | intent(in) | :: | bounce_integrals | |||
| real(kind=dp), | intent(in) | :: | l_c | |||
| real(kind=dp), | intent(in) | :: | Omega_hat | |||
| real(kind=dp), | intent(out), | dimension(:), allocatable | :: | flux_modes |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_t), | intent(in) | :: | field | |||
| class(fieldline_for_precession_t), | intent(inout), | dimension(:) | :: | fieldlines |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_t), | intent(in) | :: | field | |||
| class(fieldline_t), | intent(in) | :: | fieldline | |||
| real(kind=dp), | intent(out) | :: | phi_bottom | |||
| real(kind=dp), | intent(out) | :: | B_bottom |