source: trunk/examples/app-fermi/tcl/tool.xml @ 73

Last change on this file since 73 was 66, checked in by mmc, 19 years ago

Cleaned up the app-fermi example so that it works the same way
across all of the various languages.

Added rpResult() function for reporting results. All programs
should all this to save out the XML before they exit. Also added
the fortran version rp_result().

File size: 1.5 KB
Line 
1<?xml version="1.0"?>
2<run>
3    <tool>
4        <about>Press Simulate to view results.</about>
5        <command>tclsh @tool/fermi.tcl @driver</command>
6    </tool>
7    <input>
8        <number id="temperature">
9            <about>
10                <label>Ambient temperature</label>
11                <description>Temperature of the environment.</description>
12            </about>
13            <units>K</units>
14            <min>0K</min>
15            <max>500K</max>
16            <default>300K</default>
17            <preset>
18                <value>300K</value>
19                <label>300K (room temperature)</label>
20            </preset>
21            <preset>
22                <value>77K</value>
23                <label>77K (liquid nitrogen)</label>
24            </preset>
25            <preset>
26                <value>4.2K</value>
27                <label>4.2K (liquid helium)</label>
28            </preset>
29        </number>
30        <number id="Ef">
31            <about>
32                <label>Fermi Level</label>
33                <description>Energy at center of distribution.</description>
34            </about>
35            <units>eV</units>
36            <min>-10eV</min>
37            <max>10eV</max>
38            <default>0eV</default>
39        </number>
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</run>
54
Note: See TracBrowser for help on using the repository browser.