Changeset 101:db1557a9da1f
- Timestamp:
- Jan 12, 2009, 5:24:04 PM (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/Application.js
r99 r101 668 668 { 669 669 return 2.94128e-11*Math.pow(this.e.getN(), 2/3); 670 }, 671 672 getAlfvenVelocity : function() 673 { 674 var v_m1; 675 676 v_m1 = 1/this.e.getAlfvenVelocity(this.B) + 677 1/this.i.getAlfvenVelocity(this.B); 678 679 if (this.r.getQ() != 0) { 680 v_m1 += 1/this.r.getAlfvenVelocity(this.B); 681 } 682 683 return 1/v_m1; 670 684 }, 671 685 -
source/entities.js
r96 r101 83 83 name : "Alfven velocity", 84 84 dimension : "velocity", 85 nspecies : 1,86 section : "fundamental", 87 formula : " %s1.getAlfvenVelocity(this.B)",85 nspecies : 0, 86 section : "fundamental", 87 formula : "this.getAlfvenVelocity(this.B)", 88 88 wikiLink : "Alfven_velocity" 89 89 },
Note: See TracChangeset
for help on using the changeset viewer.