# Alphabetical list for input.tglf¶

Definition

• DEFAULT = .false.

## ALPHA_E¶

Definition

Multiplies ExB velocity shear for spectral shift model.

• DEFAULT = 1.0

## ALPHA_MACH¶

Definition

Multiplies parallel velocity for all species.

• DEFAULT = 0.0

## ALPHA_P¶

Definition

Multiplies parallel velocity shear for all species.

• DEFAULT = 1.0

## ALPHA_QUENCH¶

Definition

Choices

• ALPHA_QUENCH = 1.0: use quench rule

• ALPHA_QUENCH = 0.0: use new spectral shift model

• DEFAULT = 0.0

## ALPHA_SA¶

Definition

• DEFAULT = 0.0

## AS_1¶

Definition

Species array of densities $${\frac {n_{s}}{n_{e}}}$$.

• DEFAULT = 1.0 , 1.0

## BETAE¶

Definition

$$\beta _{e}\,\!$$ defined with respect to $$B_{\rm {unit}}\,\!$$.

• DEFAULT = 0.0

## B_MODEL_SA¶

Definition

0/1 to exclude/include the B(theta) factor in k_per.

• DEFAULT = 1

## DEBYE¶

Definition

• DEFAULT = 0.0

## DEBYE_FACTOR¶

Definition

Multiplies the debye length.

• DEFAULT = 1.0

## DELTA_LOC¶

Definition

• DEFAULT = 0.0

## DRMAJDX_LOC¶

Definition

$${\frac {\partial R_{maj}}{\partial x}}$$.

• DEFAULT = 0.0

## DRMINDX_LOC¶

Definition

Allows for x different than r $${\frac {\partial r}{\partial x}}$$.

• DEFAULT = 1.0

## DZMAJDX_LOC¶

Definition

$${\frac {\partial Z_{maj}}{\partial x}}$$.

• DEFAULT = 0.0

## ETG_FACTOR¶

Definition

Exponent for ETG saturation rule.

• DEFAULT = 1.25

## FILTER¶

Definition

Sets threshold for frequency/drift frequency to filter out non-driftwave instabilities.

• DEFAULT = 2.0

## FIND_WIDTH¶

Definition

Choices

• FIND_WIDTH = .true. : find the width that maximizes the growth rate

• FIND_WIDTH = .false. : use width

• DEFAULT = .true.

## FT_MODEL_SA¶

Definition

1 uses trapped fraction at the outboard midplane.

• DEFAULT = 1

## GCHAT¶

Definition

Multiplies the curvature drift irreducible terms.

• DEFAULT = 1.0

## GEOMETRY_FLAG¶

Definition

Geometry type.

Choices

• GEOMETRY_FLAG = 0: $$s-\alpha$$

• GEOMETRY_FLAG = 1: Miller

• GEOMETRY_FLAG = 2: Fourier

• GEOMETRY_FLAG = 3: ELITE

• DEFAULT = 1

## GHAT¶

Definition

Multiplies the curvature drift closure terms.

• DEFAULT = 1.0

Definition

• DEFAULT = 0.0

## IBRANCH¶

Definition

Choices

• IBRANCH = 0: find two most unstable modes one for each sign of frequency, electron drift direction (1), ion drift direction (2)

• IBRANCH = -1: sort the unstable modes by growthrate in rank order

• DEFAULT = -1

## IFLUX¶

Definition

Compute quasilinear weights and mode amplitudes.

• DEFAULT = .true.

## KAPPA_LOC¶

Definition

Elongation of flux surface, $$\kappa \,\!$$.

• DEFAULT = 1.0

## KX0_LOC¶

Definition

kx0/ky ballooning mode offset.

• DEFAULT = 0.0

## KY¶

Definition

$$k_{\theta }\rho _{s,{\rm {unit}}}\,\!$$ for single-mode call to TGLF.

• DEFAULT = 0.3

## KYGRID_MODEL¶

Definition

Choices

• KYGRID_MODEL = 0: user defined with NKY modes up to KY equal spaced

• KYGRID_MODEL = 1: standard ky spectrum for transport model

