Ignore:
Timestamp:
May 30, 2005, 9:33:49 PM (19 years ago)
Author:
mmc
Message:

Major reorganization of the entire package. The config.xml file
is now irrelevant. All the action is in the tool.xml file. The
main program now organizes all input into 1) side-by-side pages,
2) input/result (wizard-style) pages, or 3) a series of wizard-
style pages. The <input> can have <phase> parts representing
the various pages.

Added a new ContourResult? widget based on Swaroop's vtk plotting
code.

Also, added easymesh and showmesh to the "tools" directory.
We need these for Eric Polizzi's code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/spectrum.tcl

    r9 r11  
    1414# ======================================================================
    1515#  AUTHOR:  Michael McLennan, Purdue University
    16 #  Copyright (c) 2004  Purdue Research Foundation, West Lafayette, IN
     16#  Copyright (c) 2004-2005
     17#  Purdue Research Foundation, West Lafayette, IN
    1718# ======================================================================
    1819package require Itk
     
    160161        error "wrong # args: should be \"get ?-color|-fraction? ?value?\""
    161162    }
     163
    162164    set value [lindex $args 0]
    163 
    164     set value [Rappture::Units::convert $value \
    165         -context $units -to $units -units off]
     165    if {$units != ""} {
     166        set value [Rappture::Units::convert $value \
     167            -context $units -to $units -units off]
     168    }
    166169
    167170    switch -- $what {
Note: See TracChangeset for help on using the changeset viewer.