Changeset 3956 for branches/blt4


Ignore:
Timestamp:
Sep 24, 2013, 4:38:54 PM (11 years ago)
Author:
gah
Message:

sync with trunk

Location:
branches/blt4/examples/zoo
Files:
12 added
15 deleted
62 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/examples/zoo/Makefile.in

    r2540 r3956  
    1818                boolean \
    1919                choice \
    20                 cloud \
    2120                curve \
    22                 datatable \
     21                drawing \
    2322                enable \
    2423                field \
    25                 filechoice \
    2624                group \
    2725                histogram \
     
    3028                integer2 \
    3129                loader \
    32                 loadrun \
    3330                log \
     31                mesh \
    3432                note \
    3533                number \
     
    4139                string \
    4240                structure \
    43                 table  \
    44                 unirect2d
     41                table 
    4542
    4643destdir         = $(prefix)/examples/zoo
     44
     45.PHONY: all install clean distclean
    4746
    4847all:
  • branches/blt4/examples/zoo/binary/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/binary
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/binary/tardir.tcl

    r1824 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/boolean/Makefile.in

    r1948 r3956  
    2222destdir         = $(prefix)/examples/zoo/boolean
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • branches/blt4/examples/zoo/boolean/boolean.tcl

    r875 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/choice/Makefile.in

    r1948 r3956  
    2222destdir         = $(prefix)/examples/zoo/choice
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • branches/blt4/examples/zoo/choice/choice.tcl

    r1587 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/curve/Makefile.in

    r1948 r3956  
    2323destdir         = $(prefix)/examples/zoo/curve
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • branches/blt4/examples/zoo/curve/curve.tcl

    r1283 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
     
    4444        "Frequency of the input source."
    4545    $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"
    4747    $driver put output.curve(multi$factor).yaxis.label "Current"
    4848    $driver put output.curve(multi$factor).yaxis.description \
     
    7575}
    7676
     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
     89for {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
     95set 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"
     104for {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
     118for {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"
     130for {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
    77135# save the updated XML describing the run...
    78136Rappture::result $driver
  • branches/blt4/examples/zoo/drawing/Makefile.in

    r2966 r3956  
    2121destdir         = $(prefix)/examples/zoo/drawing
    2222
     23.PHONY: all install install-files install-images clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all install-files install-images
     28
     29install-files:
    2630        $(MKDIR_P) -m 0755 $(destdir)
    2731        for i in $(FILES) ; do \
     
    2933        done
    3034
     35install-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
    3141clean:
    3242
    33 distclean:
     43distclean: clean
    3444        $(RM) Makefile *~
  • branches/blt4/examples/zoo/drawing/drawing.tcl

    r2966 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
     
    1313set driver [Rappture::library [lindex $argv 0]]
    1414
    15 set title [$driver get input.(title).current]
    16 set indeck [$driver get input.(indeck).current]
     15set value [$driver get input.choice(analysis).current]
     16append out "Analysis Choice:  $value\n"
     17set value [$driver get input.number(trapezoid_top).current]
     18append out "Trapezoid Top:  $value\n"
     19set value [$driver get input.number(substrate_length).current]
     20append out "Substrate Length:  $value\n"
     21set value [$driver get input.number(feature_length).current]
     22append out "Feature Length:  $value\n"
     23set value [$driver get input.number(feature_height).current]
     24append out "Feature Height:  $value\n"
     25set value [$driver get input.string(indeck).current]
     26append out "String:  $value\n"
    1727
    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
    2230
    2331# save the updated XML describing the run...
  • branches/blt4/examples/zoo/drawing/tool.xml

    r3102 r3956  
    11<?xml version="1.0"?>
    22<run>
    3 <tool>
     3 <tool>
    44  <title>drawing</title>
    55  <about>Example of a Rappture &lt;drawing&gt; object.
     
    1313    tclsh @tool/drawing.tcl @driver
    1414  </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>
    1722  <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
     97Height = ${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>
    90170  </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>
    94243  <string id="indeck">
    95     <about>
    96       <label>Input</label>
    97       <description>This is the control file for the program.</description>
    98       <hints>EXAMPLE:  .print ac vm(11) mag(i(vcc))</hints>
    99     </about>
    100     <size>40x10</size>
    101     <default>Enter your SPICE commands
     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
    102251in this area.  Right-click
    103252for a menu of editing options.</default>
    104253  </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>
    106269</run>
  • branches/blt4/examples/zoo/enable/Makefile.in

    r2936 r3956  
    2222destdir         = $(prefix)/examples/zoo/enable
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • branches/blt4/examples/zoo/enable/enable.tcl

    r437 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/field/Makefile.in

    r1948 r3956  
    1616
    1717FILES           = \
    18                 $(srcdir)/2dfield.gif \
    19                 $(srcdir)/3dfield.gif \
     18                $(srcdir)/2DField.jpg \
     19                $(srcdir)/3DField.jpg \
    2020                $(srcdir)/field.tcl \
    2121                $(srcdir)/tool.xml
     
    2323destdir         = $(prefix)/examples/zoo/field
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • branches/blt4/examples/zoo/field/field.tcl

    r3026 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
     
    1818
    1919#
    20 # Generate the 2D mesh and field values...
     20# Generate a uniform grid 2D mesh and field values...
    2121#
    2222
    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
    2633
    2734$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
    3037set 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"
     38for {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    }
    6343}
    6444
     
    6848set vizmethod [$driver get input.choice(3D).current]
    6949
    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
     50if {$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
    13167
    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        }
    13478    }
     79}
    13580
    136     # meshes also need element descriptions
    137     $driver put output.mesh(m3d).about.label "3D Mesh"
     81if {$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
    13887    $driver put output.mesh(m3d).units "um"
    13988    $driver put output.mesh(m3d).hide "yes"
    14089
    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)"
    15392
    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"
    155115}
    156116
    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
     117if {$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
     125origin 0 0 0
    162126delta 1 0 0
    163127delta 0 1 0
    164128delta 0 0 1
    165 object 2 class gridconnections counts 5 5 3
    166 object 3 class array type double rank 0 items 75 data follows
     129object 2 class gridconnections counts 5 5 2
     130object 3 class array type double rank 0 items 50 data follows
    167131"
    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} {
    169134        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} {
    171136                set fval [expr $formula]
    172137                append dx "$fval\n"
  • branches/blt4/examples/zoo/field/test/defaults.xml

    r1256 r3956  
    55        <about>Example of a Rappture &lt;field&gt; object.
    66
    7 Fields are a set of values defined on a mesh of some sort (see &lt;mesh&gt; and &lt;cloud&gt; elements for details).
     7Fields are a set of values defined on a mesh of some sort (see &lt;mesh&gt; element for details).
    88
    99When you click the Simulate button, the inputs will be used to generate output fields.
     
    1616            <filesize>unlimited</filesize>
    1717        </limits>
    18         <name>Workspace (800x600)</name>
    1918        <version>
    2019            <rappture>
    21                 <revision>$LastChangedRevision: 1018 $</revision>
    22                 <modified>$LastChangedDate: 2008-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>
    2322                <language>tcl</language>
    2423            </rappture>
     
    3938            <about>
    4039                <label>3D Rendering</label>
    41                 <description>Determines the method 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>
    4241            </about>
    4342            <option>
    4443                <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>
    4746                </about>
    48                 <value>vtk</value>
     47                <value>grid</value>
    4948            </option>
    5049            <option>
    5150                <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>
    5453                </about>
    55                 <value>nanovis</value>
     54                <value>unstructured</value>
    5655            </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>
    5965        </choice>
    6066    </input>
    6167    <output>
    62         <cloud id="m2d">
     68        <mesh id="m2d">
    6369            <about>
    6470                <label>2D Mesh</label>
    6571            </about>
     72            <dim>2</dim>
    6673            <units>um</units>
    6774            <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>
    9588        <field id="f2d">
    9689            <about>
     
    9891            </about>
    9992            <component>
    100                 <mesh>output.cloud(m2d)</mesh>
     93                <mesh>output.mesh(m2d)</mesh>
    10194                <values>0
    102950
     
    127120            </component>
    128121        </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>
    129147        <field id="f3d">
    130148            <about>
     
    132150            </about>
    133151            <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
     1540
     1550
     1560
     1570
     1580
     1590
     1600
     1610
     1620
     1630
     1640
     1650
     1660
     1670
     1680
     1690
     1700
     1710
     1720
     1730
     1740
     1750
     1760
     1770
     1780
     1790
     1800
     1810
     1820
     1830
     1841
     1852
     1863
     1874
     1880
     1892
     1904
     1916
     1928
     1930
     1943
     1956
     1969
     19712
     1980
     1994
     2008
     20112
     20216
     203</values>
    141204            </component>
    142205        </field>
    143         <time>Wed Dec 10 00:49:39 EST 2008</time>
     206        <time>Sat Jun 15 12:14:09 AM EDT 2013</time>
    144207        <status>ok</status>
    145         <user>dkearney</user>
     208        <user>ldelgass</user>
    146209    </output>
    147210</run>
  • branches/blt4/examples/zoo/field/tool.xml

    r1587 r3956  
    55  <about>Example of a Rappture &lt;field&gt; object.
    66
    7 Fields are a set of values defined on a mesh of some sort (see &lt;mesh&gt; and &lt;cloud&gt; elements for details).
     7Fields are a set of values defined on a mesh of some sort (see &lt;mesh&gt; element for details).
    88
    99When you click the Simulate button, the inputs will be used to generate output fields.
     
    3030    <about>
    3131      <label>3D Rendering</label>
    32       <description>Determines the method 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>
    3333    </about>
    3434    <option>
    3535      <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>
    3838      </about>
    39       <value>vtk</value>
     39      <value>grid</value>
    4040    </option>
    4141    <option>
    4242      <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>
    4545      </about>
    46       <value>nanovis</value>
     46      <value>unstructured</value>
    4747    </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>
    4956  </choice>
    5057</input>
  • branches/blt4/examples/zoo/group/Makefile.in

    r1948 r3956  
    2323destdir         = $(prefix)/examples/zoo/group
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • branches/blt4/examples/zoo/group/group.tcl

    r115 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/group/tool.xml

    r72 r3956  
    2929        <about>
    3030          <label>Minority carrier lifetimes</label>
     31          <layout>horizontal</layout>
    3132        </about>
    3233
     
    4950        <default>300K</default>
    5051      </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>
    5163    </group>
    5264  </group>
  • branches/blt4/examples/zoo/histogram/Makefile.in

    r2296 r3956  
    2323destdir         = $(prefix)/examples/zoo/histogram
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • branches/blt4/examples/zoo/histogram/histogram.tcl

    r2540 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/image/Makefile.in

    r1948 r3956  
    2323destdir         = $(prefix)/examples/zoo/image
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628        $(MAKE) -C examples all
  • branches/blt4/examples/zoo/image/docs/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/image/docs
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/image/examples/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/image/examples
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/image/image.tcl

    r2540 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
     
    1212wm withdraw .
    1313package require BLT
     14package require Img
    1415
    1516# open the XML file containing the run parameters
     
    2021set angle [Rappture::Units::convert $angle -to deg -units off]
    2122
    22 set imh [image create picture -data $data]
    23 set dest [image create picture]
    24 $dest rotate $imh $angle
     23set imh [image create photo -data $data]
     24set dest [image create photo]
     25blt::winop image rotate $imh $dest $angle
    2526
    2627$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]
    2829
    2930# add a little html note
  • branches/blt4/examples/zoo/integer/Makefile.in

    r1948 r3956  
    2222destdir         = $(prefix)/examples/zoo/integer
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • branches/blt4/examples/zoo/integer/integer.tcl

    r1587 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/integer2/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/integer2
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/integer2/integer.tcl

    r1075 r3956  
    33# ======================================================================
    44#  AUTHOR:  Martin Hunt, Purdue University
    5 #  Copyright (c) 2008  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/loader/Makefile.in

    r1948 r3956  
    2424destdir         = $(prefix)/examples/zoo/loader
    2525
     26.PHONY: all install clean distclean
     27
    2628all:
    2729        $(MAKE) -C examples  all
  • branches/blt4/examples/zoo/loader/examples/Makefile.in

    r1948 r3956  
    2323destdir         = $(prefix)/examples/zoo/loader/examples
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • branches/blt4/examples/zoo/loader/loader.tcl

    r115 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/log/Makefile.in

    r1948 r3956  
    2222destdir         = $(prefix)/examples/zoo/log
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • branches/blt4/examples/zoo/log/log.tcl

    r115 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/note/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/note
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426        $(MAKE) -C docs all
  • branches/blt4/examples/zoo/note/docs/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/note/docs
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/note/note.tcl

    r794 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2007  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/note/tool.xml

    r794 r3956  
    55  <about>Example of a Rappture &lt;note&gt; object.
    66
    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.
     7Notes 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.
    108  </about>
    119  <command>
  • branches/blt4/examples/zoo/number/Makefile.in

    r1948 r3956  
    2323destdir         = $(prefix)/examples/zoo/number
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • branches/blt4/examples/zoo/number/number.tcl

    r1285 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/number/tool.xml

    r3051 r3956  
    2121    </about>
    2222    <units>K</units>
    23     <default>0</default>
     23    <min>50K</min>
     24    <max>1000K</max>
     25    <default>300K</default>
    2426    <preset>
    2527      <value>300K</value>
  • branches/blt4/examples/zoo/number2/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/number2
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/number2/number.tcl

    r1075 r3956  
    33# ======================================================================
    44#  AUTHOR:  Martim Hunt, Purdue University
    5 #  Copyright (c) 2008  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/parallelepiped/Makefile.in

    r2211 r3956  
    2121destdir         = $(prefix)/examples/zoo/parallelepiped
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/periodicelement/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/periodicelement
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/periodicelement/test.tcl

    r1626 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/periodicelement/tool.xml

    r1631 r3956  
    11<?xml version="1.0"?>
    22<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>
    3435</run>
  • branches/blt4/examples/zoo/phase/Makefile.in

    r1948 r3956  
    2424destdir         = $(prefix)/examples/zoo/phase
    2525
     26.PHONY: all install clean distclean
     27
    2628all:
    2729
    28 install:
     30install: all
    2931        $(MKDIR_P) -m 0755 $(destdir)
    3032        for i in $(FILES) ; do \
     
    3436clean:
    3537
    36 distclean:
     38distclean: clean
    3739        $(RM) Makefile *~
  • branches/blt4/examples/zoo/phase/phase.tcl

    r115 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/sequence/Makefile.in

    r1948 r3956  
    2323destdir         = $(prefix)/examples/zoo/sequence
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628        $(MAKE) -C examples all
  • branches/blt4/examples/zoo/sequence/examples/Makefile.in

    r1948 r3956  
    2121destdir         = $(prefix)/examples/zoo/sequence/examples
    2222
     23.PHONY: all install clean distclean
     24
    2325all:
    2426
    25 install:
     27install: all
    2628        $(MKDIR_P) -m 0755 $(destdir)
    2729        for i in $(FILES) ; do \
     
    3133clean:
    3234
    33 distclean:
     35distclean: clean
    3436        $(RM) Makefile *~
  • branches/blt4/examples/zoo/sequence/sequence.tcl

    r998 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/sequence/sequence2.tcl

    r1587 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
     
    3131set xmax 1
    3232set npts 30
    33 set elem output.sequence(outs).about.label "Sequence of Plots"
    34 set elem output.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"
    3535foreach A $avals {
    3636    set elem output.sequence(outs).element($A)
  • branches/blt4/examples/zoo/string/Makefile.in

    r1948 r3956  
    2323destdir         = $(prefix)/examples/zoo/string
    2424
     25.PHONY: all install clean distclean
     26
    2527all:
    2628
    27 install:
     29install: all
    2830        $(MKDIR_P) -m 0755 $(destdir)
    2931        for i in $(FILES) ; do \
     
    3335clean:
    3436
    35 distclean:
     37distclean: clean
    3638        $(RM) Makefile *~
  • branches/blt4/examples/zoo/string/string.tcl

    r1587 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/structure/Makefile.in

    r1948 r3956  
    2727destdir         = $(prefix)/examples/zoo/structure
    2828
     29.PHONY: all install clean distclean
     30
    2931all:
    3032        $(MAKE) -C examples all
  • branches/blt4/examples/zoo/structure/examples/Makefile.in

    r1948 r3956  
    2525destdir         = $(prefix)/examples/zoo/structure/examples
    2626
     27.PHONY: all install clean distclean
     28
    2729all:
    2830
    29 install:
     31install: all
    3032        $(MKDIR_P) -m 0755 $(destdir)
    3133        for i in $(FILES) ; do \
     
    3537clean:
    3638
    37 distclean:
     39distclean: clean
    3840        $(RM) Makefile *~
  • branches/blt4/examples/zoo/structure/structure.tcl

    r1255 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
  • branches/blt4/examples/zoo/table/Makefile.in

    r1948 r3956  
    2222destdir         = $(prefix)/examples/zoo/table
    2323
     24.PHONY: all install clean distclean
     25
    2426all:
    2527
    26 install:
     28install: all
    2729        $(MKDIR_P) -m 0755 $(destdir)
    2830        for i in $(FILES) ; do \
     
    3234clean:
    3335
    34 distclean:
     36distclean: clean
    3537        $(RM) Makefile *~
  • branches/blt4/examples/zoo/table/energies.tcl

    r1587 r3956  
    33# ======================================================================
    44#  AUTHOR:  Michael McLennan, Purdue University
    5 #  Copyright (c) 2004-2005  Purdue Research Foundation
     5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    66#
    77#  See the file "license.terms" for information on usage and
Note: See TracChangeset for help on using the changeset viewer.