Changeset 282:8ad358a8938d for source
- Timestamp:
- Aug 31, 2011, 9:12:09 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/Application.js
r281 r282 1423 1423 xlabel = "T<sub>i,r</sub> (eV)" 1424 1424 break; 1425 case "P_r": 1426 par0 = this.plasma.P_r; 1427 au_f = 100; 1428 xlabel = "P<sub>r</sub> (%)" 1429 break; 1425 1430 case "B": 1426 1431 par0 = this.plasma.B; … … 1501 1506 this.plasma.r.setT(par); 1502 1507 break; 1508 case "P_r": 1509 this.plasma.P_r = par; 1510 this.updatePlasmaParameters(); 1511 break; 1503 1512 case "B": 1504 1513 this.plasma.B = par; … … 1554 1563 this.plasma.r.setT(par0); 1555 1564 break; 1565 case "P_r": 1566 this.plasma.P_r = par0; 1567 this.updatePlasmaParameters(); 1568 break; 1556 1569 case "B": 1557 1570 this.plasma.B = par0; … … 1705 1718 e.addItem("T<sub>r</sub>", "T_r", true); 1706 1719 e.addItem("T<sub>i,r</sub>", "T_i,r", true); 1720 e.addItem("P<sub>r</sub>", "P_r", true); 1707 1721 e.addItem("B", "B"); 1708 1722 e.selectByValue("N_e");
Note: See TracChangeset
for help on using the changeset viewer.