| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| class(t_functional), | public, | ALLOCATABLE | :: | functional | |||
| logical, | public | :: | initialized | = | .FALSE. | ||
| integer, | public | :: | nfp | = | 0 |
initialize a SFL-Boozer object, with some parameters taken from the state (globals) Note: as of v0.2.16 (Thanks Christopher Albert) f90wrap supports ALLOCATABLEs in the return value
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | mn_max(2) |
parameters for the Boozer object |
||
| integer, | intent(in) | :: | mn_nyq(2) |
parameters for the Boozer object |
||
| character(len=8), | intent(in) | :: | sin_cos |
can be either only sine: " sin" only cosine: " cos" or full: "sin_cos" |
||
| integer, | intent(in) | :: | nrho |
parameters for the Boozer object |
||
| real, | intent(in), | DIMENSION(nrho) | :: | rho_pos |
radial positions |
|
| logical, | intent(in) | :: | relambda |
recompute lambda flag |
SFL-Boozer object
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*) | :: | parameterfile |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=255) | :: | statefile |
Handle the selection of the base, based on the selection string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| class(t_base), | intent(out), | POINTER | :: | base |
pointer to the base object (X1, X2, LA) |
|
| real, | intent(out), | POINTER | :: | dofs(:,:) |
pointer to the solution dofs (U(0)%X1, U(0)%X2, U(0)%LA) |
Handle the selection of the base, based on the selection string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| class(t_base), | intent(out), | POINTER | :: | base |
pointer to the base object (X1, X2, LA) |
Handle the selection of the functional and derivatives, based on the selection strings
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| character(len=2), | intent(in) | :: | sel_deriv_s |
selection string: which derivative to evaluate for the spline |
||
| character(len=2), | intent(in) | :: | sel_deriv_f |
selection string: which derivative to evaluate for the fourier series |
||
| class(t_base), | intent(out), | POINTER | :: | base |
pointer to the base object (X1, X2, LA) |
|
| real, | intent(out), | POINTER | :: | solution_dofs(:,:) |
pointer to the solution dofs (U(0)%X1, U(0)%X2, U(0)%LA) |
|
| integer, | intent(out) | :: | seli_deriv_s |
integer values for the derivative selection |
||
| integer, | intent(out) | :: | seli_deriv_f |
integer values for the derivative selection |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| integer, | intent(out) | :: | n_s |
number of integration points |
||
| integer, | intent(out) | :: | n_t |
number of integration points |
||
| integer, | intent(out) | :: | n_z |
number of integration points |
Retrieve the integration points and weights (gauss points for radial integration)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| real, | intent(out), | DIMENSION(:) | :: | s_GP |
output arrays for the gauss points and weights |
|
| real, | intent(out), | DIMENSION(:) | :: | s_w |
output arrays for the gauss points and weights |
|
| real, | intent(out) | :: | t_w |
output array for the fourier interpolation weights (equidistant points) |
||
| real, | intent(out) | :: | z_w |
output array for the fourier interpolation weights (equidistant points) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| integer, | intent(out) | :: | modes |
total number of modes in basis (depends if only sin/cos or sin & cos are used) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| integer, | intent(out) | :: | m_max |
maximum number of poloidal, toroidal modes |
||
| integer, | intent(out) | :: | n_max |
maximum number of poloidal, toroidal modes |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| integer, | intent(out) | :: | mn_IP |
=mn_nyq(1)*mn_nyq(2) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| integer, | intent(out) | :: | s_nbase |
total number of degree of freedom / global basis functions |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| real, | intent(out), | DIMENSION(:) | :: | s_IP |
position of interpolation points for initialization, size(nBase) |
Evaluate the basis for a list of (theta, zeta) positions on all flux surfaces given by s
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n_s |
number of evaluation points |
||
| integer, | intent(in) | :: | n_tz |
number of evaluation points |
||
| real, | intent(in) | :: | s(n_s) |
evaluation points |
||
| real, | intent(in) | :: | thetazeta(2,n_tz) |
evaluation points |
||
| character(len=2), | intent(in) | :: | var |
selection string: which variable to evaluate |
||
| character(len=2), | intent(in) | :: | sel_deriv_s |
selection string: which derivative to evaluate for the spline |
||
| character(len=2), | intent(in) | :: | sel_deriv_f |
selection string: which derivative to evaluate for the fourier series |
||
| real, | intent(out) | :: | result(n_s,n_tz) |
output array |
Evaluate the basis and all derivatives for a list of (theta, zeta) positions on all flux surfaces given by s
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n_s |
number of evaluation points |
||
| integer, | intent(in) | :: | n_tz |
number of evaluation points |
||
| real, | intent(in) | :: | s(n_s) |
evaluation points |
||
| real, | intent(in) | :: | thetazeta(2,n_tz) |
evaluation points |
||
| character(len=2), | intent(in) | :: | Qsel |
selection string: which variable to evaluate |
||
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | Q |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_ds |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_dthet |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_dzeta |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_dss |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_dst |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_dsz |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_dtt |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_dtz |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_tz) | :: | dQ_dzz |
reference space position and derivatives |
Evaluate the basis and all derivatives for a list of (rho/s, theta, zeta) positions
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n_stz |
number of evaluation points |
||
| real, | intent(in) | :: | s(n_stz) |
evaluation points |
||
| real, | intent(in) | :: | thetazeta(2,n_stz) |
evaluation points |
||
| character(len=2), | intent(in) | :: | Qsel |
selection string: which variable to evaluate |
||
| real, | intent(out), | DIMENSION(n_stz) | :: | Q |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_ds |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_dthet |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_dzeta |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_dss |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_dst |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_dsz |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_dtt |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_dtz |
reference space position and derivatives |
|
| real, | intent(out), | DIMENSION(n_stz) | :: | dQ_dzz |
reference space position and derivatives |
Evaluate the basis with a tensorproduct for the given 1D (s, theta, zeta) values
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | s(:) |
evaluation points to construct a mesh |
||
| real, | intent(in) | :: | theta(:) |
evaluation points to construct a mesh |
||
| real, | intent(in) | :: | zeta(:) |
evaluation points to construct a mesh |
||
| character(len=2) | :: | var |
selection string: which variable to evaluate |
|||
| character(len=2) | :: | sel_deriv_s |
selection string: which derivative to evaluate for the spline |
|||
| character(len=2) | :: | sel_deriv_f |
selection string: which derivative to evaluate for the fourier series |
|||
| real, | intent(out) | :: | result(:,:,:) |
output array |
Evaluate the basis with a tensorproduct for the given 1D (s, theta, zeta) values
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n_s |
number of evaluation points |
||
| integer, | intent(in) | :: | n_t |
number of evaluation points |
||
| integer, | intent(in) | :: | n_z |
number of evaluation points |
||
| real, | intent(in) | :: | s(n_s) |
evaluation points to construct a mesh |
||
| real, | intent(in) | :: | theta(n_t) |
evaluation points to construct a mesh |
||
| real, | intent(in) | :: | zeta(n_z) |
evaluation points to construct a mesh |
||
| character(len=2) | :: | Qsel |
selection string: which variable to evaluate |
|||
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | Q |
reference space position & derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_ds |
reference space position & derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_dthet |
reference space position & derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_dzeta |
reference space position & derivatives |
|
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_dss | ||
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_dst | ||
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_dsz | ||
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_dtt | ||
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_dtz | ||
| real, | intent(out), | DIMENSION(n_s,n_t,n_z) | :: | dQ_dzz |
Evaluate the mapping from reference to physical space (hmap)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n) | :: | X1 |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | X2 |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | zeta |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_ds |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_ds |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dthet |
reference space derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dthet |
reference space derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dzeta |
reference space derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dzeta |
reference space derivatives |
|
| real, | intent(out), | DIMENSION(3,n) | :: | coord |
real space position and basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | e_s |
real space position and basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | e_thet |
real space position and basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | e_zeta |
real space position and basis vectors |
Evaluate the mapping from reference to physical space (hmap)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n) | :: | X1 |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | X2 |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | zeta |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_ds |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_ds |
reference space position & derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dthet |
reference space derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dthet |
reference space derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dzeta |
reference space derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dzeta |
reference space derivatives |
|
| real, | intent(out), | DIMENSION(3,n) | :: | coord |
real space position and basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | e_s |
real space position and basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | e_thet |
real space position and basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | e_zeta |
real space position and basis vectors |
Evaluate the mapping from reference to physical space (hmap) without logical coordinates
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n) | :: | X1 |
reference space position |
|
| real, | intent(in), | DIMENSION(n) | :: | X2 |
reference space position |
|
| real, | intent(in), | DIMENSION(n) | :: | zeta |
reference space position |
|
| real, | intent(out), | DIMENSION(3,n) | :: | pos |
real space position and reference tangent basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | dx_dq1 |
real space position and reference tangent basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | dx_dq2 |
real space position and reference tangent basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | dx_dq3 |
real space position and reference tangent basis vectors |
Evaluate the mapping from reference to physical space (hmap) without logical coordinates
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n) | :: | X1 |
reference space position |
|
| real, | intent(in), | DIMENSION(n) | :: | X2 |
reference space position |
|
| real, | intent(in), | DIMENSION(n) | :: | zeta |
reference space position |
|
| real, | intent(out), | DIMENSION(3,n) | :: | pos |
real space position and reference tangent basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | dx_dq1 |
real space position and reference tangent basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | dx_dq2 |
real space position and reference tangent basis vectors |
|
| real, | intent(out), | DIMENSION(3,n) | :: | dx_dq3 |
real space position and reference tangent basis vectors |
evaluate components of the metric tensor and their derivatives
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n) | :: | X1 |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | X2 |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | zeta |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_ds |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_ds |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dt |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dt |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dz |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dz |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dss |
and their derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dss |
and their derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dst |
and their derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dst |
and their derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dsz |
and their derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dsz |
and their derivatives |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dtt | ||
| real, | intent(in), | DIMENSION(n) | :: | dX2_dtt | ||
| real, | intent(in), | DIMENSION(n) | :: | dX1_dtz | ||
| real, | intent(in), | DIMENSION(n) | :: | dX2_dtz | ||
| real, | intent(in), | DIMENSION(n) | :: | dX1_dzz | ||
| real, | intent(in), | DIMENSION(n) | :: | dX2_dzz | ||
| real, | intent(out), | DIMENSION(n) | :: | dg_ss_ds |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_st_ds |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_sz_ds |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_tt_ds |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_tz_ds |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_zz_ds |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_ss_dt |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_st_dt |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_sz_dt |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_tt_dt |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_tz_dt |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_zz_dt |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_ss_dz |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_st_dz |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_sz_dz |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_tt_dz |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_tz_dz |
derivatives of the m. coef. |
|
| real, | intent(out), | DIMENSION(n) | :: | dg_zz_dz |
derivatives of the m. coef. |
evaluate the jacobian determinant and its derivatives
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n) | :: | X1 |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | X2 |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | zeta |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_ds |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_ds |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dt |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dt |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dz |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dz |
reference coordinates |
|
| real, | intent(out), | DIMENSION(n) | :: | dJh_ds |
jacobian det. and derivatives |
|
| real, | intent(out), | DIMENSION(n) | :: | dJh_dt |
jacobian det. and derivatives |
|
| real, | intent(out), | DIMENSION(n) | :: | dJh_dz |
jacobian det. and derivatives |
evaluate the jacobian determinant and its derivatives
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n) | :: | X1 |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | X2 |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | zeta |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_ds |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_ds |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dt |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dt |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX1_dz |
reference coordinates |
|
| real, | intent(in), | DIMENSION(n) | :: | dX2_dz |
reference coordinates |
|
| real, | intent(out), | DIMENSION(n) | :: | dJh_ds |
jacobian det. and derivatives |
|
| real, | intent(out), | DIMENSION(n) | :: | dJh_dt |
jacobian det. and derivatives |
|
| real, | intent(out), | DIMENSION(n) | :: | dJh_dz |
jacobian det. and derivatives |
evaluate iota/pressure profile and its derivatives with respect to rho2=rho^2
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n_s |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n_s) | :: | rho2 |
radial evaluation points (in rho^2) |
|
| integer, | intent(in) | :: | deriv |
order of the derivative in rho^2 |
||
| character(len=*), | intent(in) | :: | var |
selection string: which profile to evaluate |
||
| real, | intent(out), | DIMENSION(n_s) | :: | result |
values of the profile |
evaluate 1D-radial profiles and their derivatives with respect to rho
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n_s |
number of evaluation points |
||
| real, | intent(in), | DIMENSION(n_s) | :: | s |
radial evaluation points |
|
| integer, | intent(in) | :: | deriv |
order of the derivative in rho |
||
| character(len=*), | intent(in) | :: | var |
selection string: which profile to evaluate |
||
| real, | intent(out), | DIMENSION(n_s) | :: | result |
values of the profile |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(t_sfl_boozer), | intent(inout) | :: | sfl_boozer |
Evaluate LA or NU and all derivatives for a list of (theta, zeta) positions on all flux surfaces given by s
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(t_sfl_boozer), | intent(in), | TARGET | :: | sfl_boozer | ||
| integer, | intent(in) | :: | n_s | |||
| integer, | intent(in) | :: | n_tz | |||
| integer, | intent(in) | :: | irho(1:n_s) | |||
| real, | intent(in) | :: | thetazeta(2,n_tz) | |||
| character(len=2), | intent(in) | :: | Qsel | |||
| real, | intent(out), | DIMENSION(1:n_s,n_tz) | :: | Q | ||
| real, | intent(out), | DIMENSION(1:n_s,n_tz) | :: | dQ_dthet | ||
| real, | intent(out), | DIMENSION(1:n_s,n_tz) | :: | dQ_dzeta | ||
| real, | intent(out), | DIMENSION(1:n_s,n_tz) | :: | dQ_dtt | ||
| real, | intent(out), | DIMENSION(1:n_s,n_tz) | :: | dQ_dtz | ||
| real, | intent(out), | DIMENSION(1:n_s,n_tz) | :: | dQ_dzz |