XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
bicub_setup Module Reference

Public Member Functions

subroutine fort_psi_pspline_init (eq_mr, eq_mz, eq_rgrid, eq_zgrid, eq_psi_rz)
 
real(kind=8) function fort_psi_pspline (r, z)
 
subroutine generate_bicub_coeffs (xv, yv, xc, yc, fval, acoef)
 Generates coefficients for bicubic interpolation xv: x coordinates of the 4x4 provided grid points yv: y coordinates of the 4x4 provided grid points xc: x coordinate of the new grid point yc: y coordinate of the new grid point fval: value of the field at the 4x4 points acoef: the 4x4 coefficients for output. More...
 

Public Attributes

type(ezspline2_r8) psi_spline
 
logical psi_spline_defined =.false.
 

Member Function/Subroutine Documentation

real (kind=8) function bicub_setup::fort_psi_pspline ( real (kind=8)  r,
real (kind=8)  z 
)

Here is the call graph for this function:

subroutine bicub_setup::fort_psi_pspline_init ( integer(c_int)  eq_mr,
integer(c_int)  eq_mz,
real(c_double), dimension(eq_mr), intent(in)  eq_rgrid,
real(c_double), dimension(eq_mz), intent(in)  eq_zgrid,
real(c_double), dimension(eq_mr,eq_mz), intent(in)  eq_psi_rz 
)
subroutine bicub_setup::generate_bicub_coeffs ( real (8), dimension(0:3), intent(in)  xv,
real (8), dimension(0:3), intent(in)  yv,
real (8), intent(in)  xc,
real (8), intent(in)  yc,
real (8), dimension(0:3,0:3), intent(in)  fval,
real (8), dimension(0:3,0:3), intent(out)  acoef 
)

Generates coefficients for bicubic interpolation xv: x coordinates of the 4x4 provided grid points yv: y coordinates of the 4x4 provided grid points xc: x coordinate of the new grid point yc: y coordinate of the new grid point fval: value of the field at the 4x4 points acoef: the 4x4 coefficients for output.

Member Data Documentation

type(ezspline2_r8) bicub_setup::psi_spline
logical bicub_setup::psi_spline_defined =.false.

The documentation for this module was generated from the following file: