Fortran module that computes the radial basis functions, adapted basefn.f90 in SPEC main code.
More...
|
subroutine | get_cheby (lss, lrad, cheby) |
| Get the Chebyshev polynomials with zeroth, first derivatives.
|
|
subroutine | get_cheby_d2 (lss, lrad, cheby) |
| Get the Chebyshev polynomials with zeroth, first and second derivatives.
|
|
subroutine | get_zernike (r, lrad, mpol, zernike) |
| Get the Zernike polynomials with zeroth, first derivatives.
|
|
subroutine | get_zernike_d2 (r, lrad, mpol, zernike) |
| Get the Zernike polynomials with zeroth, first, second derivatives.
|
|
subroutine | get_zernike_rm (r, lrad, mpol, zernike) |
| Get the Zernike polynomials Z(n,m,r)/r^m.
|
|
Fortran module that computes the radial basis functions, adapted basefn.f90 in SPEC main code.
◆ get_cheby()
subroutine specbasefn::get_cheby |
( |
real(kind=real_kind), intent(in) | lss, |
|
|
integer, intent(in) | lrad, |
|
|
real(kind=real_kind), dimension(0:lrad,0:1), intent(out) | cheby ) |
Get the Chebyshev polynomials with zeroth, first derivatives.
- Parameters
-
[in] | lss | coordinate input lss |
[in] | lrad | radial resolution |
[out] | cheby | the value, first derivative of Chebyshev polynomial |
◆ get_cheby_d2()
subroutine specbasefn::get_cheby_d2 |
( |
real(kind=real_kind), intent(in) | lss, |
|
|
integer, intent(in) | lrad, |
|
|
real(kind=real_kind), dimension(0:lrad,0:2), intent(out) | cheby ) |
Get the Chebyshev polynomials with zeroth, first and second derivatives.
- Parameters
-
[in] | lss | coordinate input lss |
[in] | lrad | radial resolution |
[out] | cheby | the value, first and second derivative of Chebyshev polynomial |
◆ get_zernike()
subroutine specbasefn::get_zernike |
( |
real(kind=real_kind), intent(in) | r, |
|
|
integer, intent(in) | lrad, |
|
|
integer, intent(in) | mpol, |
|
|
real(kind=real_kind), dimension(0:lrad,0:mpol,0:1), intent(out) | zernike ) |
Get the Zernike polynomials with zeroth, first derivatives.
- Parameters
-
[in] | r | coordinate input r |
[in] | lrad | radial resolution |
[in] | mpol | poloidal resolution |
[out] | zernike | the value, first derivative of Zernike polynomial |
◆ get_zernike_d2()
subroutine specbasefn::get_zernike_d2 |
( |
real(kind=real_kind), intent(in) | r, |
|
|
integer, intent(in) | lrad, |
|
|
integer, intent(in) | mpol, |
|
|
real(kind=real_kind), dimension(0:lrad,0:mpol,0:2), intent(out) | zernike ) |
Get the Zernike polynomials with zeroth, first, second derivatives.
- Parameters
-
[in] | r | coordinate input r |
[in] | lrad | radial resolution |
[in] | mpol | poloidal resolution |
[out] | zernike | the value, first/second derivative of Zernike polynomial |
◆ get_zernike_rm()
subroutine specbasefn::get_zernike_rm |
( |
real(kind=real_kind), intent(in) | r, |
|
|
integer, intent(in) | lrad, |
|
|
integer, intent(in) | mpol, |
|
|
real(kind=real_kind), dimension(0:lrad,0:mpol), intent(out) | zernike ) |
Get the Zernike polynomials Z(n,m,r)/r^m.
- Parameters
-
[in] | r | coordinate input r |
[in] | lrad | radial resolution |
[in] | mpol | poloidal resolution |
[out] | zernike | the value |