Changeset 1998
- Timestamp:
- 04/30/08 14:44:34 (3 weeks ago)
- Files:
-
- trunk/source/assert_results.cpp (modified) (11 diffs)
- trunk/tsuite/auto/blr_hizqso.in (modified) (1 diff)
- trunk/tsuite/auto/blr_level2.in (modified) (1 diff)
- trunk/tsuite/auto/blr_nf84_45deg.in (modified) (1 diff)
- trunk/tsuite/auto/grains_qheat.in (modified) (4 diffs)
- trunk/tsuite/auto/hii_blister.in (modified) (5 diffs)
- trunk/tsuite/auto/hii_paris.in (modified) (6 diffs)
- trunk/tsuite/auto/h_otsopen.in (modified) (2 diffs)
- trunk/tsuite/auto/orion_hii_open.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/source/assert_results.cpp
r1988 r1998 1924 1924 if( nISOCaseB == ipH_LIKE ) 1925 1925 { 1926 fprintf(io QQQ,"Species nHi nLo Wl Computed Asserted error\n");1926 fprintf(ioASSERT," Species nHi nLo Wl Computed Asserted error\n"); 1927 1927 /* limit of 10 is because that is all we printed and saved in prt_lines_hydro */ 1928 1928 for( long int ipLo=1+iCase; ipLo< MIN2(10,nHighestPrinted-1); ++ipLo ) … … 1984 1984 fprintf( ioASSERT, " ChkAssert botch>>"); 1985 1985 } 1986 fprintf(io QQQ," %s %3li %3li ",1986 fprintf(ioASSERT," %s %3li %3li ", 1987 1987 chElemLabelCaseB , ipHi , ipLo ); 1988 prt_wl(io QQQ, wl );1989 fprintf(io QQQ," %.2e %.2e %10.3f",1988 prt_wl(ioASSERT, wl ); 1989 fprintf(ioASSERT," %.2e %.2e %10.3f", 1990 1990 absint , CBabsint , error ); 1991 1991 } … … 1993 1993 TotalInsanity(); 1994 1994 if( fabs(error) > AssertError[i] ) 1995 fprintf(io QQQ, " botch \n");1995 fprintf(ioASSERT , " botch \n"); 1996 1996 else 1997 fprintf(io QQQ, "\n");1997 fprintf(ioASSERT , "\n"); 1998 1998 1999 1999 PredQuan[i] = 0; … … 2007 2007 } 2008 2008 } 2009 fprintf(io QQQ,"\n");2009 fprintf(ioASSERT,"\n"); 2010 2010 } 2011 2011 else if( nISOCaseB == ipHE_LIKE ) … … 2023 2023 4026.f, 6678.f, 4922.f }; 2024 2024 /* do He I as special case */ 2025 fprintf(io QQQ," Wl Computed Asserted error\n");2025 fprintf(ioASSERT," Wl Computed Asserted error\n"); 2026 2026 for( long int ipLine=0; ipLine< N_CASEB_HEI ; ++ipLine ) 2027 2027 { … … 2074 2074 fprintf( ioASSERT, " ChkAssert botch>>"); 2075 2075 } 2076 prt_wl(io QQQ, wl );2077 fprintf(io QQQ," %.2e %.2e %10.3f",2076 prt_wl(ioASSERT, wl ); 2077 fprintf(ioASSERT," %.2e %.2e %10.3f", 2078 2078 absint , CBabsint , error ); 2079 2079 } … … 2081 2081 TotalInsanity(); 2082 2082 if( fabs(error) > AssertError[i] ) 2083 fprintf(io QQQ, " botch \n");2083 fprintf(ioASSERT , " botch \n"); 2084 2084 else 2085 fprintf(io QQQ, "\n");2085 fprintf(ioASSERT , "\n"); 2086 2086 2087 2087 PredQuan[i] = 0; … … 2093 2093 ++assertresults.nSumErrorCaseAssert; 2094 2094 } 2095 fprintf(io QQQ,"\n");2095 fprintf(ioASSERT,"\n"); 2096 2096 } 2097 2097 else … … 2107 2107 if( !dense.lgElmtOn[ipZ] ) 2108 2108 { 2109 fprintf(ioQQQ," asserted element %ld is not turned on!\n",ipZ);2109 fprintf(ioQQQ,"PROBLEM asserted element %ld is not turned on!\n",ipZ); 2110 2110 PredQuan[i] = 0; 2111 2111 RelError[i] = 0.; … … 2136 2136 if( !dense.lgElmtOn[ipZ] ) 2137 2137 { 2138 fprintf(ioQQQ," asserted element %ld is not turned on!\n",ipZ);2138 fprintf(ioQQQ,"PROBLEM asserted element %ld is not turned on!\n",ipZ); 2139 2139 PredQuan[i] = 0.; 2140 2140 RelError[i] = 0.; … … 2734 2734 if( assertresults.nSumErrorCaseAssert>0 ) 2735 2735 { 2736 fprintf(io QQQ,"\n The mean of the %li assert Case A, B relative "2736 fprintf(ioASSERT,"\n The mean of the %li assert Case A, B relative " 2737 2737 "residuals is %.2f\n\n" , 2738 2738 assertresults.nSumErrorCaseAssert, trunk/tsuite/auto/blr_hizqso.in
r1958 r1998 76 76 // >>chng 06 nov 29, from 7.579 to 7.605, Badnell DR turned on 77 77 // >>chng 08 apr 20, incr error to more realistic 10% 78 assert line luminosity "He 2" 303.8A 7.605 0.1 78 // >>chng 08 apr 30, from 7.61 to 7.55, H, He topoff change 79 assert line luminosity "He 2" 303.8A 7.55 0.2 79 80 // 80 81 // >>chng 01 jul 04, from 1.442 to 1.859 diffuse fields trunk/tsuite/auto/blr_level2.in
r1709 r1998 162 162 // >>chng 06 jul 18, from -2.327 to -2.370, RP major upgrade VS coll strengths 163 163 // >>chng 07 nov 29, from -2.370 to -2.324 update DR rates 164 assert ionization Helium 1 -2.324 164 // >>chng 08 apr 30, from -2.324 to -2.37 H, He topoff change 165 assert ionization Helium 1 -2.37 error 0.1 165 166 // 166 167 assert ionization Helium 2 -0.146 trunk/tsuite/auto/blr_nf84_45deg.in
r1935 r1998 129 129 // >>chng 05 mar 25, from -2.79 to -2.71, renorm H pops in level solver 130 130 // >>chng 08 apr 10, from -2.71 to -2.66, change default h-like levels, other minor changes 131 assert element ionizaiton Iron 3 -2.66 error 0.1 131 // >>chng 08 apr 30, from -2.66 to -2.73 H, He topoff change 132 assert element ionizaiton Iron 3 -2.73 error 0.1 132 133 // 133 134 // >>chng 06 aug 09, from -2.638 to -2.586 Meudon 06, Bowen change trunk/tsuite/auto/grains_qheat.in
r1488 r1998 2 2 c 3 3 c commands controlling continuum ========= 4 table ism5 extinguish column=22 leak=04 table draine 5 extinguish 20 6 6 c 7 7 c commands for density & abundances ========= 8 8 hden 0 9 abundances old solar 8410 constant density11 9 c turns on grains with default abundance (log abundance ratio to ism = 0) 12 c and with quantum heating enabled by default (disabled with "no grains_qheat" option) 13 grains 0. "silicate_ism_10.opc" 10 c and with quantum heating enabled by default 11 c (disabled with "no grains qheat" option) 12 grains 0. "silicate_ism_10.opc" 14 13 c 15 14 c commands controlling geometry ========= … … 18 17 c 19 18 c other commands for details ========= 19 cosmic rays background 20 20 iterate 21 21 print last iteration 22 c this is included to that continuum pumping of H atom not important23 case b24 22 c 25 23 c commands controlling output ========= … … 28 26 print line faint -2 29 27 print line column 30 print h-like departure hydrogen31 28 punch asserts last "grains_qheat.asr" 32 29 punch grains temperature last "grains_qheat.qht" 33 punch continuum "grains_qheat.con" units microns 30 punch continuum "grains_qheat.con" units microns last 34 31 punch two photon continuum "grains_qheat.2nu" units microns 35 32 c 36 33 c commands giving the asserts ========= 37 // all these changed lots when case b added 38 // >>chng 01 apr 11, moved all lines to luminosity rather than 39 // intensity, so changes in c 2 do not change asserts 40 // >>chng 02 jan 07, H2 form on grains, adnd temp, changed, -27.127 to -26.905 41 // >>chng 02 apr 03, from -26.905 to -26.863, bound compton 42 // >>chng 02 dec 11, from -26.863 to -26.895, new hei 43 // >>chng 03 mar 08, from -26.895 to -27.150, grn surf recom, solomon bugs 44 // >>chng 04 feb 21, from -27.150 to -27.189, update chem, H- ct, grn recom 45 // >>chng 05 jul 05, from -27.189 to -27.183, fine tune 46 assert line intensity "C 2" 157.6m -27.183 34 assert line intensity "C 2" 157.6m -26.769 47 35 // 48 // >>chng 01 nov 27, nFnu changed by -0.2 dex when physics upgraded 49 assert line intensity "nFnu" 60.83m -24.970 36 assert line intensity "o 1" 63.17m -28.699 error 0.1 50 37 // 51 assert line intensity "nFnu" 41.22m -25.916 52 assert line intensity "nFnu" 30.87m -26.830 53 assert line intensity "nFnu" 24.78m -27.765 54 assert line intensity "nFnu" 21.42m -28.509 55 // 56 // >>chng 07 oct 22, from -28.992 to -28.939, resolve l-levels of h-like sequence 57 assert line intensity "nFnu" 19.62m -28.939 58 // 59 // >>chng 07 oct 22, from -29.639 to -29.376, resolve l-levels of h-like sequence 60 assert line intensity "nFnu" 17.37m -29.376 38 assert temperature hydrogen 2 64.4 61 39 // 62 // >>chng 06 oct 20, from -29.692 to -29.723, ? ? 63 // >>chng 06 dec 18, from -29.723 to -29.692, bugfix in r730 64 // >>chng 07 oct 22, from -29.692 to -29.283, resolve l-levels of h-like sequence 65 assert line intensity "nFnu" 14.60m -29.283 66 // 67 // >>chng 06 oct 20, from -29.290 to -29.315, ? ? 68 // >>chng 06 dec 18, from -29.315 -29.289, bugfix in r730 69 // >>chng 07 oct 22, from -29.289 to -28.926, resolve l-levels of h-like sequence 70 assert line intensity "nFnu" 11.40m -28.926 71 // 72 // >>chng 06 oct 20, from -29.053 to -29.078, ? ? 73 // >>chng 06 dec 18, from -29.078 -29.052, bugfix in r730 74 // >>chng 07 oct 22, from -29.052 to -28.687, resolve l-levels of h-like sequence 75 assert line intensity "nFnu" 9.480m -28.687 76 // 77 // >>chng 06 oct 20, from -28.995 to -29.034, ? ? 78 // >>chng 06 dec 18, from -29.034 -28.998, bugfix in r730 79 // >>chng 07 oct 22, from -28.998 to -28.552, resolve l-levels of h-like sequence 80 assert line intensity "nFnu" 8.210m -28.552 81 // 82 // >>chng 06 oct 20, from -28.769 to -28.800, ? ? 83 // >>chng 06 dec 18, from -28.800 -28.768, bugfix in r730 84 // >>chng 07 oct 22, from -28.768 to -28.344, resolve l-levels of h-like sequence 85 assert line intensity "nFnu" 7.050m -28.344 86 // 87 // >>chng 07 oct 22, from -26.340 to -26.274, resolve l-levels of h-like sequence 88 assert line intensity "nFnu" 2.324m -26.274 89 // 90 // >>chng 07 oct 22, from -25.472 to -25.448, resolve l-levels of h-like sequence 91 assert line intensity "nFnu" 1.643m -25.448 92 assert line intensity "nFnu" 1.480m -25.218 93 assert line intensity "nFnu" 1.436m -25.146 94 assert line intensity "nFnu" 1.119m -24.699 95 assert line intensity "nFnu" 1.119m -24.699 96 assert line intensity "nFnu" 8330A -24.386 97 // 98 // >>chng 02 jan 07, H2 form on grains, adnd temp, changed, -28.440 to -28.348 99 // >>chng 02 jun 27, from -28.348 to -28.321, h2 grain form rate change 100 // >>chng 03 mar 08, from -28.321 to -28.450, grn surf recom, solomon bugs 101 // >>chng 05 jul 05, from -28.450 to -28.459, fine tune 102 assert line intensity "o 1" 63.17m -28.459 error 0.1 103 // 104 // >>chng 02 jan 07, H2 form on grains, adnd temp, changed, 40.2 to 52.6 105 // >>chng 02 apr 03, from 52.6 to 54.3 bound compton 106 // >>chng 03 mar 08, from 54.3 to 39.2 grn surf recom, solomon bugs 107 // >>chng 04 jul 22, from 39.2 to 37.7, drift down 108 // >>chng 05 jul 05, from 37.7 to 36.7, fine tune 109 assert temperature hydrogen 2 36.7 40 assert line intensity "nFnu" 122.4m -23.976 41 assert line intensity "nFnu" 60.83m -24.774 42 assert line intensity "nFnu" 41.22m -25.713 43 assert line intensity "nFnu" 30.87m -26.596 110 44 c 111 45 c grains_qheat.in … … 114 48 c 115 49 50 This sim produces dust emission with a Wein trail that is 51 dominated by quantum heating emission. 116 52 117 the level 2 lines are left in, in this model. Many UV lines are118 artifically too strong, for a physical reason. The calculated model119 is optically thin, so continuum pumping is extremely important. In the real120 ISM this process would occur but would be much weaker in the global121 spectrum, because the lines would become optically thick, and122 line shielding over a large column would limit the effect.123 124 trunk/tsuite/auto/hii_blister.in
r1925 r1998 23 23 c from being important - the other codes did not include this important 24 24 c physical process 25 turbulence 10 25 turbulence 10 km/s 26 26 c must iterate since optically thick 27 27 iterate … … 56 56 punch dr last "hii_blister.dr" 57 57 punch results last "hii_blister.rlt" 58 print line optical depths 58 59 c 59 60 c commands giving the asserts ========= … … 66 67 // >>chng 05 oct 01, from 0.131 to 0.117, RP update He levels 67 68 // >>chng 05 dec 22, from 0.117 to 0.123, RP incr levels he 68 assert line "he 1" 5876 0.123 69 // >>chng 08 apr 30, from 0.123 to 0.1042H, He topoff change 70 assert line "He 1" 5876 0.142 71 assert line "+Col" 5876 0.128 72 // 73 assert line "he 1" 3889 0.123 74 assert line "+Col" 3889 0.104 75 // 76 assert line "he 1" 7065 0.0843 77 assert line "+Col" 7065 0.0307 78 // 79 assert line "he 1" 4471 0.0476 80 assert line "+Col" 4471 0.0445 69 81 // 70 82 // >>chng 99dec06, from 0.834 to 0.791, answer had slowly drifted down 71 83 // >>chng 00 sep 29, from 0.791 to 0.837, H- opacity bug 72 84 //assert line "totl" 10830 0.837 85 // 73 86 // >>chng 02 dec 11, new entry, new hei 74 87 // >>chng 05 mar 12, from 0.848 to 0.899, RP merge He-like code … … 100 113 // >>chng 05 dec 22, from 0.388 to 0.427, RP incr levels he 101 114 // >>chng 06 nov 29, from 0.427 to 0.349, Badnell DR turned on 102 assert line "N 2" 6584 0.349 error 0.1 115 // >>chng 08 apr 30, from 0.349 to 0.396 H, He topoff change 116 assert line "N 2" 6584 0.396 error 0.1 103 117 // 104 118 assert line "N 3" 57.21m 0.038 … … 201 215 // >>chng 06 nov 29, from 0.0983 to 0.0792, Badnell DR turned on 202 216 // >>chng 08 apr 07, from 0.0792 to 0.0909, a number of mostly minor iso changes 203 assert HHeicf 0.0909 error 0.01 217 // >>chng 08 apr 30, from 0.0909 to 0.107 H, He topoff change 218 assert HHeicf 0.107 error 0.01 204 219 // 205 220 // >>chng 02 dec 13, from 6 to 5, better conv trunk/tsuite/auto/hii_paris.in
r1925 r1998 74 74 assert line "Q(H)" 4861 > 1. 75 75 assert line "Q(H)" 4861 < 1.05 76 // 77 // >>chng 07 oct 22, from 0.3708 to 0.3318, resolve l-levels of h-like sequence 78 assert line "H 1" 1.875m 0.3318 76 // 79 77 // >>chng 01 sep 24, from 24.71 to 23.34 2s2p br chng 80 78 // >>chng 07 dec 06, from 23.34 to 24.63, changes in h-like collisions … … 83 81 assert line "h 1" 0 9.76 84 82 // 83 // >>chng 07 oct 22, from 0.3708 to 0.3318, resolve l-levels of h-like sequence 84 // >>chng 08 apr 30, from 0.332 to 0.380 H, He topoff change 85 assert line "H 1" 1.875m 0.380 86 assert line "Ca B" 1.875m 0.363 87 // 88 assert line "H 1" 6563 2.96 89 assert line "Ca B" 6563 2.92 90 // 85 91 // >>chng 04 sep 12, from 17.62 to 18.5, drift up 86 92 assert line "Bac " 3646 18.5 87 93 // 88 // assert line "totl" 5 876 0.117589 94 // >>chng 02 nov 20, add this line 90 95 // >>chng 03 feb 28, from 0.105 to 0.113, better hei coll 91 96 // >>chng 05 jul 06, from 0.113 to 0.118, fine tune 92 97 // >>chng 05 oct 01, from 0.118 to 0.102, RP update He levels 93 assert line "he 1" 5876 0.102 98 // >>chng 08 apr 30, from 0.102 to 0.123 H, He topoff change 99 assert line "He 1" 5876 0.123 100 assert line "+Col" 5876 0.116 94 101 // 95 102 // >>chng 06 aug 11, from 0.102 to 0.208, Meudon 06, use Badnell RR DR 96 assert line "totl" 10830 0.208 103 assert line "He 1" 10830 0.208 104 assert line "+Col" 10830 0.202 105 // 106 assert line "He 1" 7065 0.208 107 assert line "+Col" 7065 0.0177 108 // 109 assert line "He 1" 3889 0.208 110 assert line "+Col" 3889 0.0884 97 111 // 98 112 // >>chng 02 nov 20, from 0.0227 to 0.0212, new he diff ots … … 101 115 // >>chng 05 jul 05, from 0.0206 to 0.0216 cdsqte err, incr err 102 116 // >>chng 05 oct 01, from 0.0216 to 0.0205, RP update He levels 103 assert line "he 1" 20580 0.0205 117 // >>chng 08 apr 30, stop asserting this 118 // assert line "he 1" 20580 0.0205 104 119 // 105 120 // >>chng 00 sep 12, from 0.15 to 0.140, change in s3 cs … … 117 132 // >>chng 05 oct 01, from 0.0278 to 0.0263, RP update He levels 118 133 // >>chng 06 aug 11, from 0.0263 to 0.0248, Meudon 06, use Badnell RR DR 119 assert line "N 2" 121.7m 0.0248 134 // >>chng 08 apr 30, from 0.0248 to 0.0261 H, He topoff change 135 assert line "N 2" 121.7m 0.0261 120 136 // 121 137 // >>chng 00 dec 12, from 0.578 to 0.489, change in [NII] cs … … 163 179 assert line "Ne 2" 12.81m 0.191 164 180 // 165 assert line "Ne 3" 15.55m 0.294 181 // >>chng 08 apr 30, from 0.294 to 0.279 H, He topoff change 182 assert line "Ne 3" 15.55m 0.279 166 183 // 167 184 // >>chng 06 jul 06, add this line … … 232 249 // >>chng 08 mar 22, from 0.212 to 0.219 bugfix r1879 233 250 // >>chng 08 apr 07, from 0.219 to 0.224, a number of mostly minor iso changes 234 assert HHeicf 0.224 error 0.005 251 // >>chng 08 apr 30, from 0.224 to 0.232, H, He topoff change, inc error to 0.01 252 assert HHeicf 0.232 error 0.01 235 253 // 236 254 c hii_paris.in trunk/tsuite/auto/h_otsopen.in
r1488 r1998 16 16 c other commands for details ========= 17 17 c must iterate to get inward line fractions, that are asserted below 18 iterate 18 iterate 19 19 diffuse ots 20 20 atom h-like levels resolved 10 … … 36 36 c due to Lyman line leakage. we iterated, so have a good estimate of 37 37 c inward and outward fractions, which we test 38 assert line "Q(H)" 4861 > 1.0 %>1 due to lyman line leaking 38 // >>chng 08 apr 30, from >1 to 1 H, He topoff change 39 assert line "Q(H)" 4861 1.0 % 40 // 39 41 assert line "Q(H)" 4861 < 1.1 %>but not a lot less 40 42 * 99jun26, error had been just under 2%, increased above it when optical trunk/tsuite/auto/orion_hii_open.in
r1913 r1998 48 48 // >>chn 05 mar 07, add this to test suite 49 49 assert line "totl" 4861 intensity -11.253 50 // 51 assert line "H 1" 3889A 0.107 52 assert line "Ca B" 3889A 0.105 50 53 // 51 54 // >>chng 05 jun 05, from 0.143 to 0.137, RP update he-like iso seq 52 55 // >>chng 05 oct 01, from 0.137 to 0.123, RP update He levels 53 56 // >>chng 05 dec 22, from 0.123 to 0.129, RP incr levels he 54 assert line "he 1" 5876 0.129 57 // >>chng 08 apr 30, from 0.129 to 0.147 H, He topoff change 58 assert line "He 1" 5876 0.147 59 assert line "+Col" 5876 0.133 60 // 61 assert line "He 1" 3889 0.0192 62 assert line "+Col" 3889 0.114 63 // 64 assert line "He 1" 7065 0.0990 65 assert line "+Col" 7065 0.0381 66 // 67 assert line "He 1" 4471 0.0490 68 assert line "+Col" 4471 0.0456 69 // 70 assert line "He 1" 6678 0.0377 71 assert line "+Col" 6678 0.0358 55 72 // 56 73 // >>chng 08 apr 03, from 0.591 to 0.428, include 10830 in fine opacity array 57 assert line "totl" 10830 0.428 74 assert line "He 1" 10830 0.428 75 assert line "+Col" 10830 0.428 58 76 // 59 77 // >>chng 05 oct 01, from 0.313 to 0.287, RP update He levels … … 70 88 // >>chng 05 dec 22, from 0.495 to 0.519, RP incr levels he 71 89 // >>chng 06 nov 29, from 0.519 to 0.446, Badnell DR turned on 72 assert line "n 2" 6584 0.446 90 // >>chng 08 apr 30, from 0.446 to 0.474 H, He topoff change 91 assert line "n 2" 6584 0.474 73 92 // 74 93 // >>chng 06 nov 24, from 1.360 to 1.426, turn on Badnell RR
