Changeset 310:3e7a42d9cc41


Ignore:
Timestamp:
Jul 1, 2012, 2:25:53 PM (12 years ago)
Author:
Evgeny Stambulchik <Evgeny.Stambulchik@…>
Branch:
default
Phase:
public
Message:

Added Fermi velocity and length.

Location:
source
Files:
2 edited

Legend:

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

    r305 r310  
    259259        },
    260260       
     261        getFermiVelocity: function()
     262        {
     263            return Math.sqrt(2*this.getFermiEnergy());
     264        },
     265       
     266        getFermiLength: function()
     267        {
     268            var n_e = this.e.getN();
     269            var E_F = this.getFermiEnergy();
     270            return Math.sqrt(E_F/(6*Math.PI*n_e));
     271        },
     272       
    261273        getAlfvenVelocity: function()
    262274        {
  • source/entities.js

    r308 r310  
    223223        formula   : "this.plasma.getFermiEnergy()",
    224224        wikiLink  : "Fermi_energy"
     225    },
     226    {
     227        id        : "fermi_velocity",
     228        name      : "Fermi velocity",
     229        dimension : "velocity",
     230        nspecies  : 0,
     231        section   : "fundamental",
     232        formula   : "this.plasma.getFermiVelocity()",
     233        wikiLink  : "Fermi_velocity"
     234    },
     235    {
     236        id        : "fermi_length",
     237        name      : "Fermi screening length",
     238        dimension : "length",
     239        nspecies  : 0,
     240        section   : "fundamental",
     241        formula   : "this.plasma.getFermiLength()",
     242        wikiLink  : "Electric-field_screening"
    225243    },
    226244    {
Note: See TracChangeset for help on using the changeset viewer.