test2.di
来自「算断裂的」· DI 代码 · 共 115 行
DI
115 行
Thu Aug 26 14:52:40 EDT 1999-----> ## QMG test 2 This test generates a torus made up of 36Thu Aug 26 14:52:40 EDT 1999-----> ## biquadratic patches and generates a mesh forThu Aug 26 14:52:40 EDT 1999-----> ## it. The mesh size is restricted to 0.5Thu Aug 26 14:52:40 EDT 1999-----> gmset t [gmmake_torus 1 2 6]Thu Aug 26 14:52:40 EDT 1999-----> gmsummary $tobject type = brepintrinsic dimension = 3embedded dimension = 3number of brep prop/vals = 0global id = [none listed]number of control points = 144number of top vertices = 0number of top edges = 0number of bezier curves = 0max degree among curves = 0number of topo. surfaces = 1number of triangle patches = 0max degree among triangles = 0number of quad patches = 36max u-degree among quads = 2max v-degree among quads = 2max total degree among quads = 4number of chambers = 1Thu Aug 26 14:52:40 EDT 1999-----> set show 00Thu Aug 26 14:52:40 EDT 1999-----> if {[llength [info globals interactive]]} { set show 1}Thu Aug 26 14:52:40 EDT 1999-----> gmset m [gmmeshgen $t size "(const .5)" curve "(const 1)" show $show]Thu Aug 26 15:34:02 EDT 1999-----> gmset {numvtx numelt} [gmmeshsize $m]Thu Aug 26 15:34:04 EDT 1999-----> set asp [gmchecktri $t $m 1 1e-10]Maximum aspect ratio = 33.6416 achieved insimplex #1857 of topological entity torus (3:0) which has vertices 237 98 559 582 Maximum global side length = 0.537516Minimum global altitude = 0.0127932Number of nodes = 633 number of elements = 242133.641571813973883Thu Aug 26 15:34:07 EDT 1999-----> if {[llength [info globals aspprod]]} { global aspprod set aspprod [expr $aspprod * $asp] global meshsizesum set meshsizesum [expr $meshsizesum + $numvtx]}892Thu Aug 26 15:34:07 EDT 1999-----> # ------------------------------------------------------------------Thu Aug 26 15:34:07 EDT 1999-----> # Copyright (c) 1999 by Cornell University. All rights reservedThu Aug 26 15:34:07 EDT 1999-----> # See the accompanying file 'Copyright' for authorship information,Thu Aug 26 15:34:07 EDT 1999-----> # the terms of the license governing this software, and disclaimersThu Aug 26 15:34:07 EDT 1999-----> # concerning this software.Thu Aug 26 15:34:07 EDT 1999-----> # ------------------------------------------------------------------Thu Aug 26 15:34:07 EDT 1999-----> # This file is part of the QMG software. Thu Aug 26 15:34:07 EDT 1999-----> # Version 2.0 of QMG, release date RELDATE.Thu Aug 26 15:34:07 EDT 1999-----> # ------------------------------------------------------------------Thu Aug 26 15:34:07 EDT 1999
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?