# ADAS Subroutine Library adas8xx

- Subroutine diag: Diagonalization of real symmetric n-by-n matrix z.
- Subroutine dipsum: Calculates a Burgess dipole sum.
- Subroutine fcf4: Evaluates free regular coulomb real function
- Subroutine h4angf: Calculates angular factors for Born approximation
- Subroutine h4born: Calculation of Born cross-sections using numerical wave functions.
- Subroutine h4data: To refresh a data index from an ADAS804 archive. Reads in the index code a-effective potential Born, b-impact parameter and the the rest of the data as appropriate.
- Subroutine h4fasy: Provide a spline interpolate making use of specified asymptotic behaviour
- Subroutine h4form: Specifies an independent variable transforma for splining
- Subroutine h4ftsp: Obtain the value from a spline interpolation
- Subroutine h4gasy: Initialises common arrays required for splining with smooth fitting to an asymptotic form
- Subroutine h4gspc: Generate precursors of spline coefficients suitable for both forward and backward interpolation
- Subroutine h4lnft: Perform linear interpolation
- Subroutine h4mxwl: Analyse electron impact collision strength data and convert to Maxwell averaged collision strengths.
- Subroutine h4spl3: Calculate splines with various end conditions
- Subroutine h9gett: To fetch temperature set from input adf04 type 3 data set.
- Subroutine h9int: Generates Maxwellian and non-Maxwellian upsilons and downsilons from given collisional data. This program is a subroutine version of ADAS809.
- Subroutine h9ispf: Pipe communications with IDL and to return user selected options and values.
- Subroutine h9ntqd: Executes quadratures over collision strengths to form excitation and de-excitation effective collision strengths for atoms and ions with tabulated collision stregths as a function of x parameter.
- Subroutine h9qd3b: To execute quadratures over ionisation collision strengths to determine the ionisation and 3-body recombination coefficients. Free electron distribution function may be Maxwellian, kappa, Druyvesteyn, or numeric from adf37 file.
- Subroutine h9rate: To calculate the excitation and de-exciatation rate coeffi- cients for a set of input temperature(kelvin)/ gamma pairs.
- Subroutine h9spln: 1) performs cubic spline on log(temperature) versus log(gamma) input data. (`scef' versus `gamma' , nv data pairs)
- Subroutine h9tran: To set up selected transition parameters.
- Subroutine h9trni: To set up selected ionisation transition parameters
- Subroutine h9ttyp: To sort transition arrays into seven transition/recomb types
- Subroutine h9wr11: Produces an adf04 type 3 file, where the contents is considered as the output data set from ADAS809.
- Subroutine haadas2: To write plt standard ADAS density dependent data the data is in the form :- data(it,id,iz) where, it : temperature index ( 1 - itmax ) id : density index ( 1 - idmax )
- Subroutine hapecf: To prepare pec, envelope feature f-pec, plt and plt-filter passing files for diagnostic use.
- Subroutine hapixv: Distribute Doppler broadened line emission into pixel range
- Subroutine hawvrg: To check if a line wavelength is in one of the selected wavelength intervals
- Subroutine rbesf: Evaluates half integer bessel function
- Subroutine rdwbes: Evaluates Born multipole integrals using distorted bound waves. the distorted waves are in a jucys or slater type potential.