source: trunk/lib/library.xml @ 20

Last change on this file since 20 was 9, checked in by mmc, 19 years ago

Massive changes across the entire toolkit. Rearranged the
XML description to agree better with new documentation and
conventions.

Added a small start of Rappture.interface and Rappture.number
in the python directory. This is the new way of doing Rappture--
by declaring variables directly in the program, not using XML
directly at all.

File size: 1.9 KB
Line 
1<?xml version="1.0"?>
2<library>
3<parameters>
4  <group id="ambient">
5    <number id="temperature">
6      <label>Ambient temperature</label>
7      <units>K</units>
8      <min>0</min>
9      <max>500K</max>
10      <default>300K</default>
11      <preset>
12        <value>300K</value>
13        <label>300K (room temperature)</label>
14      </preset>
15      <preset>
16        <value>77K</value>
17        <label>77K (liquid nitrogen)</label>
18      </preset>
19      <preset>
20        <value>4.2K</value>
21        <label>4.2K (liquid helium)</label>
22      </preset>
23      <preset>
24        <value>0K</value>
25        <label>0 (absolute zero)</label>
26      </preset>
27    </number>
28  </group>
29</parameters>
30<elements>
31  <atom id="H">
32    <color>white</color>
33    <scale>0.7</scale>
34  </atom>
35  <atom id="C">
36    <color>green</color>
37    <scale>1.0</scale>
38  </atom>
39  <atom id="O">
40    <color>red</color>
41    <scale>1.0</scale>
42  </atom>
43  <atom id="N">
44    <color>blue</color>
45    <scale>1.0</scale>
46  </atom>
47  <atom id="S">
48    <color>yellow</color>
49    <scale>1.0</scale>
50  </atom>
51</elements>
52<materials>
53  <material id="GaAs">
54    <formula>GaAs</formula>
55    <bandgap>1.422eV</bandgap>
56    <color>#ccccff</color>
57    <electronAffinity>4.070eV</electronAffinity>
58    <dielectricConstant>12.847</dielectricConstant>
59    <NcEffDensityOfStates>0.462e18/cm3</NcEffDensityOfStates>
60    <NvEffDensityOfStates>0.942e19/cm3</NvEffDensityOfStates>
61  </material>
62  <material id="Al(0.3)Ga(0.7)As">
63    <formula>Al(0.3)Ga(0.7)As</formula>
64    <color>#9999ff</color>
65    <bandgap>1.797eV</bandgap>
66    <electronAffinity>3.827eV</electronAffinity>
67    <dielectricConstant>11.9</dielectricConstant>
68    <NcEffDensityOfStates>0.857e18/cm3</NcEffDensityOfStates>
69    <NvEffDensityOfStates>0.111e20/cm3</NvEffDensityOfStates>
70  </material>
71  <material id="Au">
72    <formula>Au</formula>
73    <color>#ffff66</color>
74  </material>
75</materials>
76</library>
Note: See TracBrowser for help on using the repository browser.