Changeset 3937 for trunk/examples/flow


Ignore:
Timestamp:
Sep 18, 2013 11:22:58 AM (7 years ago)
Author:
ldelgass
Message:

Convert 3rd flow example to use mesh/values instead of dx (example inside demo3
directory still uses dx for testing)

Location:
trunk/examples/flow
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/flow/demo3/Makefile.in

    r1944 r3937  
    1818                $(srcdir)/demo3.tcl \
    1919                $(srcdir)/data-dx.tcl \
     20                $(srcdir)/data-values.tcl \
    2021                $(srcdir)/tool.xml
    2122
  • trunk/examples/flow/flowtest.tcl

    r3918 r3937  
    101101    $f3.component.style  "-color blue:red -levels 6 -opacity 1"
    102102    $f3.component.extents 3
     103    $f3.component.mesh output.mesh(sio2)
     104    output.mesh(sio2).about.label "SiO2"
     105    output.mesh(sio2).dim 3
     106    output.mesh(sio2).units "um"
     107    output.mesh(sio2).hide yes
     108    output.mesh(sio2).grid.xaxis.min 0
     109    output.mesh(sio2).grid.xaxis.max 29.75206608
     110    output.mesh(sio2).grid.xaxis.numpoints 121
     111    output.mesh(sio2).grid.yaxis.min -1.5
     112    output.mesh(sio2).grid.yaxis.max 2.82
     113    output.mesh(sio2).grid.yaxis.numpoints 25
     114    output.mesh(sio2).grid.zaxis.min -1
     115    output.mesh(sio2).grid.zaxis.max 4.304347828
     116    output.mesh(sio2).grid.zaxis.numpoints 23
    103117}]
    104118
     
    115129$driver put $f2.component.values $values
    116130
    117 source demo3/data-dx.tcl
    118 set data [Rappture::encoding::encode -as zb64 "<DX>$dx"]
    119 $driver put $f3.component.dx $data
     131#source demo3/data-dx.tcl
     132#set data [Rappture::encoding::encode -as zb64 "<DX>$dx"]
     133#$driver put $f3.component.dx $data
     134
     135source demo3/data-values.tcl
     136$driver put $f3.component.values $values
    120137
    121138# save the updated XML describing the run...
Note: See TracChangeset for help on using the changeset viewer.