Ignore:
Timestamp:
Sep 18, 2011, 4:32:08 PM (13 years ago)
Author:
Evgeny Stambulchik <Evgeny.Stambulchik@…>
Branch:
default
Phase:
public
Message:

Got rid of LymanA - there now a general EinsteinA.

Location:
source/class/pf/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/class/pf/base/Bohr.js

    r298 r300  
    7373        },
    7474
    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 
    8675        /* Quasi-classical absorption oscillator strength */
    8776        KramersF: function(n_u, n_l)
  • source/class/pf/base/Radiator.js

    r295 r300  
    7676            var Z_core = this.getZcore();
    7777           
    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);
    8080        },
    8181       
Note: See TracChangeset for help on using the changeset viewer.