Changeset 2076 for trunk/examples/app-fermi/java
- Timestamp:
- Jan 31, 2011, 3:06:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/app-fermi/java/Fermi.java
r1727 r2076 22 22 // read the input values and convert to correct units 23 23 String Tstr = driver.get("input.number(temperature).current"); 24 double T = Double.valueOf(rappture.Units.convert (Tstr, "K", false));24 double T = Double.valueOf(rappture.Units.convertString(Tstr, "K", false)); 25 25 String Efstr = driver.get("input.number(Ef).current"); 26 double Ef = Double.valueOf(rappture.Units.convert (Efstr, "eV", false));26 double Ef = Double.valueOf(rappture.Units.convertString(Efstr, "eV", false)); 27 27 28 28 // Set the energy range and step size
Note: See TracChangeset
for help on using the changeset viewer.