Skip to content

Commit cf5840d

Browse files
Y. ChenY. Chen
authored andcommitted
Tue Jan 21 15:58:25 CST 2025
1 parent 817a227 commit cf5840d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

user/chenyk/Mefd3dmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,11 @@ int main(int argc, char* argv[])
423423
if (!sf_histfloat(Fvp,"d3",&dy)) sf_error("No d3= in input");/* veloctiy model: dy */
424424
if (!sf_getint("nb",&nb)) nb=30; /* thickness of ABC layer */
425425
if (!sf_getint("nt",&nt)) sf_error("nt required");/* number of time steps */
426-
if (jsnap>nt) sf_error("make sure jsnap<=nt");
427426
if (!sf_getfloat("dt",&dt)) sf_error("dt required");/* time sampling interval */
428427
if (!sf_getfloat("fm",&fm)) fm=20.0; /*dominant freq of Ricker wavelet */
429428
if (!sf_getint("ft",&ft)) ft=0; /* first recorded time */
430429
if (!sf_getint("jsnap",&jsnap)) jsnap=1; /* interval for snapshots */
430+
if (jsnap>nt) sf_error("make sure jsnap<=nt");
431431
if(!sf_getfloat("ct",&ct)) ct=0.01;/*for absorbing boundary*/
432432

433433
if(ifwfd)

user/chenyk/SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ zerotrace hilbert cdivdir cabs cemd1 cemd2 snr2 snr3 snrcyk preerror
1010
threshold1 tsmf fxdecon simidenoise bin2rsf rsf2bin halfthr hradon
1111
suplane simidenoise1 rmtrace prekirch psmig pocssemb afd2d
1212
prekirchsr simpostkirch presr nlm1 nlm2 dblendseis svmf genshotscyk dip_fb dipn_fb dipl dipln selfblend ycvelxf ycvelinvww afd2domp low addtrace matlr pnmomf expd ltfts ltftn fxynpre fxynpre2
13-
orthol orthon orthonc orthoa smoothn warpscann dipn efd3dmt sint2 sint3 eikonal_rtp eikonal_surf eikonal_surf_dv1d txt2rsf rsf2txt npef5_recon
13+
orthol orthon orthonc orthoa smoothn warpscann dipn efd3dmt sint2 sint3 eikonal_rtp eikonal_surf eikonal_surf_dv1d txt2rsf rsf2txt npef5_recon aps3d
1414
'''
1515
ccprogs = 'diffcxx'
1616

0 commit comments

Comments
 (0)