daniel-koehn / DENISE-Black-Edition

2D time-domain isotropic (visco)elastic FD modeling and full waveform inversion (FWI) code for P/SV-waves
GNU General Public License v2.0
121 stars 66 forks source link

RUN_MULTIPLE_SHOTS issue #16

Open lltfj1314 opened 5 years ago

lltfj1314 commented 5 years ago

when RUN_MULTIPLE_SHOTS = 0 and Lines 223 in FD_PSV.c has been revised as "for (ishot=1;ishot<=1;ishot+=1)". The forward problem is correct, only shot 1 of 1 is simulated. But in inversion problem, shot 2~N of 1 are still be simulated.

lltfj1314 commented 5 years ago

I figure it out. Not only FD_PSV.C should revise, but also should 54 lines in grad_obj_psv.c be revised too.