Version 8 (modified by 12 years ago) ( diff ) | ,
---|
(Back to Bearclaw Outline)
PURE FUNCTION H_ioniz(nH,ne,T)
Defined in
contrib/astro/physics/cool/cool.f90
Inputs
- nH (=1.d0) (in cm-3)
- ne (=1.d0) (in cm-3)
- T (in K)
Description
- Calculates rates for the direct (collisional) ionization of H using the expression of Arnaud & Rothenflug (1985A&AS..60..425A):
- H_ioniz = nH*ne * (const*(exp(-x)/x)*F/((kT)1.5)), where
- x = I_H/kT (I_H = 13.6 eV)
- F = A*(1-x*f1) + B*(1+x-x*(2+x)*f1) + C*f1 + D*x*f2, and A,B,C,D are constants
- f1 = exp(x) * de1(x), where de1 is an exponential integral function, = integral(1 → inf) of (e-tx/t)dt, from slatec library.
- f2 = exp(x) * [integral(1 → inf) of (e-tx*ln(t)/t)dt], calculated in FUNCTION df2
- H_ioniz = nH*ne * (const*(exp(-x)/x)*F/((kT)1.5)), where
- Values are nominally in cm-3 s-1, however:
- When used in initneqCool, nH & ne are inputted as 1.d0.
- The actual densities aren't multiplied in until the tables are used in i_evolove.f90 to calculate the actual cooling rates.
- Is used in Subroutine initneqCool (in cool.f90) to build table of cooling values for this process
Called in
contrib/astro/physics/cool/cool.f90, in SUBROUTINE initneqCool
Functions Used
- de1 (as defined above, from slatec library)
- df2 in contrib/astro/physics/cool/cool.f90
Modules Used
None
Note:
See TracWiki
for help on using the wiki.