root/trunk/tsuite/auto/blr_fp89.in

Revision 2578, 32.5 kB (checked in by gary, 3 weeks ago)

series of bug fixes after email from Michel Fioc - wavelengths of lines entered into lindst did not agree with energy pointed to by ipCont. added assert that the specified line wavelength and the continuum energy of ipCont are in rough agreement. this exposed a number of bugs which are fixed in this rev.

the wavelength in the argument to lindst is the one printed in the output. this can't change due to the code's history or spectroscopic convention. The continuum bands are even worse since the "ID" for the band was set by observers longs ago and often is nowhere near the center of the band. in this case a negative wavelength says not to do the check at all.

Really the printed wavelength and the continuum index should be derived from the same data. this goes back to the problem of how lines are identified in the output that we discussed at Imperial early this year.

data files -
Fe Ka wavelength changed from 2A to 1.78A - more accurate

cont_createpointers.cpp - ipCont for satellite lines was not allowed to go above ionization potential of species.
do not allow wavelength label for continuum bands to lie outside the band

lines_service.cpp - assert that wavelength of line is in rough agreement with line energies dervied from continuum index

prt_lines_continuum.cpp negative wavelength says not to check that label wavelength for continuum bands is in agreement with continuum index - wavelegth label is set by observational papers and not in agreement with center of band

Fe 22, update level energies and line wavelengths

  • Property svn:eol-style set to native
