source: trunk/examples/zoo/group/group.tcl

Last change on this file was 3177, checked in by mmc, 12 years ago

Updated all of the copyright notices to reference the transfer to
the new HUBzero Foundation, LLC.

File size: 1.0 KB
Line 
1# ----------------------------------------------------------------------
2#  EXAMPLE: Rappture <group> elements
3# ======================================================================
4#  AUTHOR:  Michael McLennan, Purdue University
5#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
6#
7#  See the file "license.terms" for information on usage and
8#  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9# ======================================================================
10package require Rappture
11
12# open the XML file containing the run parameters
13set driver [Rappture::library [lindex $argv 0]]
14
15set re [$driver get input.group.(models).(recomb).current]
16set tn [$driver get input.group.(models).(tau).(taun).current]
17set tp [$driver get input.group.(models).(tau).(taup).current]
18
19set temp [$driver get input.group.(ambient).(temp).current]
20
21$driver put output.log "Models:
22  Recombination: $re
23  taun = $tn
24  taup = $tp
25
26Ambient:
27  tempK = $temp"
28
29# save the updated XML describing the run...
30Rappture::result $driver
31exit 0
Note: See TracBrowser for help on using the repository browser.