Changeset 289:a3d60ac74412 for source/class
- Timestamp:
- Sep 14, 2011, 6:21:42 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- source/class/pf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/Plasma.js
r288 r289 62 62 var n_l = this.n_l; 63 63 64 return pf.base.Bohr.getOscillatorStrength(n_u, n_l); 64 return pf.base.Bohr.oscillatorStrength(n_u, n_l); 65 }, 66 67 getEinsteinA: function() 68 { 69 var n_u = this.n_u; 70 var n_l = this.n_l; 71 var Z_core = this.r.getQ() + 1; 72 var m_core = this.r.getM(); 73 74 return pf.base.Bohr.EinsteinA(Z_core, m_core, n_u, n_l); 65 75 }, 66 76 -
source/class/pf/base/Bohr.js
r288 r289 8 8 // alpha^2 9 9 alpha2 : 5.325135e-05, 10 11 // alpha^3 12 alpha3 : 3.885939e-07, 10 13 11 14 // Speed of light (1/alpha) … … 82 85 83 86 /* Quasi-classical absorption oscillator strength */ 84 getKramersF: function(n_u, n_l)87 KramersF: function(n_u, n_l) 85 88 { 86 89 return 32/(3*Math.PI*Math.sqrt(3))* … … 88 91 }, 89 92 90 getFGauntFactor : function(n_u, n_l)93 fGauntFactor : function(n_u, n_l) 91 94 { 92 95 var g = 1; … … 113 116 }, 114 117 115 getOscillatorStrength : function(n_u, n_l)118 oscillatorStrength : function(n_u, n_l) 116 119 { 117 var g = this. getFGauntFactor(n_u, n_l);120 var g = this.fGauntFactor(n_u, n_l); 118 121 119 return g*this.getKramersF(n_u, n_l); 122 return g*this.KramersF(n_u, n_l); 123 }, 124 125 EinsteinA : function(Z_core, m_core, n_u, n_l) 126 { 127 var f = this.oscillatorStrength(n_u, n_l); 128 var dE = this.transitionEnergy(Z_core, m_core, n_u, n_l); 129 130 return 2*this.alpha3*dE*dE*f*(n_l/n_u)*(n_l/n_u); 120 131 }, 121 132
Note: See TracChangeset
for help on using the changeset viewer.