Line 
1title final F+P 1989 BLR model table 3
2c
3c commands controlling continuum =========
4table agn
5ionization parameter -0.5
6c
7c commands for density & abundances =========
8hden 9.5
9init file="c84.ini"
10abundances old solar 84
11c
12c commands controlling geometry  =========
13stop column density 25.5
14c
15c other commands for details     =========
16iterate to convergence
17failures 2
18c
19c commands controlling output    =========
20c set a relatively high faint level since lines relative to Lya=100
21print line faint -1
22print h-like departure coefficients
23plot continuum
24// >>chng 02 may 12, from 100 to 90.74 Lya lum changed, this
25// correction puts other lines back on the same scale
26// >>chng 02 nov 20, Lya became 1.06 weaker, correct for this
27normalize to "H  1" 1216 = 85.60
28//
29punch heating "blr_fp89.het"
30punch convergence reason "blr_fp89.cvr"
31punch cooling "blr_fp89.col"
32punch overview last "blr_fp89.ovr"
33punch element nitrogen last "blr_fp89.nit"
34punch results last "blr_fp89.rlt"
35punch asserts last "blr_fp89.asr"
36punch dr "blr_fp89.dr"
37c
38c commands giving the asserts    =========
39//
40// >>chng 02 mar 04, 3% chng, atomic data HeI atom, from 8.569 to 8.592
41// >>chng 02 may 12, from 8.592 to 8.550, elec scat escape
42// >>chng 02 nov 20, from 8.550 to 8.5251, new he ots diff
43// >>chng 03 may 15, from 8.525 to 8.556, H line rt cleanup
44// >>chng 05 oct 01, from 8.556 to 8.574, drift
45// >>chng 07 dec 28, from 8.574 to 8.594, drift
46// >>chng 08 mar 17, from 8.594 to 8.567, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
47assert line "H  1" 1216 luminosity 8.567
48//
49// >>chng 01 jul 04, from 5.04 to 4.72, diffuse fields
50// >>chng 01 dec 28, auger yields, to 5.13
51// >>chng 02 may 09, from 5.13 to 4.08 elec scat escape
52// >>chng 03 apr 11, from 4.08 to 5.11, PopOpc bug
53// >>chng 03 may 08, from 5.11 to 5.79, conv cleanup
54// >>chng 03 oct 16, from 5.79 to 4.68, feii cooling, ots rewrite
55// >>chng 04 apr 28, from 4.68 to 4.43 He+-H rad ct update
56// >>chng 04 may 13, from 4.43 to 4.08, dest albedo chng, incr error
57// >>chng 04 jul 07, from 4.08 to 4.76, integ oh ct
58// >>chng 04 dec 08, from 4.76 to 4.19, co-ion feedback, check converg
59// >>chng 06 jul 18, from 4.19 to 4.73, RP major upgrade VS coll strengths
60// >>chng 07 oct 26, from 4.73 to 6.16, due to changes in r1472
61// >>chng 08 mar 17, from 6.16 to 3.22, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
62// >>chng 08 mar 22, from 3.22 to 3.53, bugfix r1879
63// >>chng 08 apr 10, from 3.53 to 3.11, change default h-like levels, other minor changes
64// >>chng 08 apr 30, from 3.11 to 3.47, H, He topoff change
65// >>chng 08 aug 04, from 3.47 to 2.92, speed hack bug fix
66// >>chng 08 dec 13, from 2.92 to 2.296, merging newsolvers branch
67assert line "H  1" 4861    2.296 error 0.1
68//
69// >>chng 01 jul 04, from 23.1 to 21.5 diffuse fields
70// >>chng 01 dec 28, auger yields, from 21.5 to 25.7
71// >>chng 02 apr 02, from 25.7 to 24.215, bound elec scat
72// >>chng 02 may 09, from 24.215 to 19.5 elec scat escape
73// >>chng 02 jul 23, from 19.5 to 18.3, better brems opacity
74// >>chng 02 dec 11, from 18.3 to 20.47, new hei
75// >>chng 03 apr 11, from 20.47 to 21.89 PopOpc bug
76// >>chng 03 may 08, from 20.47 to 24.47 conv cleanup
77// >>chng 03 aug 23, from 24.47 to 26.01, line overlap, incr error
78// >>chng 03 oct 16, from 20.01 to 18.85 feii cooling, ots rewrite
79// >>chng 04 may 13, from 18.85 to 15.70 dest albedo chng, incr error
80// >>chng 04 jul 07, from 15.7 to 19.2 integ oh ct
81// >>chng 04 sep 18, from 19.2 to 21.5 drift up
82// >>chng 04 sep 25, from 21.5 to 18.6, incr temp toler 0.02 to 0.005
83// >>chng 04 dec 08, from 18.6 to 15.9, co-ion feedback, check converg
84// >>chng 06 jul 18, from 15.9 to 18.0, RP major upgrade VS coll strengths
85// >>chng 07 oct 26, from 18.0 to 21.8, due to changes in r1472
86// >>chng 08 mar 17, from 21.8 to 17.7, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
87// >>chng 08 mar 22, from 17.7 to 19.3 bugfix r1879
88// >>chng 08 apr 10, from 19.3 to 17.1, change default h-like levels, other minor changes
89// >>chng 08 nov 08, from 17.1 to 15.55, fix VS80 elec impact coll. str. (r2444)
90// >>chng 08 dec 13, from 15.55 to 11.82, merging newsolvers branch
91assert line "H  1" 6563    11.82 error 0.1
92//
93// >>chng 01 jul 04, from 68.1 to 62.6 diffuse fields
94// >>chng 01 dec 28, auger yields, to 166
95// >>chng 02 apr 02, from 166 to 144 bound elec scat
96// >>chng 02 may 09, from 144 to 107 elec scat escape
97// >>chng 02 may 27, from 107 to 94, improved brems cooling
98// >>chng 02 jun 13, from 94 to 101, zoning, incr error
99// >>chng 02 jul 23, from 101 to 89.7 better brems opacity
100// >>chng 02 nov 09, from 89.7 to 99.8, rec cool, incr error
101// >>chng 02 dec 11, from 99.8 to 121.3, new hei
102// >>chng 03 may 16, from 121.3 to 149.4, h line rt cleanup
103// >>chng 03 oct 16, from 149.4 to 78.76 feii cooling, ots rewrite
104// >>chng 04 mar 04, from 78.8 to 63.9, update conv criteria
105// >>chng 04 jun 01, from 63.9 to 107, unified calc of Lya line width
106// >>chng 04 jul 03, rom 107 to 124, NA update CO, H chem net
107// >>chng 04 jul 07, from 124 to 153 integ oh ct
108// >>chng 04 sep 18, from 153 to 175 drift up
109// assert line "Fe 2" 1216    175 error 0.15
110//
111// >>chng 01 jul 04, from 1.53 to 1.42 diffuse fields
112// >>chng 01 dec 28, auger yields, to 1.71
113// >>chng 02 apr 26, 1.71 to 1.603, new he-iso cooling
114// >>chng 02 may 09, from 1.603 to 1.28 elec scat escape
115// >>chng 02 jun 13, from 1.28 to 1.211 zoning, incr error
116// >>chng 02 dec 11, from 1.211 to 1.349 new hei
117// >>chng 03 apr 23, from 1.349 to 1.276, small change in convergence
118// >>chng 03 may 08, from 1.276 to 1.458 conv cleanup
119// >>chng 03 oct 16, from 1.458 to 1.105 feii cooling, ots rewrite
120// >>chng 04 may 10, from 1.105 to 1.034, drift down
121// >>chng 04 jun 02, from 1.034 to 0.981, drift down
122// >>chng 04 jul 07, from 0.981 to 1.14 integ oh ct
123// >>chng 04 jul 16, from 1.14 to 1.06 chng order eval heavy elem
124// >>chng 04 jul 29, from 1.06 to 1.21 impr h chem conv, incr err
125// >>chng 04 sep 25, from 1.21 to 1.09, incr temp toler 0.02 to 0.005
126// >>chng 04 dec 08, from 1.09 to 0.987 co-ion feedback, check converg
127// >>chng 06 jul 18, from 0.987 to 1.21 RP major upgrade VS coll strengths
128// >>chng 07 oct 22, from 1.210 to 1.061, resolve l-levels of h-like sequence
129// >>chng 07 oct 26, from 1.061 to 1.268, due to changes in r1472
130// >>chng 08 mar 17, from 1.268 to 2.020, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
131// >>chng 08 mar 22, from 2.02 to 2.19 bugfix r1879
132// >>chng 08 aug 04, from 2.19 to 1.96, speed hack bug fix
133// >>chng 08 dec 13, from 1.96 to 1.575, merging newsolvers branch
134assert line "H  1" 1.875m     1.575 error 0.1
135//
136// >>chng 01 dec 28, auger yields, from 38.1 to 36.2
137// >>chng 02 may 09, from 36.2 to 33.8 elec scat escape
138// >>chng 02 nov 20, from 33.8 to 31.7 new he ots diff
139// >>chng 03 apr 11, from 31.7 to 28.5 PopOpc bug
140// >>chng 03 may 16, from 28.5 to 32.7, h line rt cleanup, increase error
141// >>chng 04 mar 04, from 32.7 to 28.1, update conv criteria
142// >>chng 04 jun 01, from 28.1 to 33.8, unified calc of Lya line width
143// >>chng 04 jul 07, from 33.8 to 38.8 integ oh ct
144// >>chng 04 dec 08, from 38.8 to 35.3 co-ion feedback, check converg
145// >>chng 07 oct 26, from 35.3 to 41.1, due to changes in r1472
146// >>chng 08 dec 13, from 41.1 to 35.81, merging newsolvers branch
147assert line "Ba C"    0    35.81 error 0.1
148//
149// >>chng 01 jul 04, from 32.0 to 30.4 diffuse fields
150// >>chng 01 dec 28, auger yields, 36.5
151// >>chng 02 apr 02, from 36.5 to 34.3 bound elec scat
152// >>chng 02 may 09, from 34.3 to 27.4 elec scat escape
153// >>chng 02 jul 23, from 27.4 to 25.8 better brems opacity
154// >>chng 02 nov 09, from 25.8 to 27.2 rec cool, incr error
155// >>chng 03 may 08, from 27.2 to 30.8 conv cleanup
156// >>chng 03 oct 16, from 30.8 to 23.55 feii cooling, ots rewrite
157// >>chng 04 jul 02, from 23.5 to 25.9, O H ct
158// >>chng 04 jul 07, from 25.9 to 30.8 integ oh ct
159// >>chng 04 jul 29, from 30.8 to 34.6 impr h conv,  incr error
160// >>chng 04 dec 08, from 34.6 to 24.5 co-ion feedback, check converg
161// >>chng 05 mar 25, from 24.5 to 28.5, renorm H pops in level solver
162// >>chng 07 oct 26, from 28.5 to 40.7, due to changes in r1472
163// >>chng 08 dec 13, from 40.7 to 25.45, merging newsolvers branch
164assert line "Pa C"    0    25.45 error 0.15
165//
166// >>chng 01 dec 28, auger yields, from 48.9 to 75.5
167// >>chng 02 apr 02, from 75.5 to 63.3 bound elec scat
168// >>chng 02 may 09, from 63.3 to 43.9 elec scat escape
169// >>chng 02 jul 23, from 43.9 to 39.1, better brems opacity
170// >>chng 02 nov 09, from 39.1 to 41.98 rec cool, incr error
171// >>chng 02 dec 11, from 41.98 to 47.1 new hei
172// >>chng 03 may 22, from 47.1 to 53.05, chng Lya dest prob
173// >>chng 03 oct 16, from 53.1 to 33.5 feii cooling, ots rewrite
174// >>chng 04 apr 28, from 33.5 to 30.1, He+-H rad ct update
175// >>chng 04 jul 02, from 30.1 to 35.0 O H ct
176// >>chng 04 jul 07, from 35.0 to 42.1 integ oh ct
177// >>chng 04 jul 29, from 42.1 to 48.1 impr h conv,  incr error
178// >>chng 04 dec 08, from 48.1 to 33.3 co-ion feedback, check converg
179// >>chng 05 mar 25, from 33.3 to 38.1, renorm H pops in level solver
180// >>chng 07 oct 26, from 38.1 to 58.1, due to changes in r1472
181// >>chng 08 jul 08, from 58.1 to 49.6 damping wing pump rates
182// >>chng 08 dec 13, from 49.6 to 33.37, merging newsolvers branch
183assert line "H FF"    0    33.37 error 0.15
184//
185// >>chng 01 jul 04, from 39.4 to 37.1 diffuse fields
186// >>chng 02 jan 21, from 37.1 to 39.1, small chngs in he-like
187// >>chng 02 may 12, from 39.1 to 36.96 elec scat escape
188// >>chng 03 apr 23, from 36.96 to 36.723 small change in convergence
189// >>chng 03 may 15, from 36.723 to 34.72, H line rt cleanup
190// >>chng 04 jun 12, from 34.7 to 32.9, chng cont shield fcn
191// >>chng 08 mar 17, from 32.9 to 35.4, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
192assert line "TotM"    0    35.4
193//
194// 02 nov 09 add this entry
195// >>chng 02 dec 11, from 3.606 to 3.926 new hei
196// >>chng 03 apr 23, from 3.926 to 3.723, drift down
197// >>chng 03 may 08, from 3.723 to 4.14 conv cleanup
198// >>chng 03 sep 04, from 4.14 to 1.205, bug in heavy brems
199// >>chng 03 oct 16, from 1.205 to 0.784 feii cooling, ots rewrite
200// >>chng 04 apr 28, from 0.784 to 0.745 He+-H rad ct update
201// >>chng 04 jul 02, from 0.745 to 0.798 O H ct
202// >>chng 04 jul 07, from 0.798 to 0.883 integ oh ct
203// >>chng 04 jul 16, from 0.883 to 0.838 chng order eval heavy elem, inc err
204// >>chng 04 jul 29, from 0.838 to 0.951 impr h conv,  incr error
205// >>chng 04 dec 08, from 0.95 to 0.76 co-ion feedback, check converg
206// >>chng 07 oct 26, from 0.76 to 1.16, due to changes in r1472
207// >>chng 08 dec 13, from 1.16 to 0.7566, merging newsolvers branch
208assert line "MeFB"    0    0.7566 error 0.15
209//
210// 02 nov 09 add this entry
211// >>chng 02 dec 11, from 7.02 to 8.09 new hei
212// >>chng 03 may 08, from 8.09 to 8.80 conv cleanup
213// >>chng 03 oct 16, from 8.80 to 5.13 feii cooling, ots rewrite
214// >>chng 04 apr 28, from 5.13 to 4.58 He+-H rad ct update
215// >>chng 04 may 13, from 4.58 to 4.95 dest albedo chng, incr error
216// >>chng 04 jul 02, from 4.95 to 5.94 O H ct
217// >>chng 04 jul 03, rom 5.94 to 10.43, NA update CO, H chem net
218// >>chng 04 jul 03, rom 10.43 to 5.422 NA update CO, H chem net
219// >>chng 04 jul 07, from 5.42 to 7.88 integ oh ct
220// >>chng 04 jul 16, from 7.88 to 6.93 chng order eval heavy elem
221// >>chng 04 jul 29, from 6.93 to 9.20 impr h conv,  incr error
222// >>chng 04 sep 25, from 9.20 to 7.81, incr temp toler 0.02 to 0.005
223// >>chng 04 dec 08, from 7.81 to 5.33 co-ion feedback, check converg
224// >>chng 05 mar 25, from 5.33 to 6.92, renorm H pops in level solver
225// >>chng 07 oct 26, from 6.92 to 9.98, due to changes in r1472
226// >>chng 07 nov 29, from 9.98 to 8.18, due to changes in r1579
227// >>chng 07 dec ??, from 8.18 to 9.97, unknown - typo caused huge error
228// >>chng 08 aug 04, from 9.97 to 8.61, speed hack bug fix
229// >>chng 08 dec 13, from 8.61 to 5.434, merging newsolvers branch
230assert line "H-FB"    0    5.434 error 0.15
231//
232// >>chng 02 jun 21, from 48.2 to 45.2, better brems cooling
233// >>chng 02 jul 23, from 45.2 to 41.7 better brems opacity
234// >>chng 02 nov 09, from 41.7 to 44.59 rec cool
235// >>chng 02 dec 11, from 44.59 to 49.5 new hei
236// >>chng 03 apr 23, from 49.5 to 46.83 small change in convergence
237// >>chng 03 may 08, from 46.83 to 53.25 conv cleanup
238// >>chng 03 aug 23, from 53.25 to 56.2, line overlap
239// >>chng 03 oct 16, from 56.2 to 35.7 feii cooling, ots rewrite
240// >>chng 04 apr 28, from 35.7 to 32.4 He+-H rad ct update
241// >>chng 04 jun 12, from 32.4 to 34.2, chng cont shield fcn
242// >>chng 04 jul 02, from 34.2 to 37.3 O H ct
243// >>chng 04 jul 07, from 37.3 to 45.1 integ oh ct
244// >>chng 04 jul 16, from 45.1 to 41.3 chng order eval heavy elem, incr err
245// >>chng 04 jul 29, from 41.3 to 51.2 impr h conv,  incr error
246// >>chng 04 dec 08, from 51.2 to 35.9 co-ion feedback, check converg
247// >>chng 05 mar 25, from 35.9 to 40.9 renorm H pops in level solver
248// >>chng 07 oct 26, from 40.9 to 61.2, due to changes in r1472
249// >>chng 08 jul 08, from 61.2 to 52.0 damping wing pump rates
250// >>chng 08 dec 13, from 52 to 35.7, merging newsolvers branch
251assert line "ToFF"    0    35.7 error 0.15
252//
253// >>chng 01 jul 04, from 21.1 to 19.5 diffuse fields
254// >>chng 01 dec 28, auger yields, to 21.5
255// >>chng 02 apr 02, from 21.5 to 19.7 bound elec scat
256// >>chng 02 may 09, from 19.7 to 13.4 elec scat escape
257// >>chng 02 dec 11, from 13.4 to 15.7 new hei
258// >>chng 03 may 08, from 15.7 to 16.63 conv cleanup
259// >>chng 03 oct 16, from 16.63to 10.0 feii cooling, ots rewrite
260// >>chng 04 apr 28, from 10.0 to 8.73 He+-H rad ct update
261// >>chng 04 jun 01, from 8.73 to 10.7, unified calc of Lya line width
262// >>chng 04 jul 02, from 10.7 to 13.1 O H ct
263// >>chng 04 jul 03, from 13.1 to 10.4 O H ct
264// >>chng 04 jul 07, from 10.4 to 15.9 integ oh ct
265// >>chng 04 jul 16, from 15.9 to 13.8 chng order eval heavy elem, incr err
266// >>chng 04 jul 29, from 13.8 to 18.6 impr h conv,  incr error
267// >>chng 04 sep 25, from 18.6 to 18.0, incr temp toler 0.02 to 0.005
268// >>chng 04 dec 08, from 18.0 to 10.2 co-ion feedback, check converg
269// >>chng 05 mar 25, from 10.2 to 13.1 renorm H pops in level solver
270// >>chng 07 jan 20, from 13.1 to 15.1 e2 bug
271// >>chng 07 oct 26, from 15.1 to 20.0, due to changes in r1472
272// >>chng 07 nov 29, from 20.0 to 16.0, due to changes in r1579
273// >>chng 07 dec 02 from 16.0 to 19.9 - ? back to r1472 answer?  64/32 bit diff?
274// >>chng 08 mar 22, from 19.9 to 23.9 bugfix r1879
275// >>chng 08 apr 30, from 23.9 to 19.6, H, He topoff change
276// >>chng 08 dec 13, from 19.6 to 12.92, merging newsolvers branch
277assert line "H- H"    0    12.92 error 0.15
278//
279// >>chng 02 nov 20, add this line
280// >>chng 03 apr 11, from 0.941 to 0.858 PopOpc bug
281// >>chng 03 may 02, from 0.858 to 0.809, top levels in hei
282// >>chng 03 may 08, from 0.809 to 0.879 conv cleanup
283// >>chng 03 sep 26, from 0.879 to 0.695, update HeI cs
284// >>chng 03 nov 05, from 0.695 to 0.658, chng zoning, incr error
285// >>chng 03 dec 08, from 0.658 to 0.92, cnng zoning, ots
286// >>chng 04 may 19, from 0.92 to 0.76, RP update helike sequence
287// >>chng 04 jul 03, rom 0.76 to 0.928 NA update CO, H chem net
288// >>chng 04 jul 07, from 0.928 to 0.838 integ oh ct
289// >>chng 04 jul 17, from 0.838 to 0.940, NA update chem net, incr err
290// >>chng 05 mar 12, from 0.940 to 0.551, RP merge He-like code
291// >>chng 06 jan 24, from 0.551 to 0.63 - RP merge He-like, small drift
292// >>chng 06 jul 18, from 0.63 to 0.80 RP major upgrade VS coll strengths
293// >>chng 08 mar 17, from 0.80 to 0.48, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
294// >>chng 08 apr 03, from 0.45 to 0.58, include 10830 in fine opacity array
295assert line "He 1" 5876    0.58 error 0.2
296//
297// >>chng 02 oct 29, from 1.33 to 1.26, slow drift
298// >>chng 02 dec 11, new line
299// >>chng 03 apr 11, from 2.04 to 1.91 PopOpc bug
300// >>chng 03 may 08, from 1.91 to 2.11 conv cleanup
301// >>chng 04 feb 15, from 2.11 to 2.00, drift down
302// >>chng 04 may 13, from 2.00 to 1.82 dest albedo chng, incr error
303// >>chng 05 mar 12, from 1.82 to 1.57 RP merge He-like code
304// >>chng 06 jul 18, from 1.67 to 1.92 RP major upgrade VS coll strengths
305// >>chng 08 mar 17, from 1.92 to 1.73, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
306// >>chng 08 apr 03, from 1.73 to 1.49, include 10830 in fine opacity array
307assert line "He 1" 10830   1.49 error 0.1
308//
309// >>chng 02 nov 20, add this line
310// >>chng 03 apr 11, from 0.775 to 0.702 PopOpc bug
311// >>chng 03 may 02, from 0.702 to 0.662, top levels hei
312// >>chng 03 may 08, from 0.662 to 0.724 conv cleanup
313// >>chng 03 sep 26, from 0.724 to 0.854, update HeI cs
314// >>chng 03 nov 05, from 0.854 to 0.904, chng zoning, incr error
315// >>chng 03 dec 08, from 0.904 to 0.67, cnng zoning, ots
316// >>chng 04 may 13, from 0.67 to 0.595 dest albedo chng, incr error
317// >>chng 04 jun 02, from 0.595 to 0.545, drift down
318// >>chng 04 jul 07, from 0.545 to 0.746 integ oh ct
319// >>chng 04 jul 16, from 0.746 to 0.640 chng order eval heavy elem, incr err
320// >>chng 04 jul 29, from 0.640 to 0.735 impr h conv,  incr error
321// >>chng 04 dec 08, from 0.735 to 0.584 co-ion feedback, check converg
322// >>chng 05 mar 12, from 0.584 to 0.735 RP merge He-like code
323// >>chng 08 mar 19, from 0.735 to 0.58, mean of VS08 and icl
324// >>chng 08 mar 22, from 0.580 to 0.772, cutoff between volatile/static opacities was broken
325// >>chng 08 mar 22, from 0.772 to 0.604 bugfix r1879
326assert line "he 1" 7065   0.604 error 0.20
327//
328// >>chng 02 nov 20, add this line
329// >>chng 03 feb 28, from 0.361 to 0.341, better hei coll
330// >>chng 03 apr 11, from 0.341 to 0.303 PopOpc bug
331// >>chng 03 may 08, from 0.303 to 0.324 conv cleanup
332// >>chng 03 aug 15, from 0.325 to 0.344, small change in cs
333// >>chng 04 jul 03, rom 0.344 to 0.587 NA update CO, H chem net
334// >>chng 04 jul 07, from 0.587 to 0.671 integ oh ct
335// >>chng 04 jul 16, from 0.671 to 0.638 chng order eval C, O, Si, S CO
336// >>chng 04 jul 29, from 0.638 to 0.704 impr h conv,  incr error
337// >>chng 04 dec 08, from 0.704 to 0.581 co-ion feedback, check converg
338// >>chng 05 mar 12, from 0.581 to 0.492 RP merge He-like code
339// >>chng 05 mar 25, from 0.492 to 0.534 renorm H pops in level solver
340// >>chng 05 oct 01, from 0.534 to 0.646, RP update levels
341// >>chng 06 jul 18, from 0.65 to 0.55 RP major upgrade VS coll strengths
342// >>chng 07 jul 27, from 0.55 to 0.64, repair common error in several collision routines
343// >>chng 07 oct 26, from 0.64 to 0.70, very close to botch after recent changes
344// >>chng 07 nov 29, from 0.70 to 0.61, due to changes in r1579
345// >>chng 08 mar 17, from 0.61 to 0.53, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
346// >>chng 08 mar 22, from 0.53 to 0.33 bugfix r1879
347assert line "he 1" 6678   0.33 error 0.1
348//
349// >>chng 01 jul 04, from 0.578 to 0.636 diffuse fields
350// >>chng 03 apr 11, from 0.636 to 0.561 PopOpc bug
351// >>chng 04 jun 12, from 0.561 to 0.644 chng cont shield fcn
352// >>chng 06 aug 09, from 0.644 to 0.609 Meudon 06, Bowen change
353// >>chng 07 oct 22, from 0.609 to 0.522, resolve l-levels of h-like sequence
354// >>chng 08 apr 03, from 0.522 to 0.494 include 10830 in fine opacity array
355assert line "He 2" 4686    0.494
356//
357// >>chng 01 jul 04, from 4.272 to 4.607 diffuse fields
358// >>chng 03 apr 11, from 4.607 to 4.237 PopOpc bug
359// >>chng 04 jun 12, from 4.237 to 4.572 chng cont shield fcn
360// >>chng 06 aug 09, from 4.57 to 4.32 Meudon 06, Bowen change
361// >>chng 07 oct 22, from 4.32 to 4.066, resolve l-levels of h-like sequence
362// >>chng 08 dec 13, from 4.066 to 3.864, merging newsolvers branch
363assert line "He 2" 1640    3.864
364//
365// >>chng 01 jul 04, from 0.776 to 0.849 diffuse fields
366// >>chng 02 may 09, from 0.849 to 0.761 elec scat escape
367// >>chng 02 nov 20, from 0.761 to 0.626, new he ots diff
368// >>chng 03 apr 11, from 0.626 to 0.536 PopOpc bug
369// >>chng 04 jun 12, from 0.536 to 0.726 chng cont shield fcn
370// >>chng 07 jul 27, from 0.726 to 0.800, repair common error in several collision routines
371// >>chng 08 apr 10, from 0.800 to 0.887, change default h-like levels, other minor changes
372assert line "c  2" 1335    0.887 error 0.1
373//
374// >>chng 01 jul 04, from 6.36 to 5.79 diffuse fields
375// >>chng 01 dec 28, auger yields, to 6.20
376// >>chng 02 apr 02, from 6.20 to 5.86 bound elec scat
377// >>chng 02 may 09, from 5.86 to 7.99 elec scat escape
378// >>chng 02 may 27, from 7.99 to 7.39, improved brems cooling
379// >>chng 02 jun 21, from 7.39 to 7.83, better brems
380// >>chng 02 jul 23, from 7.83 to 7.09 better brems opacity
381// >>chng 02 nov 09, from 7.09 to 7.72 rec cool, incr error
382// >>chng 02 dec 11, from 7.72 to 8.78, new hei
383// >>chng 03 may 08, from 8.78 to 7.05 conv cleanup
384// >>chng 03 may 16, from 7.05 to 7.82, h line rt cleanup, increase error
385// >>chng 03 oct 16, from 7.82 to 4.51 feii cooling, ots rewrite
386// >>chng 04 mar 04, from 4.51 to 3.70 update conv criteria
387// >>chng 04 jun 01, from 3.70 to 5.61 unified calc of Lya line width
388// >>chng 04 jul 07, from 5.61 to 6.73 integ oh ct
389// >>chng 05 mar 12, from 6.73 to 5.82 RP merge He-like code
390// >>chng 06 jul 18, from 5.82 to 6.71 RP major upgrade VS coll strengths
391// >>chng 07 oct 26, from 6.71 to 9.31, due to changes in r1472
392// >>chng 08 mar 17, from 9.31 to 13.34, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
393// >>chng 08 aug 04, from 13.3 to 11.4, speed hack bug fix
394// >>chng 08 dec 13, from 11.4 to 6.834, merging newsolvers branch
395assert line "totl" 2326    6.834 error 0.15
396//
397// >>chng 02 apr 02, from 2.85 to 3.15 bound elec scat
398// >>chng 02 jul 23, from 3.15 to 2.89 better brems opacity
399// >>chng 02 dec 11, from 2.89 to 2.73, new hei
400// >>chng 03 may 15, from 2.73 to 2.51 H line rt cleanup
401// >>chng 04 jun 12, from 2.51 to 3.07 chng cont shield fcn
402// >>chng 05 mar 12, from 3.07 to 2.92 RP merge He-like code
403// >>chng 06 jul 18, from 2.92 to 3.12 RP major upgrade VS coll strengths
404// >>chng 06 nov 29, from 3.12 to 3.53 Badnell DR turned on
405// >>chng 07 oct 11, from 3.53 to 3.36, finer zoning
406// >>chng 08 mar 17, from 3.36 to 4.19, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
407// >>chng 08 sep 25, from 4.19 to 3.978, remove damper on line pump (r2367)
408assert line "c  3"  977    3.978
409//
410// >>chng 02 jan 21, from 18.1 to 19.5, small chngs in he-like
411// >>chng 02 mar 04, from 19.5 to 19.405, increase error, atomic data HeI atom,
412// >>chng 02 nov 20, from 19.41 to 17.05 new he ots diff
413// >>chng 03 apr 11, from 17.05 to 15.48 PopOpc bug
414// >>chng 06 nov 29, from 15.5 to 18.7 Badnell DR turned on
415// >>chng 08 mar 17, from 18.7 to 15.7, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
416assert line "TOTL" 1909    15.7 error 0.07
417//
418// >>chng 01 jul 04, from 43.4 to 40.6 diffuse fields
419// >>chng 02 apr 02, from 40.6 to 42.8 bound elec scat
420// >>chng 02 may 09, from 42.8 to 45.8 elec scat escape
421// >>chng 02 may 27, from 45.8 to 43.4 improved brems cooling
422// >>chng 03 may 23, from 43.4 to 41.2, H excit esc prob
423// >>chng 04 sep 25, from 41.2 to 39.1, incr temp toler 0.02 to 0.005
424// >>chng 06 jul 25, from 39.1 to 41.1, HN update OIII collision data
425// >>chng 06 nov 29, from 41.1 to 35.9 Badnell DR turned on
426// >>chng 08 mar 17, from 35.9 to 38.4, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
427// >>chng 08 apr 30, from 38.4 to 36.0, H, He topoff change
428assert line "TOTL" 1549    36.0 error 0.1
429//
430// >>chng 01 jul 04, from 2.09 to 2.336 diffuse fields
431// >>chng 02 apr 02, from 2.336 to 2.516 bound elec scat
432// >>chng 02 may 09, from 2.52 to 2.35 elec scat escape
433// >>chng 02 may 27, from 2.35 to 2.22 improved brems cooling
434// >>chng 02 nov 20, from 2.22 to 1.91 new he ots diff
435// >>chng 03 apr 11, from 1.05 to 1.66 PopOpc bug
436// >>chng 04 jun 12, from 1.66 to 1.83 chng cont shield fcn
437// >>chng 06 nov 29, from 1.83 to 2.13 Badnell DR turned on
438assert line "totl" 1750    2.13 error 0.1
439//
440// >>chng 01 jul 04, from 2.69 to 2.545 diffuse fields
441// >>chng 02 apr 02, from 2.545 to 2.673 bound elec scat
442// >>chng 02 may 09, from 2.673 to 2.813 elec scat escape
443// >>chng 02 jul 23, from 2.81 to 2.66 better brems opacity
444// >>chng 03 jun 02, from 2.66 to 2.53, default larger H atom
445// >>chng 05 mar 12, from 2.53 to 2.38 RP merge He-like code
446// >>chng 06 jul 18, from 2.38 to 2.60 RP major upgrade VS coll strengths
447// >>chng 08 apr 10, from 2.60 to 2.42, change default h-like levels, other minor changes
448assert line "TOTL" 1486    2.42
449//
450// >>chng 02 jan 21, from 4.15 to 4.45 small chngs in he-like
451// >>chng 02 jul 23, from 4.45 to 4.18 better brems opacity
452// >>chng 03 oct 04, from 4.18 to 3.96, atom2 ots
453// >>chng 01 jul 04, from 0.125 to 0.116 diffuse fields
454// >>chng 01 dec 28, auger yields, to 0.463
455// >>chng 02 may 09, from 0.463 to 0.508 elec scat escape
456// >>chng 03 apr 11, from 0.508 to 0.454 PopOpc bug
457// >>chng 03 may 08, from 0.454 to 0.404 conv cleanup
458// >>chng 03 may 16, from 0.404 to 0.301 h line rt cleanup, increase error
459// >>chng 04 mar 04, from 0.301 to 0.417, update conv criteria
460// >>chng 04 jun 01, from 0.410 to 0.261 unified calc of Lya line width
461// >>chng 04 jun 12, from 0.261 to 0.579 chng cont shield fcn
462// >>chng 07 nov 29, from 0.579 to 0.649, due to changes in r1579
463// >>chng 08 mar 22, from 0.65 to 0.72 bugfix r1879
464// >>chng 08 jul 08, from 0.72 to 0.60 damping wing pump rates
465assert line "6lev" 1304    0.60 error 0.15
466//
467// >>chng 02 jan 21, from 10.4 to 10.96 small chngs in he-like
468// >>chng 02 nov 20, from 10.96 to 9.97 new he ots diff
469// >>chng 03 apr 26, from 9.97 to 9.47, efrac zoning added
470// >>chng 05 mar 12, from 9.47 to 9.02 RP merge He-like code
471// >>chng 06 jul 25, from 9.02 to 8.41, HN update OIII collision data
472assert line "TOTL" 1665    8.41
473//
474// >>chng 01 jul 04, from 2.082 to 1.962 diffuse fields
475// >>chng 02 may 09, from 1.962 to 2.071 elec scat escape
476// >>chng 02 jul 23, from 2.07 to 1.96 better brems opacity
477// >>chng 04 feb 15, from 196 to 1.86, drift down
478// >>chng 06 nov 29, from 1.86 to 2.31 Badnell DR turned on
479// >>chng 08 mar 20, from 2.31 to 2.42, value drifted did throw assert
480assert line "totl" 1402    2.42
481//
482// >>chng 01 jul 04, from 7.76 to 7.04, diffuse fields
483// >>chng 02 may 09, from 7.04 to 8.72 elec scat escape
484// >>chng 02 jul 23, from 8.72 to 8.12 better brems opacity
485// >>chng 02 nov 09, from 8.12 to 8.59 rec cool
486// >>chng 02 dec 11, from 8.59 to 9.24, new hei
487// >>chng 03 may 08, from 9.24 to 7.703 conv cleanup
488// >>chng 03 may 16, from 7.703 to 8.640 h line rt cleanup, increase error
489// >>chng 03 oct 16, from 8.64 to 6.94 feii cooling, ots rewrite
490// >>chng 04 mar 04, from 6.94 to 5.97 update conv criteria
491// >>chng 04 jun 01, from 5.97 to 7.87 unified calc of Lya line width
492// >>chng 04 jul 07, from 7.87 to 8.94 integ oh ct
493// >>chng 08 mar 17, from 8.94 to 12.71, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
494// >>chng 08 jul 08, from 12.7 to 11.5 damping wing pump rates
495// >>chng 08 dec 13, from 11.5 to 9.489, merging newsolvers branch
496assert line "TOTL" 2798    9.489 error 0.1
497//
498// >>chng 02 jun 15, from 0.151 to 0.137
499// >>chng 02 nov 20, from 0.137 to 0.122 new he ots diff
500// >>chng 03 apr 11, from 0.122 to 0.116 PopOpc bug
501// >>chng 04 jun 12, from 0.116 to 0.158 chng cont shield fcn
502// >>chng 07 feb 06, bugfix in r828, from 0.158 to 0.165
503// >>chng 07 nov 17, from 0.165 to 0.156 changes in r1512
504// >>chng 08 mar 17, from 0.156 to 0.192, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
505assert line "si 3" 1207    0.192
506//
507// >>chng 02 mar 04, from 1.093 to 1.067, increase error, atomic data HeI atom,
508// >>chng 02 jul 23, from 1.07 to 0.99 better brems opacity
509// >>chng 02 nov 20, from 0.99 to 0.888 new he ots diff
510// >>chng 03 apr 26, from 0.888 to 0.826 efrac zoning added
511// >>chng 07 oct 22, from 0.826 to 0.766, resolve l-levels of h-like sequence
512// >>chng 08 mar 17, from 0.766 to 0.945, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
513assert line "TOTL" 1888    0.945 error 0.07
514//
515// >>chng 01 jul 04, from 2.84 to 3.013 diffuse fields
516// >>chng 02 apr 02, from 3.013 to 3.236 bound elec scat
517// >>chng 02 may 12, from 3.236 to 3.05, elec scat escape
518// >>chng 02 nov 20, from 3.05 to 2.70 new he ots diff
519// >>chng 03 apr 11, from 2.72 to 2.54 PopOpc bug
520// >>chng 06 jul 25, from 2.54 to 2.70, HN update OIII collision data
521// >>chng 08 mar 17, from 2.70 to 3.15, r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
522assert line "TOTL" 1397    3.15
523//
524// >>chng 01 jul 04, from 1.76 to 1.58 diffuse fields
525// >>chng 01 dec 28, auger yields, to 0.341
526// >>chng 02 apr 02, from 0.341 to 0.589 bound elec scat
527// >>chng 02 may 09, from 0.589 to 0.95 elec scat escape
528// >>chng 02 may 29, from 0.95 to 0.99, better convergence
529// >>chng 02 jun 13, from 0.99 to 0.885, improved zoning, incr error
530// >>chng 02 dec 11, from 0.885 to 0.686 new hei
531// >>chng 03 may 08, from 0.686 to 0.502 conv cleanup
532// >>chng 03 may 16, from 0.502 to 0.287 h line rt cleanup, increase error
533// >>chng 03 oct 16, from 0.287 to 8.05 feii cooling, ots rewrite
534// >>chng 04 may 13, from 8.05 to 3.14 dest albedo chng, incr error
535// >>chng 04 jul 02, from 3.14 to 1.89 O H ct
536// >>chng 04 jul 03, rom 1.89 to 2.39 NA update CO, H chem net
537// >>chng 04 jul 07, from 2.39 to 0.268 integ oh ct
538// >>chng 04 jul 16, do not assert this - it is the difference between
539// two large numbers
540// assert line "Fe2c"    0    0.268 error 0.2
541//
542// >>chng 01 jul 04, from 24.1 to 21.9 diffuse fields
543// >>chng 01 dec 28, auger yields, to 90.6
544// >>chng 02 apr 02, from 90.6 to 78.3 bound elec scat
545// >>chng 02 may 09, from 78.3 to 37.99 elec scat escape
546// >>chng 02 may 27, from 37.99 to 33.3, improved brems cooling
547// >>chng 02 jun 13, from 33.3 to 37.0 improved zoning, incr error
548// >>chng 02 jul 23, from 37.0 to 31.9 better brems opacity
549// >>chng 02 nov 09, from 31.9 to 36.4 rec cool, incr error
550// >>chng 02 dec 11, from 36.4 to 46.3 new hei
551// >>chng 03 may 08, from 46.3 to 61.3 conv cleanup
552// >>chng 03 may 16, from 61.3 to 71.7 h line rt cleanup, increase error
553// >>chng 03 oct 16, from 71.7 to 12.9 feii cooling, ots rewrite
554// >>chng 04 mar 04, from 12.9 to 4.18 update conv criteria
555// >>chng 04 apr 28, from 4.18 to 5.07 He+-H rad ct update
556// >>chng 04 may 13, from 5.07 to 8.53 dest albedo chng, incr error
557// >>chng 04 jun 01, from 8.53 to 29.3 unified calc of Lya line width
558// >>chng 04 jul 07, from 29.3 to 40.3 integ oh ct
559// >>chng 05 mar 12, from 40.3 to 33.9 RP merge He-like code
560// >>chng 06 jul 18, from 33.9 to 42.9 RP major upgrade VS coll strengths
561// >>chng 07 oct 26, from 42.9 to 95.4, due to changes in r1472
562// >>chng 08 mar 17, from 95.4 to 117., r1844 - mostly iso PopOpc and rt_line_one_tauinc changes
563// >>chng 08 jul 08, from 117 to 92.1 damping wing pump rates
564// >>chng 08 dec 13, from 92.1 to 34.54, merging newsolvers branch
565assert line "Fe2h"    0    34.54 error 0.2
566//
567// >>chng 01 jul 04, from 0.850 to 0.757 diffuse fields
568// >>chng 02 jun 13, from 0.757 to 0.715 improved zoning, incr error
569// >>chng 03 nov 08, from 0.715 to 0.632, diff reset bug
570// >>chng 07 oct 26, from 0.632 to 0.581, due to changes in r1472
571// >>chng 08 apr 30, from 0.58 to 0.63 H, He topoff change
572assert line "FeKa"    1.78    0.63 error 0.10
573//
574// >>chng 03 nov 20, from 500 to 525
575// >>chng 03 dec 07, from 525 to 670, dr update for resolving metals
576// >>chng 05 dec 22, from 670 to 520 (111), rationalize zone asserts
577// >>chng 07 jul 27, from 520 to 545, repair common error in several collision routines
578// >>chng 07 oct 02, from 545 to 570, several changes aimed at consistent results across platforms
579// >>chng 07 oct 22, from 570 to 585, resolve l-levels of h-like sequence
580// >>chng 07 oct 25, from 585 to 700, bugfix stark broadening incorrect
581// >>chng 07 oct 29, from 700 to 437, change from "<" to "="
582// >>chng 07 nov 13, from 437 to 493, change masing logic in iso_level
583// >>chng 07 nov 17, from 493 to 439, changes in r1512
584// >>chng 08 feb 10, from 439 to 435, adjust CR efficiency, incr err
585// >>chng 08 mar 19, from 435 to 465, different resuls on diffent platforms
586// nearly gcc, icl get 435 zones, VS08 gets 490, make trac ticket
587// >>chng 08 apr 30, from 465 to 513 (513), H, He topoff change, inc err
588assert nzone 513 error 0.15 0.01
589//
590//chng 02 dec 09, from 7.2 to 8.2 (actually 7.7) after dublin sounding meet
591//chng 02 dec 13, from 8.2 to 7.0 (actually 6.1) better conv
592// >>chng 03 jan 22, from 6.1 to 7 (actually 6.4), hmole solver chng
593// >>chng 07 oct 26, from 7.0 to 7.5 (actually 7.2), due to changes in r1472
594// >>chng 07 dec 28, from 7.5 to 8.0 (actually 7.6), drift up
595// >>chng 08 dec 08, from 8 to 7.357, upper limit -> equals (r2515)
596// >>chng 08 dec 13, from 7.357 to 15.73, merging newsolvers branch
597assert itrzn 15.73 error 0.02
598//
599// >>chng 08 feb 20, from 5 to 6, grain charge transfer changes in ion_solver and iso*
600// >>chng 08 dec 08, from 6 to 5, upper limit -> equals (r2515)
601assert niter 5 error 0.01
602//
603c blr_fp89.in
604c class blr
605c ========================================
606
607
608
609Ferland and Persson (1989) presented this calculation of a BLR cloud.
610The differences between the present predictions and
611those given by FP are largely due to improved treatment
612of Balmer line escape and destruction. The spectrum is given relative
613to a Lya intensity of 100. The column density is VERY large, to
614reproduce intensities of low-ionization lines, especially the Ca II lines.
615
Note: See TracBrowser for help on using the browser.