Changeset 292:a6aa2da6a025


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

Got rid of very questionable getBoundBoundLosses().

Location:
source
Files:
2 edited

Legend:

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

    r291 r292  
    268268        },
    269269       
    270         getBoundBoundLosses: function()
    271         {
    272             var Z_core = this.r.getQ() + 1;
    273             var m_core = this.r.getM();
    274             var photon_en =
    275                 pf.base.Bohr.transitionEnergy(Z_core, m_core, 2, 1);
    276            
    277             // FIXME!!
    278             var level_pop = Math.exp(-photon_en/this.e.getT());
    279            
    280             return level_pop*pf.base.Bohr.LymanA(Z_core, 2)*
    281                 photon_en*this.r.getN();
    282         },
    283        
    284270        getPressure: function()
    285271        {
  • source/entities.js

    r289 r292  
    381381        section   : "radiation",
    382382        formula   : "this.plasma.getFreeBoundSpectralDensity()"
    383     },
    384    
    385     {
    386         id        : "bound-bound_losses",
    387         name      : "Bound-bound losses",
    388         dimension : "power_density",
    389         nspecies  : 0,
    390         section   : "radiation",
    391         formula   : "this.plasma.getBoundBoundLosses()"
    392383    },
    393384   
Note: See TracChangeset for help on using the changeset viewer.