Snapshot:What do the xs, ys, zs,xf,yf,zf,mean

73 views
Skip to first unread message

HIT-flower

unread,
Apr 14, 2017, 7:54:04 AM4/14/17
to gprMax-users

Hi everyone,

Can anyone tell me how to use Snapshot?I can't figure out what do the xs, ys, zs,xf,yf,zf,mean.



TIP:

You can take advantage of Python scripting to easily create a series of snapshots. For example, to create 30 snapshots starting at time 0.1ns until 3ns in intervals of 0.1ns, use the following code snippet in your input file. Replace xs, ys, zs, xf, yf, zf, dx, dy, dz accordingly.

#python:
from gprMax.input_cmd_funcs import *
for i in range(1, 31):
    snapshot(xs, ys, zs, xf, yf, zf, dx, dy, dz, (i/10)*1e-9, 'snapshot' + str(i))
#end_python:
Reply all
Reply to author
Forward
0 new messages