test3.tcl

来自「算断裂的」· TCL 代码 · 共 32 行

TCL
32
字号
## QMG test 3: mesh a dodecahedronglobal qmg_datagmset dodec [gmoffread $qmg_data/dodec.off]set show 0if {[llength [info globals interactive]]} {    set show 1}gmsummary $dodecgmset mesh [gmmeshgen $dodec show $show]set asp [gmchecktri $dodec $mesh]if {[llength [info globals aspprod]]} {    global aspprod    set aspprod [expr $aspprod * $asp]    gmset {numvtx numelt} [gmmeshsize $mesh]    global meshsizesum    set meshsizesum [expr $meshsizesum + $numvtx]}# ------------------------------------------------------------------# Copyright (c) 1999 by Cornell University.  All rights reserved# See the accompanying file 'Copyright' for authorship information,# the terms of the license governing this software, and disclaimers# concerning this software.# ------------------------------------------------------------------# This file is part of the QMG software.  # Version 2.0 of QMG, release date September 3, 1999.# ------------------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?