Ignore:
Timestamp:
Sep 14, 2011, 6:21:42 PM (13 years ago)
Author:
Evgeny Stambulchik <Evgeny.Stambulchik@…>
Branch:
default
Phase:
public
Message:

Einstein coefficient.

Location:
source/class/pf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/class/pf/Plasma.js

    r288 r289  
    6262            var n_l = this.n_l;
    6363           
    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);
    6575        },
    6676       
  • source/class/pf/base/Bohr.js

    r288 r289  
    88        // alpha^2
    99        alpha2 : 5.325135e-05,
     10       
     11        // alpha^3
     12        alpha3 : 3.885939e-07,
    1013       
    1114        // Speed of light (1/alpha)
     
    8285
    8386        /* Quasi-classical absorption oscillator strength */
    84         getKramersF: function(n_u, n_l)
     87        KramersF: function(n_u, n_l)
    8588        {
    8689            return 32/(3*Math.PI*Math.sqrt(3))*
     
    8891        },
    8992
    90         getFGauntFactor : function(n_u, n_l)
     93        fGauntFactor : function(n_u, n_l)
    9194        {
    9295            var g = 1;
     
    113116        },
    114117
    115         getOscillatorStrength : function(n_u, n_l)
     118        oscillatorStrength : function(n_u, n_l)
    116119        {
    117             var g = this.getFGauntFactor(n_u, n_l);
     120            var g = this.fGauntFactor(n_u, n_l);
    118121           
    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);
    120131        },
    121132       
Note: See TracChangeset for help on using the changeset viewer.