Changeset 4790


Ignore:
Timestamp:
Nov 26, 2014, 12:29:34 AM (5 years ago)
Author:
ldelgass
Message:

unirect2d doesn't have a values method (it only represents the mesh), the
values are in the _values vector in the field object. Also some comment fixes.

Location:
branches/1.3/gui/scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/curve.tcl

    r4008 r4790  
    112112# USAGE: values ?<name>?
    113113#
    114 # Returns the xvec for the specified curve component <name>.
     114# Returns the yvec for the specified curve component <name>.
    115115# If the name is not specified, then it returns the vectors for the
    116116# overall curve (sum of all components).
  • branches/1.3/gui/scripts/field.tcl

    r4719 r4790  
    368368    }
    369369    if {[info exists _comp2unirect2d($cname)]} {
    370         return [$_comp2unirect2d($cname) values]
     370        return $_values
    371371    }
    372372    if {[info exists _comp2unirect3d($cname)]} {
  • branches/1.3/gui/scripts/unirect2d.tcl

    r4497 r4790  
    176176# ----------------------------------------------------------------------
    177177# method blob
    178 #       Returns a base64 encoded, gzipped Tcl list that represents the
    179 #       Tcl command and data to recreate the uniform rectangular grid
    180 #       on the nanovis server.
     178#       Returns a Tcl list that represents the Tcl command and data to
     179#       recreate the uniform rectangular grid on the nanovis server.
    181180# ----------------------------------------------------------------------
    182181itcl::body Rappture::Unirect2d::blob {} {
     
    189188# ----------------------------------------------------------------------
    190189# method mesh
    191 #       Returns a base64 encoded, gzipped Tcl list that represents the
    192 #       Tcl command and data to recreate the uniform rectangular grid
    193 #       on the nanovis server.
     190#       Returns a Tcl list that represents the mesh limits and dims.
    194191# ----------------------------------------------------------------------
    195192itcl::body Rappture::Unirect2d::mesh {} {
  • branches/1.3/gui/scripts/unirect3d.tcl

    r4494 r4790  
    4141    private variable _xMax       0
    4242    private variable _xMin       0
    43     private variable _xNum       0;     # Number of points along x-axis.
     43    private variable _xNum       0;     # Number of points along x-axis
    4444    private variable _yMax       0
    4545    private variable _yMin       0
    46     private variable _yNum       0;     # Number of points along y-axis.
     46    private variable _yNum       0;     # Number of points along y-axis
    4747    private variable _zMax       0
    4848    private variable _zMin       0
    49     private variable _zNum       0;     # Number of points along z-axis.
    50     private variable _compNum    1;     # Number of components in values.
    51     private variable _values     "";    # BLT vector containing the z-values
     49    private variable _zNum       0;     # Number of points along z-axis
     50    private variable _compNum    1;     # Number of components in values
     51    private variable _values     "";    # BLT vector containing the values
    5252    private variable _hints
    5353}
     
    124124# ----------------------------------------------------------------------
    125125# method blob
    126 #       Returns a base64 encoded, gzipped Tcl list that represents the
    127 #       Tcl command and data to recreate the uniform rectangular grid
    128 #       on the nanovis server.
     126#       Returns a Tcl list that represents the Tcl command and data to
     127#       recreate the uniform rectangular grid on the nanovis server.
    129128# ----------------------------------------------------------------------
    130129itcl::body Rappture::Unirect3d::blob {} {
     
    142141# ----------------------------------------------------------------------
    143142# method mesh
    144 #       Returns a base64 encoded, gzipped Tcl list that represents the
    145 #       Tcl command and data to recreate the uniform rectangular grid
    146 #       on the nanovis server.
     143#       Returns a Tcl list that represents the points  of the uniform
     144#       grid.
    147145# ----------------------------------------------------------------------
    148146itcl::body Rappture::Unirect3d::mesh {} {
Note: See TracChangeset for help on using the changeset viewer.