Miscellaneous Subroutines

bremem:
calculate bremsstrahlung emissivity

comp:
calculate non-relativistic Compton heating and cooling

dexpo:
real*8 expo

dfact:
real*8 fact

ee1exp:
first exponential integral*exponential

ee1expo:
first exponential integral*exponential

eint:
first exponential integral

enxt:
find next energy for trapezoid quadrature

expo:
exponential function with boundaries

exint1:

exp10:
$10^x$ with boundaries

expint:
first exponential integral*exponential

fact:
factorial

fact8:
real*8 factorial

fbg:
used in calculating bremsstrahlung emissivity ([Raymond and Smith 1986])

hlike:
hydrogenic photoionization cross section

hunt:
table search ([Press et al. 1988])

huntf:
table search assuming logarithmic spacing

ispec:
input spectrum from thermal brems with unit gaunt factor

ispcg2:

ispec4:
input spectrum, single power law

ispecg:
input spectrum, from atable

ispecgg:
input spectrum, generic renormalization

leqt2f:
solves linear system

lubksb:
used in linear system solution. from [Press et al. 1988].

ludcmp:
used in linear system solution. from [Press et al. 1988].

mprove:
used in linear system solution. from [Press et al. 1988].

nbinc:
finds continuum bin for given energy

remtms:
fake ibm routine to calculate remaining cpu time in msec.

spline:
Spline fit

splinem:
Spline fit

splint:
Spline fit

pescl:
calculates line escape probability

pescv:
calculates continuum escape probability

starf:
calculates blackbody spectrum