Changeset 555 for trunk/examples/app-fermi/python
- Timestamp:
- Dec 9, 2006, 1:33:35 AM (18 years ago)
- Location:
- trunk/examples/app-fermi/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/app-fermi/python/fermi.py
r543 r555 35 35 E = Emin 36 36 dE = 0.005*(Emax-Emin) 37 38 # Label the output graph with a title, x-axis label, 39 # y-axis label, and y-axis units 40 driver.put('output.curve(f12).about.label','Fermi-Dirac Factor',append=0) 41 driver.put('output.curve(f12).xaxis.label','Fermi-Dirac Factor',append=0) 42 driver.put('output.curve(f12).yaxis.label','Energy',append=0) 43 driver.put('output.curve(f12).yaxis.units','eV',append=0) 44 37 45 while E < Emax: 38 46 f = 1.0/(1.0 + exp((E - Ef)/kT)) -
trunk/examples/app-fermi/python/tool.xml
r66 r555 39 39 </number> 40 40 </input> 41 <output>42 <curve id="f12">43 <about><label>Fermi-Dirac Factor</label></about>44 <xaxis>45 <label>Fermi-Dirac Factor</label>46 </xaxis>47 <yaxis>48 <label>Energy</label>49 <units>eV</units>50 </yaxis>51 </curve>52 </output>53 41 </run> 54
Note: See TracChangeset
for help on using the changeset viewer.