xsmooth2

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

TXT
32
字号
#! /bin/sh# smooth velocity profiles with smooth2WIDTH=1000HEIGHT=800WIDTHOFF=100HEIGHTOFF=100n1=100n2=100d1=10d2=10outfile=templateoutfile2=template2# use unif2 to output test datafile# $outfile is an ascii file that shows the type of input unif2 requiresunif2  tfile=$outfile unif2 <$outfile method=spline >$outfile2# smooth2, loop over different "r" values>moviefilefor i in 2 4 6 8 10 12 14 16do	smooth2 < $outfile2 r1=$i r2=$i n1=100 n2=100 >>moviefiledonexmovie <moviefile  n1=$n1 n2=$n2 d1=$d1 d2=$d2 loop=1 \	 title="Smooth2 r1=r2=2*%g" windowtitle="Movie" \	-geometry ${WIDTH}x${HEIGHT}+${WIDTHOFF}+${HEIGHTOFF} &exit 0

⌨️ 快捷键说明

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