pyoculus 0.1.1
Loading...
Searching...
No Matches
specbasefn Module Reference

Fortran module that computes the radial basis functions, adapted basefn.f90 in SPEC main code. More...

Functions/Subroutines

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.
 

Detailed Description

Fortran module that computes the radial basis functions, adapted basefn.f90 in SPEC main code.

Function/Subroutine Documentation

◆ 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]lsscoordinate input lss
[in]lradradial resolution
[out]chebythe 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]lsscoordinate input lss
[in]lradradial resolution
[out]chebythe 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]rcoordinate input r
[in]lradradial resolution
[in]mpolpoloidal resolution
[out]zernikethe 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]rcoordinate input r
[in]lradradial resolution
[in]mpolpoloidal resolution
[out]zernikethe 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]rcoordinate input r
[in]lradradial resolution
[in]mpolpoloidal resolution
[out]zernikethe value