Changeset 3956 for branches/blt4
- Timestamp:
- Sep 24, 2013, 4:38:54 PM (11 years ago)
- Location:
- branches/blt4/examples/zoo
- Files:
-
- 12 added
- 15 deleted
- 62 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/examples/zoo/Makefile.in
r2540 r3956 18 18 boolean \ 19 19 choice \ 20 cloud \21 20 curve \ 22 d atatable\21 drawing \ 23 22 enable \ 24 23 field \ 25 filechoice \26 24 group \ 27 25 histogram \ … … 30 28 integer2 \ 31 29 loader \ 32 loadrun \33 30 log \ 31 mesh \ 34 32 note \ 35 33 number \ … … 41 39 string \ 42 40 structure \ 43 table \ 44 unirect2d 41 table 45 42 46 43 destdir = $(prefix)/examples/zoo 44 45 .PHONY: all install clean distclean 47 46 48 47 all: -
branches/blt4/examples/zoo/binary/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/binary 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/binary/tardir.tcl
r1824 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/boolean/Makefile.in
r1948 r3956 22 22 destdir = $(prefix)/examples/zoo/boolean 23 23 24 .PHONY: all install clean distclean 25 24 26 all: 25 27 26 install: 28 install: all 27 29 $(MKDIR_P) -m 0755 $(destdir) 28 30 for i in $(FILES) ; do \ … … 32 34 clean: 33 35 34 distclean: 36 distclean: clean 35 37 $(RM) Makefile *~ -
branches/blt4/examples/zoo/boolean/boolean.tcl
r875 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/choice/Makefile.in
r1948 r3956 22 22 destdir = $(prefix)/examples/zoo/choice 23 23 24 .PHONY: all install clean distclean 25 24 26 all: 25 27 26 install: 28 install: all 27 29 $(MKDIR_P) -m 0755 $(destdir) 28 30 for i in $(FILES) ; do \ … … 32 34 clean: 33 35 34 distclean: 36 distclean: clean 35 37 $(RM) Makefile *~ -
branches/blt4/examples/zoo/choice/choice.tcl
r1587 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/curve/Makefile.in
r1948 r3956 23 23 destdir = $(prefix)/examples/zoo/curve 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 27 install: 29 install: all 28 30 $(MKDIR_P) -m 0755 $(destdir) 29 31 for i in $(FILES) ; do \ … … 33 35 clean: 34 36 35 distclean: 37 distclean: clean 36 38 $(RM) Makefile *~ -
branches/blt4/examples/zoo/curve/curve.tcl
r1283 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and … … 44 44 "Frequency of the input source." 45 45 $driver put output.curve(multi$factor).xaxis.units "Hz" 46 $driver put output.curve(multi$factor).xaxis.scale "log"46 #$driver put output.curve(multi$factor).xaxis.scale "log" 47 47 $driver put output.curve(multi$factor).yaxis.label "Current" 48 48 $driver put output.curve(multi$factor).yaxis.description \ … … 75 75 } 76 76 77 # generate a bar curve 78 $driver put output.curve(bars).about.label "Bar chart" 79 $driver put output.curve(bars).about.description \ 80 "This is an example of a scatter curve." 81 $driver put output.curve(bars).about.type "bar" 82 $driver put output.curve(bars).xaxis.label "Time" 83 $driver put output.curve(bars).xaxis.description "Time during the experiment." 84 $driver put output.curve(bars).xaxis.units "s" 85 $driver put output.curve(bars).yaxis.label "Voltage v(11)" 86 $driver put output.curve(bars).yaxis.description "Output from the amplifier." 87 $driver put output.curve(bars).yaxis.units "V" 88 89 for {set x 0} {$x < $npts} {incr x} { 90 set y [expr {sin($x)/(1+$x)}] 91 $driver put -append yes output.curve(bars).component.xy "$x $y\n" 92 } 93 94 # generate mixed curves on the same plot 95 set deg2rad 0.017453292519943295 96 97 $driver put output.curve(line).about.group "Mixed element types" 98 $driver put output.curve(line).about.label "Sine" 99 $driver put output.curve(line).about.description \ 100 "This is an example of a mixed curves on the same plot." 101 $driver put output.curve(line).xaxis.label "Degrees" 102 #$driver put output.curve(line).yaxis.label "Sine" 103 $driver put output.curve(line).about.type "line" 104 for {set x 0} {$x <= 360} {incr x 30} { 105 set y [expr {sin($x*$deg2rad)}] 106 $driver put -append yes output.curve(line).component.xy "$x $y\n" 107 } 108 109 $driver put output.curve(bar).about.group "Mixed element types" 110 $driver put output.curve(bar).about.label "Cosine" 111 $driver put output.curve(bar).about.description \ 112 "This is an example of a mixed curves on the same plot." 113 $driver put output.curve(bar).xaxis.label "Degrees" 114 #$driver put output.curve(bar).yaxis.label "Cosine" 115 $driver put output.curve(bar).about.type "bar" 116 $driver put output.curve(bar).about.style "-barwidth 24.0" 117 118 for {set x 0} {$x <= 360} {incr x 30} { 119 set y [expr {cos($x*$deg2rad)}] 120 $driver put -append yes output.curve(bar).component.xy "$x $y\n" 121 } 122 123 $driver put output.curve(point).about.group "Mixed element types" 124 $driver put output.curve(point).about.label "Random" 125 $driver put output.curve(point).about.description \ 126 "This is an example of a mixed curves on the same plot." 127 $driver put output.curve(point).xaxis.label "Degrees" 128 #$driver put output.curve(point).yaxis.label "Random" 129 $driver put output.curve(point).about.type "scatter" 130 for {set x 0} {$x <= 360} {incr x 10} { 131 set y [expr {(rand() * 2.0) - 1}] 132 $driver put -append yes output.curve(point).component.xy "$x $y\n" 133 } 134 77 135 # save the updated XML describing the run... 78 136 Rappture::result $driver -
branches/blt4/examples/zoo/drawing/Makefile.in
r2966 r3956 21 21 destdir = $(prefix)/examples/zoo/drawing 22 22 23 .PHONY: all install install-files install-images clean distclean 24 23 25 all: 24 26 25 install: 27 install: all install-files install-images 28 29 install-files: 26 30 $(MKDIR_P) -m 0755 $(destdir) 27 31 for i in $(FILES) ; do \ … … 29 33 done 30 34 35 install-images: 36 $(MKDIR_P) -m 0755 $(destdir)/images 37 for i in $(srcdir)/images/* ; do \ 38 $(INSTALL) -m 0444 $$i $(destdir)/images ; \ 39 done 40 31 41 clean: 32 42 33 distclean: 43 distclean: clean 34 44 $(RM) Makefile *~ -
branches/blt4/examples/zoo/drawing/drawing.tcl
r2966 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and … … 13 13 set driver [Rappture::library [lindex $argv 0]] 14 14 15 set title [$driver get input.(title).current] 16 set indeck [$driver get input.(indeck).current] 15 set value [$driver get input.choice(analysis).current] 16 append out "Analysis Choice: $value\n" 17 set value [$driver get input.number(trapezoid_top).current] 18 append out "Trapezoid Top: $value\n" 19 set value [$driver get input.number(substrate_length).current] 20 append out "Substrate Length: $value\n" 21 set value [$driver get input.number(feature_length).current] 22 append out "Feature Length: $value\n" 23 set value [$driver get input.number(feature_height).current] 24 append out "Feature Height: $value\n" 25 set value [$driver get input.string(indeck).current] 26 append out "String: $value\n" 17 27 18 $driver put output.string(outt).about.label "Echo of title" 19 $driver put output.string(outt).current $title 20 $driver put output.string(outi).about.label "Echo of input" 21 $driver put output.string(outi).current $indeck 28 $driver put output.string(out).about.label "Echo of inputs" 29 $driver put output.string(out).current $out 22 30 23 31 # save the updated XML describing the run... -
branches/blt4/examples/zoo/drawing/tool.xml
r3102 r3956 1 1 <?xml version="1.0"?> 2 2 <run> 3 <tool>3 <tool> 4 4 <title>drawing</title> 5 5 <about>Example of a Rappture <drawing> object. … … 13 13 tclsh @tool/drawing.tcl @driver 14 14 </command> 15 </tool> 16 <input> 15 <layout>wizard</layout> 16 </tool> 17 <input> 18 <boolean id="trapezoid_top_enable"> 19 <about> <label>Enable trapezoid top</label> </about> 20 <default>off</default> 21 </boolean> 17 22 <drawing> 18 <about> 19 <label>Title</label> 20 <description>This text will be used as the title for all plots.</description> 21 <bbox>-.1 0 1.1 1</bbox> 22 </about> 23 <components> 24 <line> 25 <coords>.25 .75 .75 .75</coords> 26 <color>black</color> 27 <linewidth>2</linewidth> 28 <arrow>both</arrow> 29 </line> 30 <text> 31 <coords>.5 .8</coords> 32 <color>black</color> 33 <text>Feature Length = 50 nm</text> 34 <font>Arial 9</font> 35 <anchor>c</anchor> 36 </text> 37 <line> 38 <coords>.78 .4 .78 .7</coords> 39 <color>black</color> 40 <linewidth>2</linewidth> 41 <arrow>both</arrow> 42 </line> 43 <text> 44 <coords>.82 .48</coords> 45 <color>black</color> 46 <text>Feature 47 Height = 30 nm</text> 48 <font>Arial 9</font> 49 <anchor>nw</anchor> 50 </text> 51 <line> 52 <coords>0 .9 1 .9</coords> 53 <color>black</color> 54 <linewidth>2</linewidth> 55 <arrow>both</arrow> 56 </line> 57 <text> 58 <coords>.5 .91</coords> 59 <color>black</color> 60 <text>Substrate Length = 100 nm</text> 61 <font>Arial 9</font> 62 <anchor>n</anchor> 63 </text> 64 <line> 65 <coords>.35 .35 .65 .35</coords> 66 <color>black</color> 67 <linewidth>2</linewidth> 68 <arrow>both</arrow> 69 </line> 70 <text> 71 <coords>.5 .30</coords> 72 <color>black</color> 73 <text>Length of Trapezoid Top = 30 nm</text> 74 <font>Arial 9</font> 75 <anchor>s</anchor> 76 </text> 77 <line id="polyline"> 78 <coords>0 .7 .25 .7 .35 .4 .65 .4 .75 .7 1 .7</coords> 79 <color>red</color> 80 <linewidth>2</linewidth> 81 </line> 82 <grid> 83 <xcoords>0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1</xcoords> 84 <ycoords>.2 .3 .4 .5 .6 .7</ycoords> 85 <color>grey70</color> 86 <linewidth>1</linewidth> 87 <dash>4 2</dash> 88 </grid> 89 </components> 23 <about> 24 <label>Title</label> 25 <description>This text will be used as the title for all plots.</description> 26 </about> 27 <background> 28 <color>#FFFCDA</color> 29 <coordinates>-.1 0 1.1 1</coordinates> 30 <width>800</width> 31 <height>500</height> 32 </background> 33 <substitutions> 34 <variable> 35 <name>string</name> 36 <path>input.string(indeck)</path> 37 </variable> 38 <variable> 39 <name>feature_height</name> 40 <path>input.number(feature_height)</path> 41 </variable> 42 <variable> 43 <name>feature_length</name> 44 <path>input.number(feature_length)</path> 45 </variable> 46 <variable> 47 <name>trapezoid_top</name> 48 <path>input.number(trapezoid_top)</path> 49 </variable> 50 <variable> 51 <name>trapezoid_top_color</name> 52 <path>input.boolean(trapezoid_top_enable)</path> 53 <map><from>no</from><to>gray</to></map> 54 <map><from>yes</from><to>black</to></map> 55 </variable> 56 <variable> 57 <name>substrate_length</name> 58 <path>input.number(substrate_length)</path> 59 </variable> 60 <variable> 61 <name>analysis</name> 62 <path>input.choice(analysis)</path> 63 </variable> 64 </substitutions> 65 <components> 66 <grid> 67 <xcoords>0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1</xcoords> 68 <ycoords>.2 .3 .4 .5 .6 .7</ycoords> 69 <color>grey70</color> 70 <linewidth>1</linewidth> 71 <dash>4 2</dash> 72 </grid> 73 <line id="feature_length"> 74 <coords>.25 .72 .75 .72</coords> 75 <color>black</color> 76 <linewidth>2</linewidth> 77 <arrow>both</arrow> 78 </line> 79 <text id="feature_length"> 80 <coords>.5 .73</coords> 81 <color>black</color> 82 <text>Feature Length = ${feature_length}</text> 83 <font>Arial 11</font> 84 <anchor>n</anchor> 85 <hotspot>inline</hotspot> 86 </text> 87 <line id="feature_height"> 88 <coords>.76 .4 .76 .7</coords> 89 <color>black</color> 90 <linewidth>2</linewidth> 91 <arrow>both</arrow> 92 </line> 93 <text id="feature_height"> 94 <coords>.77 .48</coords> 95 <color>black</color> 96 <text>Feature 97 Height = ${feature_height}</text> 98 <font>Arial 11</font> 99 <anchor>nw</anchor> 100 </text> 101 <line id="substrate_length"> 102 <coords>0 .8 1 .8</coords> 103 <color>black</color> 104 <linewidth>2</linewidth> 105 <arrow>both</arrow> 106 </line> 107 <text id="substrate_length"> 108 <coords>.5 .81</coords> 109 <color>black</color> 110 <text>Substrate Length = ${substrate_length}</text> 111 <font>Arial 11</font> 112 <hotspot>inline</hotspot> 113 <anchor>n</anchor> 114 </text> 115 <line id="trapezoid_top"> 116 <coords>.35 .38 .65 .38</coords> 117 <color>${trapezoid_top_color}</color> 118 <linewidth>2</linewidth> 119 <arrow>both</arrow> 120 </line> 121 <text id="trapezoid_top"> 122 <coords>.5 .35</coords> 123 <color>${trapezoid_top_color}</color> 124 <text>Length of Trapezoid Top = ${trapezoid_top}</text> 125 <font>Arial 11</font> 126 <anchor>s</anchor> 127 <hotspot>inline</hotspot> 128 </text> 129 <line id="polyline"> 130 <coords>0 .7 .25 .7 .35 .4 .65 .4 .75 .7 1 .7</coords> 131 <color>red</color> 132 <linewidth>2</linewidth> 133 </line> 134 <rectangle id="border"> 135 <coords>-0.05 0.05 0.3 0.35</coords> 136 <outline>black</outline> 137 <linewidth>5</linewidth> 138 </rectangle> 139 <picture id="analysis"> 140 <coords>-0.05 0.05 0.3 0.35</coords> 141 <contents>file://images/${analysis}_F-d.png</contents> 142 </picture> 143 <text id="analysis"> 144 <coords>.125 .36</coords> 145 <color>black</color> 146 <text>${analysis}</text> 147 <font>Arial 11</font> 148 <anchor>n</anchor> 149 </text> 150 <text id="string"> 151 <coords>-.03 .85</coords> 152 <color>black</color> 153 <text>${string}</text> 154 <font>Arial 11</font> 155 <anchor>nw</anchor> 156 <hotspot>inline</hotspot> 157 </text> 158 <text> 159 <coords>.9 .3</coords> 160 <text>Info</text> 161 <anchor>e</anchor> 162 </text> 163 <hotspot> 164 <coords>.91 .3</coords> 165 <controls>input.string(title)</controls> 166 <controls>input.boolean(cmtcntl)</controls> 167 <controls>input.string(comments)</controls> 168 </hotspot> 169 </components> 90 170 </drawing> 91 92 <separator/> 93 171 <number id="feature_height"> 172 <about> 173 <label>Feature Height</label> 174 <description>Height of feature.</description> 175 </about> 176 <units>nm</units> 177 <min>10</min> 178 <max>70</max> 179 <default>30</default> 180 </number> 181 <number id="feature_length"> 182 <about> 183 <label>Feature Length</label> 184 <description>Length of feature.</description> 185 </about> 186 <units>nm</units> 187 <min>10</min> 188 <max>100</max> 189 <default>50</default> 190 </number> 191 <number id="substrate_length"> 192 <about> 193 <label>Substrate Length</label> 194 <description>Length of substrate.</description> 195 </about> 196 <units>nm</units> 197 <min>10</min> 198 <max>500</max> 199 <default>100</default> 200 </number> 201 <number id="trapezoid_top"> 202 <about> 203 <label>Trapezoid Top</label> 204 <description>Width of the Trapezoid Top.</description> 205 <enable>input.boolean(trapezoid_top_enable)</enable> 206 </about> 207 <units>nm</units> 208 <min>10</min> 209 <max>70</max> 210 <default>30</default> 211 </number> 212 <choice id="analysis"> 213 <about> 214 <label>Type of Analysis</label> 215 <description>Determines the type of analysis to perform.</description> 216 </about> 217 <option> 218 <about> 219 <label>Hertz</label> 220 <description>Hertz analysis</description> 221 </about> 222 </option> 223 <option> 224 <about> 225 <label>LinCon</label> 226 <description>LinCon analysis</description> 227 </about> 228 </option> 229 <option> 230 <about> 231 <label>Chadwick</label> 232 <description>Chadwick analysis</description> 233 </about> 234 </option> 235 <option> 236 <about> 237 <label>DMT</label> 238 <description>DMT analysis</description> 239 </about> 240 </option> 241 <default>Chadwick</default> 242 </choice> 94 243 <string id="indeck"> 95 96 97 98 99 100 101 244 <about> 245 <label>Input</label> 246 <description>This is the control file for the program.</description> 247 <hints>EXAMPLE: .print ac vm(11) mag(i(vcc))</hints> 248 </about> 249 <size>40x10</size> 250 <default>Enter your SPICE commands 102 251 in this area. Right-click 103 252 for a menu of editing options.</default> 104 253 </string> 105 </input> 254 <string id="title"> 255 <about><label>Title</label></about> 256 </string> 257 <boolean id="cmtcntl"> 258 <about><label>Comments</label></about> 259 <default>on</default> 260 </boolean> 261 <string id="comments"> 262 <about> 263 <label>Info</label> 264 <enable>input.boolean(cmtcntl)</enable> 265 </about> 266 <size>40x3</size> 267 </string> 268 </input> 106 269 </run> -
branches/blt4/examples/zoo/enable/Makefile.in
r2936 r3956 22 22 destdir = $(prefix)/examples/zoo/enable 23 23 24 .PHONY: all install clean distclean 25 24 26 all: 25 27 26 install: 28 install: all 27 29 $(MKDIR_P) -m 0755 $(destdir) 28 30 for i in $(FILES) ; do \ … … 32 34 clean: 33 35 34 distclean: 36 distclean: clean 35 37 $(RM) Makefile *~ -
branches/blt4/examples/zoo/enable/enable.tcl
r437 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/field/Makefile.in
r1948 r3956 16 16 17 17 FILES = \ 18 $(srcdir)/2 dfield.gif\19 $(srcdir)/3 dfield.gif\18 $(srcdir)/2DField.jpg \ 19 $(srcdir)/3DField.jpg \ 20 20 $(srcdir)/field.tcl \ 21 21 $(srcdir)/tool.xml … … 23 23 destdir = $(prefix)/examples/zoo/field 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 27 install: 29 install: all 28 30 $(MKDIR_P) -m 0755 $(destdir) 29 31 for i in $(FILES) ; do \ … … 33 35 clean: 34 36 35 distclean: 37 distclean: clean 36 38 $(RM) Makefile *~ -
branches/blt4/examples/zoo/field/field.tcl
r3026 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and … … 18 18 19 19 # 20 # Generate the2D mesh and field values...20 # Generate a uniform grid 2D mesh and field values... 21 21 # 22 22 23 $driver put output.cloud(m2d).about.label "2D Mesh" 24 $driver put output.cloud(m2d).units "um" 25 $driver put output.cloud(m2d).hide "yes" 23 $driver put output.mesh(m2d).about.label "2D Mesh" 24 $driver put output.mesh(m2d).dim 2 25 $driver put output.mesh(m2d).units "um" 26 $driver put output.mesh(m2d).hide "yes" 27 $driver put output.mesh(m2d).grid.xaxis.min 0.0 28 $driver put output.mesh(m2d).grid.xaxis.max 4.0 29 $driver put output.mesh(m2d).grid.xaxis.numpoints 5 30 $driver put output.mesh(m2d).grid.yaxis.min 0.0 31 $driver put output.mesh(m2d).grid.yaxis.max 4.0 32 $driver put output.mesh(m2d).grid.yaxis.numpoints 5 26 33 27 34 $driver put output.field(f2d).about.label "2D Field" 28 $driver put output.field(f2d).component.mesh "output. cloud(m2d)"29 set n 0 35 $driver put output.field(f2d).component.mesh "output.mesh(m2d)" 36 30 37 set z 1 31 foreach {x y} { 32 0 0 33 1 0 34 2 0 35 3 0 36 4 0 37 0 1 38 1 1 39 2 1 40 3 1 41 4 1 42 0 2 43 1 2 44 2 2 45 3 2 46 4 2 47 0 3 48 1 3 49 2 3 50 3 3 51 4 3 52 0 4 53 1 4 54 2 4 55 3 4 56 4 4 57 } { 58 $driver put -append yes output.cloud(m2d).points "$x $y\n" 59 incr n 60 61 set fval [expr $formula] 62 $driver put -append yes output.field(f2d).component.values "$fval\n" 38 for {set y 0} {$y < 5} {incr y} { 39 for {set x 0} {$x < 5} {incr x} { 40 set fval [expr $formula] 41 $driver put -append yes output.field(f2d).component.values "$fval\n" 42 } 63 43 } 64 44 … … 68 48 set vizmethod [$driver get input.choice(3D).current] 69 49 70 # 71 # Generate the 3D mesh and field values... 72 # 73 $driver put output.field(f3d).about.label "3D Field" 74 $driver put output.field(f3d).component.style "color blue:yellow:red" 75 if {$vizmethod == "vtk"} { 76 set n 0 77 foreach {x y z} { 78 0 0 0 79 1 0 0 80 2 0 0 81 3 0 0 82 4 0 0 83 0 1 0 84 1 1 0 85 2 1 0 86 3 1 0 87 4 1 0 88 0 2 0 89 1 2 0 90 2 2 0 91 3 2 0 92 4 2 0 93 0 3 0 94 1 3 0 95 2 3 0 96 3 3 0 97 4 3 0 98 0 4 0 99 1 4 0 100 2 4 0 101 3 4 0 102 4 4 0 103 0 0 1 104 1 0 1 105 2 0 1 106 3 0 1 107 4 0 1 108 0 1 1 109 1 1 1 110 2 1 1 111 3 1 1 112 4 1 1 113 0 2 1 114 1 2 1 115 2 2 1 116 3 2 1 117 4 2 1 118 0 3 1 119 1 3 1 120 2 3 1 121 3 3 1 122 4 3 1 123 0 4 1 124 1 4 1 125 2 4 1 126 3 4 1 127 4 4 1 128 } { 129 $driver put output.mesh(m3d).node($n) "$x $y $z" 130 incr n 50 if {$vizmethod == "grid"} { 51 # 52 # Generate a uniform grid 3D mesh and field values... 53 # 54 $driver put output.mesh(m3d).about.label "3D Uniform Mesh" 55 $driver put output.mesh(m3d).dim 3 56 $driver put output.mesh(m3d).units "um" 57 $driver put output.mesh(m3d).hide "yes" 58 $driver put output.mesh(m3d).grid.xaxis.min 0.0 59 $driver put output.mesh(m3d).grid.xaxis.max 4.0 60 $driver put output.mesh(m3d).grid.xaxis.numpoints 5 61 $driver put output.mesh(m3d).grid.yaxis.min 0.0 62 $driver put output.mesh(m3d).grid.yaxis.max 4.0 63 $driver put output.mesh(m3d).grid.yaxis.numpoints 5 64 $driver put output.mesh(m3d).grid.zaxis.min 0.0 65 $driver put output.mesh(m3d).grid.zaxis.max 1.0 66 $driver put output.mesh(m3d).grid.zaxis.numpoints 2 131 67 132 set fval [expr $formula] 133 $driver put -append yes output.field(f3d).component.values "$fval\n" 68 $driver put output.field(f3d).about.label "3D Field" 69 $driver put output.field(f3d).component.mesh "output.mesh(m3d)" 70 71 for {set z 0} {$z < 2} {incr z} { 72 for {set y 0} {$y < 5} {incr y} { 73 for {set x 0} {$x < 5} {incr x} { 74 set fval [expr $formula] 75 $driver put -append yes output.field(f3d).component.values "$fval\n" 76 } 77 } 134 78 } 79 } 135 80 136 # meshes also need element descriptions 137 $driver put output.mesh(m3d).about.label "3D Mesh" 81 if {$vizmethod == "unstructured"} { 82 # 83 # Generate an unstructured grid 3D mesh and field values... 84 # 85 $driver put output.mesh(m3d).about.label "3D Unstructured Mesh" 86 $driver put output.mesh(m3d).dim 3 138 87 $driver put output.mesh(m3d).units "um" 139 88 $driver put output.mesh(m3d).hide "yes" 140 89 141 $driver put output.mesh(m3d).element(0).nodes "0 1 5 6 25 26 30 31" 142 $driver put output.mesh(m3d).element(1).nodes "1 2 6 7 26 27 31 32" 143 $driver put output.mesh(m3d).element(2).nodes "2 3 7 8 27 28 32 33" 144 $driver put output.mesh(m3d).element(3).nodes "3 4 8 9 28 29 33 34" 145 $driver put output.mesh(m3d).element(4).nodes "5 6 10 11 30 31 35 36" 146 $driver put output.mesh(m3d).element(5).nodes "8 9 13 14 33 34 38 39" 147 $driver put output.mesh(m3d).element(6).nodes "10 11 15 16 35 36 40 41" 148 $driver put output.mesh(m3d).element(7).nodes "13 14 18 19 38 39 43 44" 149 $driver put output.mesh(m3d).element(8).nodes "15 16 20 21 40 41 45 46" 150 $driver put output.mesh(m3d).element(9).nodes "16 17 21 22 41 42 46 47" 151 $driver put output.mesh(m3d).element(10).nodes "17 18 22 23 42 43 47 48" 152 $driver put output.mesh(m3d).element(12).nodes "18 19 23 24 43 44 48 49" 90 $driver put output.field(f3d).about.label "3D Field" 91 $driver put output.field(f3d).component.mesh "output.mesh(m3d)" 153 92 154 $driver put output.field(f3d).component.mesh "output.mesh(m3d)" 93 for {set z 0} {$z < 2} {incr z} { 94 for {set y 0} {$y < 5} {incr y} { 95 for {set x 0} {$x < 5} {incr x} { 96 $driver put -append yes output.mesh(m3d).unstructured.points "$x $y $z\n" 97 set fval [expr $formula] 98 $driver put -append yes output.field(f3d).component.values "$fval\n" 99 } 100 } 101 } 102 103 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "0 1 6 5 25 26 31 30\n" 104 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "1 2 7 6 26 27 32 31\n" 105 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "2 3 8 7 27 28 33 32\n" 106 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "3 4 9 8 28 29 34 33\n" 107 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "5 6 11 10 30 31 36 35\n" 108 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "8 9 14 13 33 34 39 38\n" 109 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "10 11 16 15 35 36 41 40\n" 110 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "13 14 19 18 38 39 44 43\n" 111 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "15 16 21 20 40 41 46 45\n" 112 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "16 17 22 21 41 42 47 46\n" 113 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "17 18 23 22 42 43 48 47\n" 114 $driver put -append yes output.mesh(m3d).unstructured.hexahedrons "18 19 24 23 43 44 49 48\n" 155 115 } 156 116 157 # 158 # Generate the 3D mesh in OpenDX format... 159 # 160 if {$vizmethod == "nanovis"} { 161 set dx "object 1 class gridpositions counts 5 5 3 117 if {$vizmethod == "dx"} { 118 # 119 # Generate a uniform 3D mesh in OpenDX format... 120 # 121 $driver put output.field(f3d).about.label "3D Field" 122 $driver put output.field(f3d).component.style "-color blue:yellow:red -levels 6" 123 124 set dx "object 1 class gridpositions counts 5 5 2 125 origin 0 0 0 162 126 delta 1 0 0 163 127 delta 0 1 0 164 128 delta 0 0 1 165 object 2 class gridconnections counts 5 5 3166 object 3 class array type double rank 0 items 75data follows129 object 2 class gridconnections counts 5 5 2 130 object 3 class array type double rank 0 items 50 data follows 167 131 " 168 for {set z 0} {$z < 3} {incr z} { 132 # Axis ordering for OpenDX is reversed (z fastest) 133 for {set x 0} {$x < 5} {incr x} { 169 134 for {set y 0} {$y < 5} {incr y} { 170 for {set x 0} {$x < 5} {incr x} {135 for {set z 0} {$z < 2} {incr z} { 171 136 set fval [expr $formula] 172 137 append dx "$fval\n" -
branches/blt4/examples/zoo/field/test/defaults.xml
r1256 r3956 5 5 <about>Example of a Rappture <field> object. 6 6 7 Fields are a set of values defined on a mesh of some sort (see <mesh> and <cloud> elementsfor details).7 Fields are a set of values defined on a mesh of some sort (see <mesh> element for details). 8 8 9 9 When you click the Simulate button, the inputs will be used to generate output fields. … … 16 16 <filesize>unlimited</filesize> 17 17 </limits> 18 <name>Workspace (800x600)</name>19 18 <version> 20 19 <rappture> 21 <revision>$LastChangedRevision: 1018$</revision>22 <modified>$LastChangedDate: 20 08-06-08 21:24:34 -0400 (Sun, 08 Jun 2008) $</modified>20 <revision>$LastChangedRevision: 3362 $</revision> 21 <modified>$LastChangedDate: 2013-02-26 16:34:35 -0500 (Tue, 26 Feb 2013) $</modified> 23 22 <language>tcl</language> 24 23 </rappture> … … 39 38 <about> 40 39 <label>3D Rendering</label> 41 <description>Determines the me thod used for 3D rendering--either the built-in Vtk library or the external nanoVIS engine.</description>40 <description>Determines the mesh type and method used for 3D rendering</description> 42 41 </about> 43 42 <option> 44 43 <about> 45 <label> Vtk library</label>46 <description> This is the older visualization solution, implemented in Vtk and linked into the Rappture environment.</description>44 <label>Isosurface (Uniform Grid)</label> 45 <description>Renders a series of isosurfaces using a uniform 3D grid mesh.</description> 47 46 </about> 48 <value> vtk</value>47 <value>grid</value> 49 48 </option> 50 49 <option> 51 50 <about> 52 <label> nanoVIS</label>53 <description> This is the newer nanoVIS engine running on accelerated hardware in the nanoHUB environment.</description>51 <label>Isosurface (Unstructured Grid)</label> 52 <description>Renders a series of isosurfaces using an unstructured 3D grid mesh with a hole.</description> 54 53 </about> 55 <value> nanovis</value>54 <value>unstructured</value> 56 55 </option> 57 <default>nanovis</default> 58 <current>nanovis</current> 56 <option> 57 <about> 58 <label>Volume (OpenDX)</label> 59 <description>Renders a 3D volume using the deprecated OpenDX mesh/field format.</description> 60 </about> 61 <value>dx</value> 62 </option> 63 <default>grid</default> 64 <current>grid</current> 59 65 </choice> 60 66 </input> 61 67 <output> 62 < cloudid="m2d">68 <mesh id="m2d"> 63 69 <about> 64 70 <label>2D Mesh</label> 65 71 </about> 72 <dim>2</dim> 66 73 <units>um</units> 67 74 <hide>yes</hide> 68 <points>0 0 69 1 0 70 2 0 71 3 0 72 4 0 73 0 1 74 1 1 75 2 1 76 3 1 77 4 1 78 0 2 79 1 2 80 2 2 81 3 2 82 4 2 83 0 3 84 1 3 85 2 3 86 3 3 87 4 3 88 0 4 89 1 4 90 2 4 91 3 4 92 4 4 93 </points> 94 </cloud> 75 <grid> 76 <xaxis> 77 <min>0</min> 78 <max>4</max> 79 <numpoints>5</numpoints> 80 </xaxis> 81 <yaxis> 82 <min>0</min> 83 <max>4</max> 84 <numpoints>5</numpoints> 85 </yaxis> 86 </grid> 87 </mesh> 95 88 <field id="f2d"> 96 89 <about> … … 98 91 </about> 99 92 <component> 100 <mesh>output. cloud(m2d)</mesh>93 <mesh>output.mesh(m2d)</mesh> 101 94 <values>0 102 95 0 … … 127 120 </component> 128 121 </field> 122 <mesh id="m3d"> 123 <about> 124 <label>3D Uniform Mesh</label> 125 </about> 126 <dim>3</dim> 127 <units>um</units> 128 <hide>yes</hide> 129 <grid> 130 <xaxis> 131 <min>0</min> 132 <max>4</max> 133 <numpoints>5</numpoints> 134 </xaxis> 135 <yaxis> 136 <min>0</min> 137 <max>4</max> 138 <numpoints>5</numpoints> 139 </yaxis> 140 <zaxis> 141 <min>0</min> 142 <max>1</max> 143 <numpoints>2</numpoints> 144 </zaxis> 145 </grid> 146 </mesh> 129 147 <field id="f3d"> 130 148 <about> … … 132 150 </about> 133 151 <component> 134 <style>-color blue:yellow:red</style> 135 <dx>H4sICHNYP0kAA2R4MTIyODg4ODE3OQClUdGOwiAQfN+v2PAFLWiv9zm0rA2KbAPUi39/W0Wt 136 3uOxCczODkMy8HCksWCLY7A545S8mzn74jlmHHmJJeNeyoCjUKwIG2wqbtbuiaUDvrvpjdvI 137 MQr3169qTdXalOwVy3UmdLwMgTDZeBJXX+ic8WuPzso7Bw6BfzI0/6oWNBjYCdKyd9ALMnJ+ 138 Q6sF7oQQ0HZvl17S7by7oR706tavnCCjwZaS/LAUQuVoVpiljROqZ7oKUFZNQSWalmATvsJ/ 139 MJsAVc3q4Cm42/WRzzNHimVrjBcbFpLv+FC8Od01+lOzhvwYGvgFb6Ijqx4CAAA= 140 </dx> 152 <mesh>output.mesh(m3d)</mesh> 153 <values>0 154 0 155 0 156 0 157 0 158 0 159 0 160 0 161 0 162 0 163 0 164 0 165 0 166 0 167 0 168 0 169 0 170 0 171 0 172 0 173 0 174 0 175 0 176 0 177 0 178 0 179 0 180 0 181 0 182 0 183 0 184 1 185 2 186 3 187 4 188 0 189 2 190 4 191 6 192 8 193 0 194 3 195 6 196 9 197 12 198 0 199 4 200 8 201 12 202 16 203 </values> 141 204 </component> 142 205 </field> 143 <time> Wed Dec 10 00:49:39 EST 2008</time>206 <time>Sat Jun 15 12:14:09 AM EDT 2013</time> 144 207 <status>ok</status> 145 <user> dkearney</user>208 <user>ldelgass</user> 146 209 </output> 147 210 </run> -
branches/blt4/examples/zoo/field/tool.xml
r1587 r3956 5 5 <about>Example of a Rappture <field> object. 6 6 7 Fields are a set of values defined on a mesh of some sort (see <mesh> and <cloud> elementsfor details).7 Fields are a set of values defined on a mesh of some sort (see <mesh> element for details). 8 8 9 9 When you click the Simulate button, the inputs will be used to generate output fields. … … 30 30 <about> 31 31 <label>3D Rendering</label> 32 <description>Determines the me thod used for 3D rendering--either the built-in Vtk library or the external nanoVIS engine.</description>32 <description>Determines the mesh type and method used for 3D rendering</description> 33 33 </about> 34 34 <option> 35 35 <about> 36 <label> Vtk library</label>37 <description> This is the older visualization solution, implemented in Vtk and linked into the Rappture environment.</description>36 <label>Isosurface (Uniform Grid)</label> 37 <description>Renders a series of isosurfaces using a uniform 3D grid mesh.</description> 38 38 </about> 39 <value> vtk</value>39 <value>grid</value> 40 40 </option> 41 41 <option> 42 42 <about> 43 <label> nanoVIS</label>44 <description> This is the newer nanoVIS engine running on accelerated hardware in the nanoHUB environment.</description>43 <label>Isosurface (Unstructured Grid)</label> 44 <description>Renders a series of isosurfaces using an unstructured 3D grid mesh with a hole.</description> 45 45 </about> 46 <value> nanovis</value>46 <value>unstructured</value> 47 47 </option> 48 <default>nanovis</default> 48 <option> 49 <about> 50 <label>Volume (OpenDX)</label> 51 <description>Renders a 3D volume using the deprecated OpenDX mesh/field format.</description> 52 </about> 53 <value>dx</value> 54 </option> 55 <default>grid</default> 49 56 </choice> 50 57 </input> -
branches/blt4/examples/zoo/group/Makefile.in
r1948 r3956 23 23 destdir = $(prefix)/examples/zoo/group 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 27 install: 29 install: all 28 30 $(MKDIR_P) -m 0755 $(destdir) 29 31 for i in $(FILES) ; do \ … … 33 35 clean: 34 36 35 distclean: 37 distclean: clean 36 38 $(RM) Makefile *~ -
branches/blt4/examples/zoo/group/group.tcl
r115 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/group/tool.xml
r72 r3956 29 29 <about> 30 30 <label>Minority carrier lifetimes</label> 31 <layout>horizontal</layout> 31 32 </about> 32 33 … … 49 50 <default>300K</default> 50 51 </number> 52 <group id="loc"> 53 <about> <layout>sentence:Location = (${lat},${long})</layout> </about> 54 <number id="lat"> 55 <about> <label>Latitude</label> </about> 56 <default>40.42</default> 57 </number> 58 <number id="long"> 59 <about> <label>Longitude</label> </about> 60 <default>-86.91</default> 61 </number> 62 </group> 51 63 </group> 52 64 </group> -
branches/blt4/examples/zoo/histogram/Makefile.in
r2296 r3956 23 23 destdir = $(prefix)/examples/zoo/histogram 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 27 install: 29 install: all 28 30 $(MKDIR_P) -m 0755 $(destdir) 29 31 for i in $(FILES) ; do \ … … 33 35 clean: 34 36 35 distclean: 37 distclean: clean 36 38 $(RM) Makefile *~ -
branches/blt4/examples/zoo/histogram/histogram.tcl
r2540 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/image/Makefile.in
r1948 r3956 23 23 destdir = $(prefix)/examples/zoo/image 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 $(MAKE) -C examples all -
branches/blt4/examples/zoo/image/docs/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/image/docs 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/image/examples/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/image/examples 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/image/image.tcl
r2540 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and … … 12 12 wm withdraw . 13 13 package require BLT 14 package require Img 14 15 15 16 # open the XML file containing the run parameters … … 20 21 set angle [Rappture::Units::convert $angle -to deg -units off] 21 22 22 set imh [image create p icture-data $data]23 set dest [image create p icture]24 $dest rotate $imh$angle23 set imh [image create photo -data $data] 24 set dest [image create photo] 25 blt::winop image rotate $imh $dest $angle 25 26 26 27 $driver put output.image(outi).about.label "Rotated Image" 27 $driver put output.image(outi).current [$dest export jpg]28 $driver put output.image(outi).current [$dest data -format jpeg] 28 29 29 30 # add a little html note -
branches/blt4/examples/zoo/integer/Makefile.in
r1948 r3956 22 22 destdir = $(prefix)/examples/zoo/integer 23 23 24 .PHONY: all install clean distclean 25 24 26 all: 25 27 26 install: 28 install: all 27 29 $(MKDIR_P) -m 0755 $(destdir) 28 30 for i in $(FILES) ; do \ … … 32 34 clean: 33 35 34 distclean: 36 distclean: clean 35 37 $(RM) Makefile *~ -
branches/blt4/examples/zoo/integer/integer.tcl
r1587 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/integer2/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/integer2 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/integer2/integer.tcl
r1075 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Martin Hunt, Purdue University 5 # Copyright (c) 200 8 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/loader/Makefile.in
r1948 r3956 24 24 destdir = $(prefix)/examples/zoo/loader 25 25 26 .PHONY: all install clean distclean 27 26 28 all: 27 29 $(MAKE) -C examples all -
branches/blt4/examples/zoo/loader/examples/Makefile.in
r1948 r3956 23 23 destdir = $(prefix)/examples/zoo/loader/examples 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 27 install: 29 install: all 28 30 $(MKDIR_P) -m 0755 $(destdir) 29 31 for i in $(FILES) ; do \ … … 33 35 clean: 34 36 35 distclean: 37 distclean: clean 36 38 $(RM) Makefile *~ -
branches/blt4/examples/zoo/loader/loader.tcl
r115 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/log/Makefile.in
r1948 r3956 22 22 destdir = $(prefix)/examples/zoo/log 23 23 24 .PHONY: all install clean distclean 25 24 26 all: 25 27 26 install: 28 install: all 27 29 $(MKDIR_P) -m 0755 $(destdir) 28 30 for i in $(FILES) ; do \ … … 32 34 clean: 33 35 34 distclean: 36 distclean: clean 35 37 $(RM) Makefile *~ -
branches/blt4/examples/zoo/log/log.tcl
r115 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/note/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/note 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 $(MAKE) -C docs all -
branches/blt4/examples/zoo/note/docs/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/note/docs 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/note/note.tcl
r794 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 07 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/note/tool.xml
r794 r3956 5 5 <about>Example of a Rappture <note> object. 6 6 7 Notes are not really inputs or outputs, but descriptive explanations 8 to the user. The contents of a note can be arbitrary HTML, so it 9 can contain images, hyperlinks, etc. 7 Notes are not really inputs or outputs, but descriptive explanations to the user. The contents of a note can be arbitrary HTML, so it can contain images, hyperlinks, etc. 10 8 </about> 11 9 <command> -
branches/blt4/examples/zoo/number/Makefile.in
r1948 r3956 23 23 destdir = $(prefix)/examples/zoo/number 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 27 install: 29 install: all 28 30 $(MKDIR_P) -m 0755 $(destdir) 29 31 for i in $(FILES) ; do \ … … 33 35 clean: 34 36 35 distclean: 37 distclean: clean 36 38 $(RM) Makefile *~ -
branches/blt4/examples/zoo/number/number.tcl
r1285 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/number/tool.xml
r3051 r3956 21 21 </about> 22 22 <units>K</units> 23 <default>0</default> 23 <min>50K</min> 24 <max>1000K</max> 25 <default>300K</default> 24 26 <preset> 25 27 <value>300K</value> -
branches/blt4/examples/zoo/number2/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/number2 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/number2/number.tcl
r1075 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Martim Hunt, Purdue University 5 # Copyright (c) 200 8 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/parallelepiped/Makefile.in
r2211 r3956 21 21 destdir = $(prefix)/examples/zoo/parallelepiped 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/periodicelement/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/periodicelement 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/periodicelement/test.tcl
r1626 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/periodicelement/tool.xml
r1631 r3956 1 1 <?xml version="1.0"?> 2 2 <run> 3 <tool> 4 <about>Press Simulate to view results.</about> 5 <command>tclsh @tool/test.tcl @driver</command> 6 </tool> 7 <input> 8 <periodicelement id="first"> 9 <about> 10 <label>First Element</label> 11 <description>Select the first element.</description> 12 </about> 13 <default>As</default> 14 </periodicelement> 15 <periodicelement id="second"> 16 <about> 17 <label>Second Element</label> 18 <description>Select the second element.</description> 19 </about> 20 <default>O</default> 21 <inactive>lanthanoid actinoid</inactive> 22 <returnvalue>symbol</returnvalue> 23 </periodicelement> 24 <periodicelement id="third"> 25 <about> 26 <label>Third Element</label> 27 <description>Select the third element.</description> 28 </about> 29 <default>C</default> 30 <active>other-non-metal</active> 31 <returnvalue>weight</returnvalue> 32 </periodicelement> 33 </input> 3 <tool> 4 <about>Press Simulate to view results.</about> 5 <command>tclsh @tool/test.tcl @driver</command> 6 </tool> 7 <input> 8 <periodicelement id="first"> 9 <about> 10 <label>First Element</label> 11 <description>Select the first element.</description> 12 </about> 13 <default>As</default> 14 <returnvalue>name</returnvalue> 15 </periodicelement> 16 <periodicelement id="second"> 17 <about> 18 <label>Second Element</label> 19 <description>Select the second element.</description> 20 </about> 21 <default>Oxygen</default> 22 <returnvalue>name symbol number weight</returnvalue> 23 <inactive>actinoid lanthanoid</inactive> 24 </periodicelement> 25 <periodicelement id="third"> 26 <about> 27 <label>Third Element</label> 28 <description>Select the third element.</description> 29 </about> 30 <default>Carbon</default> 31 <returnvalue>weight</returnvalue> 32 <active>other-non-metal</active> 33 </periodicelement> 34 </input> 34 35 </run> -
branches/blt4/examples/zoo/phase/Makefile.in
r1948 r3956 24 24 destdir = $(prefix)/examples/zoo/phase 25 25 26 .PHONY: all install clean distclean 27 26 28 all: 27 29 28 install: 30 install: all 29 31 $(MKDIR_P) -m 0755 $(destdir) 30 32 for i in $(FILES) ; do \ … … 34 36 clean: 35 37 36 distclean: 38 distclean: clean 37 39 $(RM) Makefile *~ -
branches/blt4/examples/zoo/phase/phase.tcl
r115 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/sequence/Makefile.in
r1948 r3956 23 23 destdir = $(prefix)/examples/zoo/sequence 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 $(MAKE) -C examples all -
branches/blt4/examples/zoo/sequence/examples/Makefile.in
r1948 r3956 21 21 destdir = $(prefix)/examples/zoo/sequence/examples 22 22 23 .PHONY: all install clean distclean 24 23 25 all: 24 26 25 install: 27 install: all 26 28 $(MKDIR_P) -m 0755 $(destdir) 27 29 for i in $(FILES) ; do \ … … 31 33 clean: 32 34 33 distclean: 35 distclean: clean 34 36 $(RM) Makefile *~ -
branches/blt4/examples/zoo/sequence/sequence.tcl
r998 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/sequence/sequence2.tcl
r1587 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and … … 31 31 set xmax 1 32 32 set npts 30 33 set elemoutput.sequence(outs).about.label "Sequence of Plots"34 set elemoutput.sequence(outs).index.label "Parameter A"33 $driver put output.sequence(outs).about.label "Sequence of Plots" 34 $driver put output.sequence(outs).index.label "Parameter A" 35 35 foreach A $avals { 36 36 set elem output.sequence(outs).element($A) -
branches/blt4/examples/zoo/string/Makefile.in
r1948 r3956 23 23 destdir = $(prefix)/examples/zoo/string 24 24 25 .PHONY: all install clean distclean 26 25 27 all: 26 28 27 install: 29 install: all 28 30 $(MKDIR_P) -m 0755 $(destdir) 29 31 for i in $(FILES) ; do \ … … 33 35 clean: 34 36 35 distclean: 37 distclean: clean 36 38 $(RM) Makefile *~ -
branches/blt4/examples/zoo/string/string.tcl
r1587 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/structure/Makefile.in
r1948 r3956 27 27 destdir = $(prefix)/examples/zoo/structure 28 28 29 .PHONY: all install clean distclean 30 29 31 all: 30 32 $(MAKE) -C examples all -
branches/blt4/examples/zoo/structure/examples/Makefile.in
r1948 r3956 25 25 destdir = $(prefix)/examples/zoo/structure/examples 26 26 27 .PHONY: all install clean distclean 28 27 29 all: 28 30 29 install: 31 install: all 30 32 $(MKDIR_P) -m 0755 $(destdir) 31 33 for i in $(FILES) ; do \ … … 35 37 clean: 36 38 37 distclean: 39 distclean: clean 38 40 $(RM) Makefile *~ -
branches/blt4/examples/zoo/structure/structure.tcl
r1255 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and -
branches/blt4/examples/zoo/table/Makefile.in
r1948 r3956 22 22 destdir = $(prefix)/examples/zoo/table 23 23 24 .PHONY: all install clean distclean 25 24 26 all: 25 27 26 install: 28 install: all 27 29 $(MKDIR_P) -m 0755 $(destdir) 28 30 for i in $(FILES) ; do \ … … 32 34 clean: 33 35 34 distclean: 36 distclean: clean 35 37 $(RM) Makefile *~ -
branches/blt4/examples/zoo/table/energies.tcl
r1587 r3956 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-20 05 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and
Note: See TracChangeset
for help on using the changeset viewer.