model

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

TXT
54
字号
#! /bin/sh# Create a 3D data set for Bill Wingle's block program--the# name should end with ".su"## This data set consists of one shot per line: the# shotpoints move orthogonal to the receiver line# with the scattering point below the midpoint of# surface array.## The data set consists of 32 receiver lines and 32 receivers per line # If your machine is fast enough, change nshot and nrec to 64 and change# dsy and dgx to 50 to get a nicer data set that has 64 receiver lines# and 64 receivers per line.DIR=.FILENAME=data3d  # shell appends the mandatory .su suffixx0=0 y0=0 z0=1000dt=0.01 nt=101nshot=32 sx=0 dsy=100  symin=-1550nrec=32  dgx=100 dgy=0 gxmin=-1550 gymin=-1550>tempjshot=0while [ $jshot -lt $nshot ]do	sy=`bc -l <<-END		$symin + $jshot * $dsy	END`	gy=$sy	fldr=`bc -l <<-END		$jshot + 1	END`		suimp3d x0=$x0 y0=$y0 z0=$z0 \		dt=$dt nt=$nt \		sxmin=$sx symin=$sy \		nrec=$nrec dgx=$dgx gxmin=$gxmin gymin=$gy |		sushw key=fldr a=$fldr | sugain scale=10000000 | sufilter  >>temp	jshot=`bc -l <<-END		$jshot + 1	END`done# since combining many suimp3d outputs, reset the trace numberingsushw <temp key=tracl,tracr a=1,1 b=1,1 >$DIR/$FILENAME.surm tempexit 0

⌨️ 快捷键说明

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