Changeset 729 for trunk/examples


Ignore:
Timestamp:
May 12, 2007, 2:14:49 PM (18 years ago)
Author:
mmc
Message:

Fix for support ticket #1455, "floating-point value too large to represent".
The user was entering a really big value like "1e400" into the doping
area of PN Junction Lab. The GUI would choke and the job would later
fail. Fixed the field editor to test for bad values and honor min/max
limits set on parameters in a device structure.

Fix for support ticket #1465, "bad option "add": should be one of...".
The new molecule viewer requires add/delete operations. This is now
part of the general structure viewer, but the DeviceViewer1D class was
not updated properly. It is now. Fixed the structure demo to copy
the input to the output so we can test for this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/zoo/structure/structure.tcl

    r115 r729  
    1717$driver put output.log "Structure: $name"
    1818
     19set obj [$driver element -as object input.structure.current]
     20$driver put output.structure.about.label "Structure"
     21$driver copy output.structure from input.structure.current
     22
    1923# save the updated XML describing the run...
    2024Rappture::result $driver
Note: See TracChangeset for help on using the changeset viewer.