Changeset 78:3f710fb23c7e for source/class
- Timestamp:
- Oct 28, 2008, 5:29:36 PM (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- source/class/pf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/Application.js
r75 r78 15 15 16 16 ************************************************************************ */ 17 18 19 function LymanA(n)20 {21 if (n <= 1) {22 return 0;23 } else {24 return 8e9*256/9*n*Math.pow((n - 1)/(n + 1), 2*n)/((n*n - 1)*(n*n - 1));25 }26 }27 17 28 18 … … 469 459 470 460 return Math.pow(Z_core, 4)* 471 ( LymanA(n_u) +LymanA(n_l))/3e10/(2*Math.PI);461 (pf.base.Bohr.LymanA(n_u) + pf.base.Bohr.LymanA(n_l))/3e10/(2*Math.PI); 472 462 }, 473 463 … … 646 636 var level_pop = Math.exp(-photon_eV/this.e.getT()); 647 637 648 return level_pop*Math.pow(Z_core, 4)* LymanA(2)*638 return level_pop*Math.pow(Z_core, 4)*pf.base.Bohr.LymanA(2)* 649 639 1.6022e-19*photon_eV*this.r.getN(); 650 640 }, -
source/class/pf/base/Bohr.js
r8 r78 12 12 return this.bindingEnergy(Z_core, n_u) - 13 13 this.bindingEnergy(Z_core, n_l); 14 }, 15 16 LymanA : function(n) 17 { 18 if (n <= 1) { 19 return 0; 20 } else { 21 return 8e9*256/9*n*Math.pow((n - 1)/(n + 1), 2*n)/((n*n - 1)*(n*n - 1)); 22 } 14 23 } 15 24 }
Note: See TracChangeset
for help on using the changeset viewer.