• DEFAULT = 1

## LINSKER_FACTOR¶

Definition

Multiplies the Linsker terms.

• DEFAULT = 0.0

## MASS_1¶

Definition

Species masses normalized to $$m_{D}$$.

• DEFAULT = me/md , 1.0

## NBASIS_MAX¶

Definition

Maximum number of parallel basis functions.

• DEFAULT = 4

## NBASIS_MIN¶

Definition

Minimum number of parallel basis functions.

• DEFAULT = 2

## NEW_EIKONAL¶

Definition

Choices

• NEW_EIKONAL = .true. : compute the eikonal

• NEW_EIKONAL = .false. : use the eikonal computed on the last call to TGLF made with tglf_new_eikonal_in = .true.

• DEFAULT = .true.

## NKY¶

Definition

Number of poloidal modes in the high-k spectrum of TGLF_TM.

• DEFAULT = 12

## NMODES¶

Definition

Number of modes to store for tglf_ibranch_in = -1.

• DEFAULT = 2

## NS¶

Definition

Number of species including both electrons and ions.

• DEFAULT = 2

## NWIDTH¶

Definition

Maximum number of widths used in search for maximum growth rate.

• DEFAULT = 21

## NXGRID¶

Definition

Number of nodes in Gauss-Hermite quadrature.

• DEFAULT = 16

## PARK¶

Definition

• DEFAULT = 1.0

## P_PRIME_LOC¶

Definition

$${\frac {qa^{2}}{rB_{unit}^{2}}}{\frac {\partial p}{\partial r}}$$.

• DEFAULT = 0.0

## Q_LOC¶

Definition

Absolute value of the safety factor, $$ABS(q)\,\!$$.

• DEFAULT = 2.0

## Q_PRIME_LOC¶

Definition

$${\frac {q^{2}a^{2}}{r^{2}}}s$$.

• DEFAULT = 16.0

## Q_SA¶

Definition

Absolute value of safety factor.

• DEFAULT = 2.0

## RLNS_1¶

Definition

Species array of normalized density gradients $$-{\frac {a}{n_{s}}}{\frac {dn_{s}}{dr}}$$.

• DEFAULT = 1.0 , 1.0

## RLTS_1¶

Definition

Species array of normalized temperature gradients $$-{\frac {a}{T_{s}}}{\frac {dT_{s}}{dr}}$$.

• DEFAULT = 3.0 , 3.0

## RMAJ_LOC¶

Definition

Flux surface centroid major radius $$R_{maj}/a\,\!$$.

• DEFAULT = 3.0

## RMAJ_SA¶

Definition

Normalized major radius of flux surface $$R_{maj}/a\,\!$$.

• DEFAULT = 3.0

## RMIN_LOC¶

Definition

Flux surface centroid minor radius $$r/a\,\!$$.

• DEFAULT = 0.5

## RMIN_SA¶

Definition

Normalized minor radius of flux surface $$r/a\,\!$$.

• DEFAULT = 0.5

## SAT_RULE¶

Definition

Choices

• SAT_RULE = 0 default saturation rule

• DEFAULT = 0

## SHAT_SA¶

Definition

Magnetic shear $${\frac {r}{q}}{\frac {\partial q}{\partial r}}$$.

• DEFAULT = 1.0

## SIGN_BT¶

Definition

Sign of $$B_{T}$$ with repsect to CCW toroidal direction from top.

• DEFAULT = 1

## SIGN_IT¶

Definition

Sign of $$I_{T}$$ with repsect to CCW toroidal direction from top.

• DEFAULT = 1

## S_DELTA_LOC¶

Definition

Shear in triangularity, $$r{\frac {\partial \delta }{\partial r}}$$.

• DEFAULT = 0.0

## S_KAPPA_LOC¶

Definition

Shear in elongation, $${\frac {r}{\kappa }}{\frac {\partial \kappa }{\partial r}}$$.

• DEFAULT = 16.0

## S_ZETA_LOC¶

Definition

Shear in squareness, $$r{\frac {\partial \zeta }{\partial r}}$$.

• DEFAULT = 0.0

