Changeset 555 for trunk/examples/app-fermi/tcl
- Timestamp:
- Dec 9, 2006, 1:33:35 AM (18 years ago)
- Location:
- trunk/examples/app-fermi/tcl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/app-fermi/tcl/fermi.tcl
r115 r555 27 27 set E $Emin 28 28 set dE [expr {0.005*($Emax-$Emin)}] 29 30 # Label output graph with title, x-axis label, 31 # y-axis lable, and y-axis units 32 $driver put -append no output.curve(f12).about.label "Fermi-Dirac Factor" 33 $driver put -append no output.curve(f12).xaxis.label "Fermi-Dirac Factor" 34 $driver put -append no output.curve(f12).yaxis.label "Energy" 35 $driver put -append no output.curve(f12).yaxis.units "eV" 36 29 37 while {$E < $Emax} { 30 38 set f [expr {1.0/(1.0 + exp(($E - $Ef)/$kT))}] -
trunk/examples/app-fermi/tcl/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 42
Note: See TracChangeset
for help on using the changeset viewer.