@@ -60,14 +60,11 @@ int main(int argc, char ** argv) {
6060 float * tmp ; /* used to swap p1 and p0 */
6161
6262 int ix , it ; /* counters */
63- int isrc ; /* source counter */
64- int imf ; /* movie frame counter */
6563 int isx ; /* source location, in units of dx */
6664 int nxz ; /* number of spatial grid points */
6765 /* int nz; local number of gridpoints */
6866 int ntr ; /* number of traces */
6967 int nsam ; /* number of trace samples */
70- int nsrc ; /* number of shots */
7168 float rz ,rx ,s ; /* precomputed coefficients */
7269 float vmax ,vmin ; /* max, min velocity values */
7370 /* float two; two */
@@ -80,7 +77,7 @@ int main(int argc, char ** argv) {
8077 getinputs (true,& wi );
8178
8279 /* compute number of shots */
83- nsrc = (wi .isxend - wi .isxbeg )/(wi .iskip ); nsrc ++ ;
80+ /* nsrc = (wi.isxend-wi.isxbeg)/(wi.iskip); nsrc++; */
8481
8582 /* compute number of spatial grid points */
8683 nxz = wi .nx * wi .nz ;
@@ -120,7 +117,7 @@ int main(int argc, char ** argv) {
120117 nz=wi.nz; */
121118
122119 /* shot loop */
123- isrc = 0 ;
120+ /* isrc=0; */
124121 isx = wi .isxbeg ;
125122 while (isx <= wi .isxend ) {
126123
@@ -130,7 +127,7 @@ int main(int argc, char ** argv) {
130127 fzeros (tr ,nsam );
131128
132129 /* initialize movie frame counter */
133- imf = 0 ;
130+ /* imf=0; */
134131
135132 /* time loop */
136133 for (it = 0 ;it < wi .nt ;it ++ ) {
@@ -155,7 +152,7 @@ int main(int argc, char ** argv) {
155152 /* write movie snap to file if necessary */
156153 if (NULL != wi .mfile && wi .nm && !(it %wi .nm )) {
157154 sf_floatwrite (p1 ,nxz ,wi .mfile );
158- imf ++ ;
155+ /* imf++; */
159156 }
160157
161158 /* next t */
@@ -166,7 +163,7 @@ int main(int argc, char ** argv) {
166163 sf_floatwrite (tr ,nsam ,wi .tfile );
167164
168165 isx += wi .iskip ;
169- isrc ++ ;
166+ /* isrc++; */
170167 }
171168
172169
0 commit comments