source: trunk/examples/app-fermi/perl/tool.xml

Last change on this file was 555, checked in by dkearney, 18 years ago

updated examples removing output sections from tool.xml files and making the example code generate the output section using the rappture library put command. this change is made in the example files to help curb people from defining output sections in their tool.xml files. the output sections should really be created inside the program when the output data is ready to be entered.

File size: 1.3 KB
Line 
1<?xml version="1.0"?>
2<run>
3    <tool>
4        <about>Press Simulate to view results.</about>
5        <command>perl @tool/fermi.pl @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</run>
42
Note: See TracBrowser for help on using the repository browser.