📄 testshellqmg
字号:
#!/bin/sh# Script to test shell-command version of QMGecho " ... generating a mesh for the hexobj 3D geo"echo " qmg -meshgen -show 0 -fileformat ascii -logfile /dev/null -orientation 2 -curvecontrol \"(const 1)\" -tol 1e-12 ../../data/hexobj.geo hexobj.msh"qmg -meshgen -show 0 -fileformat ascii -logfile /dev/null -orientation 2 -curvecontrol "(const 1)" -tol 1e-12 ../../data/hexobj.geo hexobj.mshecho " ... mesh has been generated; doubling internal boundaries"echo " qmg -double2 -fileformat ascii ../../data/hexobj.geo hexobj.msh hexobj_d.geo hexobj_d.msh \*"qmg -double2 -fileformat ascii ../../data/hexobj.geo hexobj.msh hexobj_d.geo hexobj_d.msh \*echo " ... internal boundary has been doubled; checking the mesh"echo "qmg -checktri -fileformat ascii -orientation 2 -tol 1e-12 hexobj_d.geo hexobj_d.msh"qmg -checktri -fileformat ascii -checkorientation 2 -tol 1e-12 hexobj_d.geo hexobj_d.mshecho " ... checktri has finished; removing files created by this script"rm hexobj_d.*rm hexobj.msh
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -