source: trunk/lib/library.xml @ 6

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

Fixed the Tcl library to mirror the API developed for XML
libraries on the Python side. The Tcl Rappture::library
now has methods like "children", "element", "put", etc.
One difference: On the Tcl side, the default -flavor for
element/children is "component", since that works better
in Tcl code. In Python, the default is flavor=object.

Also fixed the Tcl install script to install not just
the tcl/scripts library, but also the ../gui and ../lib
directories.

File size: 1.5 KB
Line 
1<?xml version="1.0"?>
2<library>
3<parameters>
4  <group name="ambient">
5    <number name="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<materials>
31  <material name="GaAs">
32    <formula>GaAs</formula>
33    <bandgap>1.422eV</bandgap>
34    <color>#ccccff</color>
35    <electronAffinity>4.070eV</electronAffinity>
36    <dielectricConstant>12.847</dielectricConstant>
37    <NcEffDensityOfStates>0.462e18/cm3</NcEffDensityOfStates>
38    <NvEffDensityOfStates>0.942e19/cm3</NvEffDensityOfStates>
39  </material>
40  <material name="Al(0.3)Ga(0.7)As">
41    <formula>Al(0.3)Ga(0.7)As</formula>
42    <color>#9999ff</color>
43    <bandgap>1.797eV</bandgap>
44    <electronAffinity>3.827eV</electronAffinity>
45    <dielectricConstant>11.9</dielectricConstant>
46    <NcEffDensityOfStates>0.857e18/cm3</NcEffDensityOfStates>
47    <NvEffDensityOfStates>0.111e20/cm3</NvEffDensityOfStates>
48  </material>
49  <material name="Au">
50    <formula>Au</formula>
51    <color>#ffff66</color>
52  </material>
53</materials>
54</library>
Note: See TracBrowser for help on using the repository browser.