This is a reference for the key input parameters used by ALPS.
The following namelists and associated input parameters are read in by ALPS from the input file.
General system parameters.
kperp
Initial perpendicular wavevector
kpar
Initial parallel wavevector
nspec
Number of plasma species.
nroots
Number of dispersion solutions to find and follow.
use_map
Choice of:
- True: Searching for roots over a map in complex frequency space (see &maps_1 namelist).
- False: Input
nrootsguesses for solutions (see &guess_1 namelist).
writeOut
Write or suppress output to screen.
nperp
Perpendicular momentum space resolution,
npar
Parallel momentum space resolution,
ngamma
Relativistic momentum space resolution,
npparbar
Relativistic parallel momentum space resolution,
vA
Reference Alfven velocity, normalized to the speed of light,
arrayName
Name of input array, located in 'distribution' folder.
Bessel_zero
Maximum amplitude of Bessel function to determine nmax.
secant_method
Selection for root finding method.
0: secant method from NHDS
1: rtsec method from PLUME
2: Improved secant method to reduce oscillations around solutions.
numiter
Maximum number of iterations in secant method.
kperp_norm
Choice of:
- True: Follow's Stix (10-57) normalization convention.
- False: Multiplies Stix (10-57) by
$k_{\perp}^2 d_{ref}^2$ .
Depending on the user's choice of normalization, D_threshold needs to be adjusted to account for additional factors of
D_threshold
Minimum threshold for secant method.
D_prec
Size of bounding region for secant method.
D_gap
Size of allowable difference between roots.
D_tol
Tolerance for secant method = 1, rtsec.
positions_principal
Number of parallel momentum steps distant from the resonant momentum
included in the numerical calculation of Eqn 3.5,
n_resonance_interval
How many steps should be used to integrate around the resonance,
Tlim
Threshold for analytical principal-value integration,
maxsteps_fit=500
Maximum number of fitting iterations.
lambda_initial_fit
Inital Levenberg-Marquardt damping parameter.
lambdafac_fit
Adjustment factor for Levenberg-Marquardt damping parameter.
epsilon_fit
Convergence for Levenberg-Marquardt fit.
fit_check
If true, output fitted functions for each species to file in distribution directory.
determine_minima
If true, after map search, determine minima and refine solutions.
scan_option
Select case for wavevector scans:
- 1: Consecutive scans along input paths in wavevector space,
- 2: Double scan over wavevector plane.
n_scan
Number of wavevector scans.
0 turns off wavevector scans.
Must be 1 or larger for scan_option=1.
Must be set to 2 for scan_option=2.
Initial guess of complex frequency for $m$th solution.
Only used when use_map=.false.
Need to have number of name lists equal to nroots.
g_om
Guess for real solution
g_gam
Guess for imaginary solution
Range of complex frequencies for map_scan subroutine.
Only used when use_map=.true.
loggridw
Linear (F) or Log (T) spacing for omi and omf.
loggridg
Linear (F) or Log (T) spacing for gami and gamf
omi
Smallest
omf
Largest
gami
Smallest
gamf
Largest
ni
Number of
nr
Number of
Species parameters list for distribution
nn
Relative density
qq
Relative charge
mm
Relative mass
ff
Number of fitted functions for analytical continuation calculation.
relat
Treat
log_fit
Use linear or
use_bM
Use actual numerical integration (F) or bi-Maxwellian/cold-plasma proxy via NHDS routines,
with parameters read in from &bM_spec_j namelist.
AC_method
Choose the method for the evaluation of the analytic continuation:
- 0: Use the function that is defined analytically in distribution/distribution_analyt.f90
- 1: Use the fit routine as defined in the &ffit_j_k namelist.
- 2: Use a polynomial basis representation as defined in the &poly_spec_j namelist. This method should only be used if
$|\gamma|\ll |\omega_{r}|$ .
Initial Fit Values for species
fit_type_in
Kind of fit function:
- 1: Maxwellian,
- 2: Kappa,
- 3: Juettner with
$p_{\perp},p_{\parallel}$ ,
- 4: Juettner with variable
$\Gamma$ , constant$\bar{p}_{\parallel}$ ,
- 5: Juettner with
$p_{\perp},p_{\parallel}$ ; variable$\bar{p}_{\parallel}$ ,
- 6: Bi-Moyal distribution
fit_1-fit_5
Fit parameters,
Suggested values for parameters generated by generate_distribution.
perpcorr
This parameter,
Bi-Maxwellian/cold-plasma parameters; for species j.
Only used if use_bM=T.
bM_nmaxs
Maximum number of resonances to consider.
bM_Bessel
Precision threshold for
bM_betas
bM_alphas
bM_pdrifts
Relative drift of bi-Maxwellian distribution
Input for the polynomial representation of the input distribution for the analytical continuation.
Only used if AC_method=2.
kind
Type of the basis polynomial:
- 1: Chebychev
order
Maximum order of the basis polynomial.
log_max
When using logfit for the polynomial representation, set all output values to zero if the log(fit_function_poly) is greater than this variable.
Inputs for scanning parameter space for $l$th scan.
scan_type
Type of parameter scan:
- 0: Current value of
$\textbf{k}$ to$k_{\perp}$ =swiand$k_{\parallel}$ =swf. - 1:
$\theta_0 \rightarrow \theta_1$ at fixed$|k|$ from current value of$\theta=\mathrm{atan}(k_{\perp}/k_{\parallel})$ toswf. - 2: Wavevector scan at fixed angle
$\theta_{k,B}$ to$|k|$ =swf. - 3:
$k_{\perp}$ scan with constant$k_{\parallel}$ to$k_{\perp}$ =swf. - 4:
$k_{\parallel}$ scan with constant$k_{\perp}$ to$k_{\parallel}$ =swf.
swi
Scan variable to define end of scan through wavevector space (only for scan_type=1).
swf
Scan variable to define end of scan through wavevector space.
swlog
Use
ns
Number of output scan values.
nres
Resolution between output scan values.
heating
Calculates heating rates if true.
eigen
Calculates eigenfunctions if true.
The following namelists and associated input parameters are read in by the routine generate_distribution from input files. This generates nspec arrays of distributions that are read in by ALPS
General system parameters.
nspec
Number of plasma species.
beta
Reference plasma beta.
vA
Reference Alfven velocity, normalized to the speed of light,
nperp
Perpendicular momentum space resolution, nperp in both the distribution input file and ALPS execution input file.
npar
Parallel momentum space resolution, npar in both the distribution input file and ALPS execution input file.
maxP
Maximum value of reference Alfven momentum,
writeName
Name of output arrays.
ms_read
Mass ratio
taus
Temperature ratio
alphs
Temperature anisotropy
ps
Normalized drift momentum
kappas
distribution=2.
distributions
Type of distribution:
- 0: Use distribution from distribution_analyt.
- 1: Bi-Maxwellian distribution.
- 2: Bi-Kappa distribution.
- 3: Anisotropic Juettner distribution.
- 4: Bi-Moyal distribution.
autoscaleS
If autoscaleS=.true., define maximum momentum for each array automatically using global value maxP.
maxPperpS
If autoscaleS=.false., force maximum perpendicular momentum for species array.
maxPparS
If autoscaleS=.false., force maximum parallel momentum for species array.