xsmoothint2

来自「su 的源代码库」· 代码 · 共 30 行

TXT
30
字号
#! /bin/sh# smooth velocity profiles with smoothintWIDTH=1000HEIGHT=800WIDTHOFF=100HEIGHTOFF=100n1=100n2=100d1=10d2=10outfile=template# use unif2 to output test datafile# $outfile is an ascii file that shows the type of input unif2 requiresunif2  tfile=$outfile # smoothint2, loop over different "r" values>moviefilefor i in 200 400 600 800 1000 1200 1400 1600 1800 2000 2200do	smoothint2 < $outfile r=$i |	unif2 method=spline >>moviefiledonexmovie <moviefile  n1=$n1 n2=$n2 d1=$d1 d2=$d2 loop=1\	 title="Smoothint r=200*%g "\	-geometry ${WIDTH}x${HEIGHT}+${WIDTHOFF}+${HEIGHTOFF} &exit 0

⌨️ 快捷键说明

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