⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testrun.sh

📁 很经典的电磁计算(电容计算)软件 MIT90年代开发
💻 SH
字号:
#!/bin/csh## script to run test problems, one generated using testgen.sh# - problems are meant to exercise interface, not engine#set exam = .set exe = ../binset dest = .set fastcap = ${exe}/fastcapset cubegen = ${exe}/cubegen##   run the full test problemecho "Running full test problem"echo "  results to test_full.out"${fastcap} -l${dest}/test.lst > test_full.out##   run the full test problem but don't calculate gnd plane capacitancesecho "Running full test problem, no ground plane solve"echo "  results to test_rs.out"${fastcap} -l${dest}/test.lst -rsGND > test_rs.out##   run on bus crossing between planes only (ie remove pyramid, L-shape)echo "Running reduced test problem, no pyramid or L-shape, no gnd plane solve"echo "  results to test_rs_ri.out"${fastcap} -l${dest}/test.lst -rsGND -riPYRAMID,LSHAPE > test_rs_ri.out#   alternative command, same result, illustrates stdin read, no list fileecho "  results to test_stdin_rs.out, should be identical"${cubegen} -naGND -p -xh6 -yh5.5 -zh4 -e0 -n10 -xo-1 -yo-1 -zo-1 \| ${fastcap} - ${dest}/bus.qui -rsGND > test_stdin_rs.out##   generate a line drawing of the structures between dielectric and gnd planesecho "Generating line drawing of everything but gnd and dielectric interfaces"echo "  postscript to test_ri.ps, stdout to test_ld1.out"${fastcap} -l${dest}/test.lst -riGND -rd -m -e75 > test_ld1.outmv test.ps test_ri.ps#   alternate command, same effectecho "  postscript to test.ps, should be identical, stdout to test_ld2.out"${fastcap} -l${dest}/test.lst -rcGND -rd -m -e75 > test_ld2.out##   generate a plot of charge on only L-shape and pyramid after #     figuring charge density for bus-conductor-1-at-1volt problem#     - full test problem is run, just that only parts are plotted#       and only after bus-conductor-1-at-1volt problem#     - the group specification in the -q option is not strictly required#	since the conductor name `1' is unique in this example;#       it is included to show the syntaxecho "Running full test problem, no gnd plane solve, plot q on L-shape, pyramid"echo "  postscript to test2.ps, results to test_rs_q_rc_rd.out"${fastcap} -l${dest}/test.lst -rsGND -q1%BUS -rcGND,1,2 -rd \> test_rs_q_rc_rd.out

⌨️ 快捷键说明

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