## TAUS_1¶

Definition

Species array of temperatures $${\frac {T_{s}}{T_{e}}}$$.

• DEFAULT = 1.0 , 1.0

## THETA0_SA¶

Definition

$$\theta _{0}={\frac {k_{x}}{sk_{y}}}$$.

• DEFAULT = 0.0

## THETA_TRAPPED¶

Definition

Parameter to adjust trapped fraction model.

• DEFAULT = 0.7

## USE_BISECTION¶

Definition

Use bisection search method to find width that maximizes growth rate.

• DEFAULT = .true.

## USE_BPAR¶

Definition

Include compressional magnetic fluctuations, $$\delta B_{\lVert }}$$.

• DEFAULT = .false.

## USE_BPER¶

Definition

Include transverse magnetic fluctuations, $$\delta A_{\lVert }$$.

• DEFAULT = .false.

## USE_INBOARD_DETRAPPED¶

Definition

Set trapped fraction to zero if eigenmode is inward ballooning.

• DEFAULT = .false.

## USE_MHD_RULE¶

Definition

Ignore pressure gradient contribution to curvature drift.

• DEFAULT = .true.

## USE_TRANSPORT_MODEL¶

Definition

• DEFAULT = .true.

## VEXB¶

Definition

Normalized of ExB velocity Doppler shift common to all species (not in use, see VPAR).

• DEFAULT = 0.0

## VEXB_SHEAR¶

Definition

Normalized toroidal ExB velocity Doppler shift gradient common to all species. For large ExB velocity ordering $$V_{tor}=V_{ExB}$$ $$-SIGN(I_{tor}){\frac {r}{ABS(q)}}{\frac {\partial }{\partial r}}({\frac {V_{ExB}}{R}}){\frac {a}{c_{s}}}$$.

• DEFAULT = 0.0

## VPAR_1¶

Definition

Species array of parallel velocities $$SIGN(I_{tor}){\frac {R_{maj}V_{tor}}{Rc_{s}}}$$.

• DEFAULT = 0.0 , 0.0

## VPAR_MODEL¶

Definition

Choices

• VPAR_MODEL = 0: low-Mach-number limit

• DEFAULT = 0

## VPAR_SHEAR_1¶

Definition

Normalized parallel velocity gradient $$-SIGN(I_{tor})R_{maj}{\frac {\partial }{\partial r}}({\frac {V_{tor}}{R}}){\frac {a}{c_{s}}}$$.

• DEFAULT = 0.0 , 0.0

## VPAR_SHEAR_MODEL¶

Definition

Depricated parameter.

• DEFAULT = 0

## WD_ZERO¶

Definition

Cutoff for curvature drift eigenvalues to prevent zero.

• DEFAULT = 0.1

## WIDTH¶

Definition

Maximum width of the Gaussian measure for the parallel Hermite polynomial basis.

• DEFAULT = 1.65

## WIDTH_MIN¶

Definition

Minimum width used in search for maximum growth rate.

• DEFAULT = 0.3

## WRITE_WAVEFUNCTION_FLAG¶

Definition

Self-explanatory.

• DEFAULT = 0

## XNUE¶

Definition

Electron-ion collision frequency $${\frac {v_{ei}}{c_{s}/a}}$$.

• DEFAULT = 0.0

## XNU_FACTOR¶

Definition

Multiplies the trapped/passing boundary electron-ion collision terms.

• DEFAULT = 1.0

## XNU_MODEL¶

Definition

Collision model.

Choices

• XNU_MODEL = 2: new

• DEFAULT = 2

## XWELL_SA¶

Definition

Magnetic well.

• DEFAULT = 0.0

## ZEFF¶

Definition

Effective ion charge.

• DEFAULT = 1.0

## ZETA_LOC¶

Definition

Squareness, $$\zeta \,\!$$ , of flux surface.

• DEFAULT = 0.0

## ZMAJ_LOC¶

Definition

Flux surface centroid elevation $$Z_{maj}/a\,\!$$.

• DEFAULT = 0.0

## ZS_1¶

Definition

Species charge numbers.