Ignore:
Timestamp:
Apr 6, 2007, 6:06:24 PM (18 years ago)
Author:
dkearney
Message:

Updates to Rappture::Utils::progress for all languages
removed the dependancy on Rappture.Units from within number.py, it should only depend on Rappture which will include Rappture.Units
added Rappture.Units as a module to load when people import Rappture in python.
added -V pbs variable to queue.py to include qsub environment variables in the submitted job.
updated setup.py.in to install Rappture.Utils
added progress bar to all app-fermi examples showing how to use the Rappture::Utils::progress function in all languages.
added destructor definitions to Node classes in src2/core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/app-fermi/tcl/fermi.tcl

    r555 r665  
    66# ======================================================================
    77#  AUTHOR:  Michael McLennan, Purdue University
    8 #  Copyright (c) 2004-2005  Purdue Research Foundation
     8#  Copyright (c) 2004-2007  Purdue Research Foundation
    99#
    1010#  See the file "license.terms" for information on usage and
     
    3737while {$E < $Emax} {
    3838    set f [expr {1.0/(1.0 + exp(($E - $Ef)/$kT))}]
     39    set progress [expr {(($E - $Emin)/($Emax - $Emin)*100)}]
     40    Rappture::Utils::progress $progress -mesg "Iterating"
    3941    $driver put -append yes output.curve(f12).component.xy "$f $E\n"
    4042    set E [expr {$E + $dE}]
Note: See TracChangeset for help on using the changeset viewer.