Changeset 5:78937ac4c835


Ignore:
Timestamp:
Nov 1, 2007, 6:55:26 PM (17 years ago)
Author:
fnevgeny
Branch:
default
Phase:
public
Message:

getGyroRadius() added.

Location:
source/class/pf
Files:
2 edited

Legend:

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

    r3 r5  
    6666        section   : "fundamental",
    6767        formula   : "%s1.getMinApproachDistance()"
     68    },
     69    {
     70        name      : "Gyroradius",
     71        dimension : "length",
     72        nspecies  : 1,
     73        section   : "fundamental",
     74        formula   : "%s1.getGyroRadius(this.B)"
    6875    },
    6976    {
  • source/class/pf/base/Species.js

    r4 r5  
    126126        },
    127127       
     128        getGyroRadius: function(B)
     129        {
     130            return this.getThermalVelocity()/
     131                (2*Math.PI*this.getGyroFrequency(B));
     132        },
     133       
    128134        getCoupling: function()
    129135        {
Note: See TracChangeset for help on using the changeset viewer.