Changeset 2127 for trunk/source/helike_einsta.cpp
- Timestamp:
- 06/25/08 11:17:40 (5 months ago)
- Files:
-
- 1 modified
-
trunk/source/helike_einsta.cpp (modified) (20 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/helike_einsta.cpp
r1997 r2127 253 253 fixit(); // adding the 2-photon decay 2^3S - 1^1S may be important in early universe 254 254 A = ForbiddenHe[ipHi - 1]; 255 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f); 255 iso_put_error(ipHE_LIKE,nelem,ipHe2s3S ,ipHe1s1S,IPRAD, 0.01f, 0.20f); 256 iso_put_error(ipHE_LIKE,nelem,ipHe2s1S ,ipHe1s1S,IPRAD, 0.01f, 0.05f); 257 iso_put_error(ipHE_LIKE,nelem,ipHe2p3P0,ipHe1s1S,IPRAD, 0.00f, 0.00f); 258 iso_put_error(ipHE_LIKE,nelem,ipHe2p3P1,ipHe1s1S,IPRAD, 0.01f, 0.05f); 259 iso_put_error(ipHE_LIKE,nelem,ipHe2p3P2,ipHe1s1S,IPRAD, 0.01f, 0.01f); 256 260 } 257 261 else … … 293 297 TotalInsanity(); 294 298 } 295 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f); 296 } 297 /* For now just just put 1% error for forbidden lines. */ 298 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,.01f); 299 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 300 } 301 299 302 return A; 300 303 } … … 313 316 A = 8.0E-3 * exp(9.283/sqrt((double)N_(ipLo))) * pow((double)nelem,9.091) / 314 317 pow((double)N_(ipHi),2.877); 315 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f );318 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 316 319 } 317 320 … … 328 331 A *= (2.*(ipLo-3)+1.0)/3.0; 329 332 } 330 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f );333 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 331 334 } 332 335 … … 344 347 /* 20% error is based on difference between Savukov, Labzowsky, and Johnson (2005) 345 348 * and Lach and Pachucki (2001) for the helium transition. */ 346 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.2f );349 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.2f,0.2f); 347 350 } 348 351 else … … 351 354 * the above values to 10% or better. */ 352 355 A= 7.22E-9*pow((double)nelem, 9.33); 353 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.3f );356 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.3f,0.3f); 354 357 } 355 358 } … … 361 364 { 362 365 A = 1.549; 363 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f );366 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 364 367 } 365 368 else … … 369 372 * >>refercon astro-ph 0205163 */ 370 373 A= 0.1834*pow((double)nelem, 6.5735); 371 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f );374 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 372 375 } 373 376 } … … 383 386 * See discussion "Energy order within 2 3P" near the top of helike.c */ 384 387 A = 5.78E-12; 385 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f );388 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 386 389 387 390 } … … 396 399 * See discussion "Energy order within 2 3P" near the top of helike.c */ 397 400 A = 3.61E-15; 398 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f );401 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 399 402 } 400 403 … … 403 406 /* Current transition is not supported. */ 404 407 A = iso.SmallA; 405 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f); 406 } 407 408 /* For now just put 1% error for forbidden lines. */ 409 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,.01f); 408 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 409 } 410 410 411 411 ASSERT( A > 0.); … … 488 488 Aul = TransProbs[nelem][ipHi][ipLo]; 489 489 490 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.000 5f);490 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.0001f,0.002f); 491 491 } 492 492 … … 502 502 Aul = (1.59208e10) / pow(Eff_nupper,3.0); 503 503 ASSERT( Aul > 0.); 504 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.00 5f);504 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.0002f,0.002f); 505 505 } 506 506 … … 511 511 Aul = H_Einstein_A(nHi ,lHi , nLo , lLo , nelem); 512 512 ASSERT( Aul > 0.); 513 514 if( lHi + lLo >= 7 ) 515 { 516 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.001f); 517 } 518 else 519 { 520 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.01f); 521 } 513 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.006f,0.04f); 522 514 } 523 515 /* These fits come from extrapolations of Drake's oscillator strengths … … 616 608 617 609 ASSERT( Aul > 0. ); 618 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.0 1f);610 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.0002f,0.002f); 619 611 } 620 612 else … … 633 625 634 626 ASSERT( Aul > 0. ); 635 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.0 3f);627 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.01f,0.07f); 636 628 } 637 629 } … … 652 644 653 645 Aul = TransProbs[nelem][ipHi][ipLo]; 654 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f );646 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 655 647 } 656 648 … … 784 776 785 777 } 786 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f );778 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.1f,0.1f); 787 779 } 788 789 /* for now just give ions some a 5% error across the board */790 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.05f);791 780 } 792 781 } … … 1005 994 /* Neither upper nor lower is resolved...Aul's are easy. */ 1006 995 Aul = HydroEinstA( N_(ipLo), N_(ipHi) )*z4; 1007 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.001f );996 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.001f,0.001f); 1008 997 1009 998 ASSERT( Aul > 0.); … … 1034 1023 iso.CachedAs[ipISO][nelem][ N_(ipHi)-iso.n_HighestResolved_max[ipISO][nelem]-1 ][ ipLo ][1] = 0.f; 1035 1024 1036 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.01f );1025 iso_put_error(ipHE_LIKE,nelem,ipHi,ipLo,IPRAD,0.01f,0.01f); 1037 1026 ASSERT( Aul > 0.); 1038 1027 }
