Defines a 1-D profile in rho^2 via a power polynomial.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | coefs(:) |
B-Spline coefficients |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | n_coefs | ||||
| real(kind=wp), | public, | ALLOCATABLE | :: | coefs(:) | |||
| integer, | public | :: | deg | = | 0 |
| public function polyProfile_new (coefs) |
| final :: polyProfile_free |
| procedure, public :: eval_at_rho => rProfile_eval_at_rho | |
| procedure, public :: eval_at_rho2 => polyProfile_eval_at_rho2 | |
| procedure, public :: antiderivative => polyProfile_antiderivative |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | coefs(:) |
B-Spline coefficients |
evaluate the n-th derivative of a power polynomial
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(t_rProfile_poly), | intent(in) | :: | sf |
self |
||
| real(kind=wp), | intent(in) | :: | rho2 |
evaluation point in the toroidal flux coordinate (rho2=phi/phi_edge= spos^2) |
||
| integer, | intent(in), | optional | :: | deriv |
get the exact polynomial antiderivative, with respect to rho2
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(t_rProfile_poly), | intent(in) | :: | sf |
self |
finalize the type rProfile
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(t_rProfile_poly), | intent(inout) | :: | sf |
self |