Skip to content
Snippets Groups Projects
Commit 81205de4 authored by Jan Thorbecke's avatar Jan Thorbecke
Browse files

snaphot timing

parent 5a7ae1cb
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ int writeSnapTimes(modPar mod, snaPar sna, bndPar bnd, wavPar wav, int ixsrc, in
isnap = NINT((itime-sna.delay)/sna.skipdt);
if (mod.grid_dir) stime = (-wav.nt+1+itime)*mod.dt; /* reverse time modeling */
if (mod.grid_dir) stime = (-wav.nt+1+itime+1)*mod.dt; /* reverse time modeling */
else stime = itime*mod.dt;
if (verbose) vmess("Writing snapshot(%d) at time=%.4f", isnap+1, stime);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment