Abstract class for radial profiles
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(c_rProfile), | intent(in) | :: | sf | |||
| real(kind=wp), | intent(in) | :: | rho2 | |||
| integer, | intent(in), | optional | :: | deriv |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(c_rProfile), | intent(in) | :: | sf |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | n_coefs | ||||
| real(kind=wp), | public, | ALLOCATABLE | :: | coefs(:) |
| procedure(i_fun_eval_at_rho2), public, deferred :: eval_at_rho2 | |
| procedure(i_fun_antiderivative), public, deferred :: antiderivative | |
| procedure, public :: eval_at_rho => rProfile_eval_at_rho | |
| procedure, public :: rProfile_drho2 | |
| procedure, public :: rProfile_drho3 | |
| procedure, public :: rProfile_drho4 |
calculate the prefactor for the d-th coefficient of the n-th derivative of a polynomial
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | D | |||
| integer, | intent(in) | :: | deriv |
evaluate the n-th derivative of (rho^2) with respect to rho ~sqrt(magnetic flux).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | rho |
rho position rho ~sqrt(magnetic flux) |
||
| integer, | intent(in) | :: | deriv |
derivative in rho |
n-th derivative of rho2 with respect to rho ~sqrt(magnetic flux).
evaluate the 2nd derivative of a radial profile with respect to rho ~sqrt(magnetic flux).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(c_rProfile) | :: | sf |
self |
|||
| real(kind=wp), | intent(in) | :: | rho |
rho position rho ~sqrt(magnetic flux) |
2nd derivative of a radial profile with respect to rho ~sqrt(magnetic flux).
evaluate the 3rd derivative of a radial profile with respect to rho ~sqrt(magnetic flux).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(c_rProfile) | :: | sf |
self |
|||
| real(kind=wp), | intent(in) | :: | rho |
rho position rho ~sqrt(magnetic flux) |
3rd derivative of a radial profile with respect to rho ~sqrt(magnetic flux)
evaluate the 4th derivative of a radial profile with respect to rho ~sqrt(magnetic flux)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(c_rProfile) | :: | sf |
self |
|||
| real(kind=wp), | intent(in) | :: | rho |
rho position rho ~sqrt(magnetic flux) |
4th derivative of a radial profile with respect to rho ~sqrt(magnetic flux).
evaluate the n-th derivative of a radial profile with respect to rho ~sqrt(magnetic flux). NOTE: n has to be in [0,4] due to an explicit implementation of the product rule.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(c_rProfile) | :: | sf |
self |
|||
| real(kind=wp), | intent(in) | :: | rho |
rho position rho ~sqrt(magnetic flux) |
||
| integer, | intent(in), | optional | :: | deriv |
derivative in rho |
n-th derivative of a radial profile with respect to rho ~sqrt(magnetic flux).