Changeset 60:ec9a209e1f04 for source


Ignore:
Timestamp:
Jan 29, 2008, 2:58:18 PM (16 years ago)
Author:
fnevgeny
Branch:
default
Phase:
public
Message:

Added getPressure() - ideal gas approximation.

File:
1 edited

Legend:

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

    r54 r60  
    172172            // 1e-7 is erg -> joule
    173173            return 1e-7*4/3*this.getThomsonXsDiff()*B*B*v_T*v_T/3e10*this._n;
     174        },
     175       
     176        getPressure: function()
     177        {
     178            return 1.602164e-12*this._n*this._t;
    174179        }
    175        
    176180    },
    177181   
Note: See TracChangeset for help on using the changeset viewer.