Changeset 300:cb3bc1d4c126 for source/class
- Timestamp:
- Sep 18, 2011, 4:32:08 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- source/class/pf/base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/base/Bohr.js
r298 r300 73 73 }, 74 74 75 /* Einstein A coefficient of Lyman series of H */76 LymanA : function(Z_core, n)77 {78 if (n <= 1) {79 return 0;80 } else {81 return Math.pow(Z_core, 4)*Math.pow(this.alpha, 3)*82 128/9*n*Math.pow((n - 1)/(n + 1), 2*n)/((n*n - 1)*(n*n - 1));83 }84 },85 86 75 /* Quasi-classical absorption oscillator strength */ 87 76 KramersF: function(n_u, n_l) -
source/class/pf/base/Radiator.js
r295 r300 76 76 var Z_core = this.getZcore(); 77 77 78 return pf.base.Bohr. LymanA(Z_core, this._n_u) +79 pf.base.Bohr. LymanA(Z_core, this._n_l);78 return pf.base.Bohr.EinsteinA(Z_core, this._m, this._n_u, 1) + 79 pf.base.Bohr.EinsteinA(Z_core, this._m, this._n_l, 1); 80 80 }, 81 81
Note: See TracChangeset
for help on using the changeset viewer.