/[escript]/trunk/doc/examples/inversion/synthetic_VTI.py
ViewVC logotype

Diff of /trunk/doc/examples/inversion/synthetic_VTI.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6811 by aellery, Wed May 1 07:03:46 2019 UTC revision 6812 by aellery, Fri May 3 00:36:47 2019 UTC
# Line 165  if HAVE_SPECKLEY: Line 165  if HAVE_SPECKLEY:
165                     tracerNS_z.addRecord(locNS(u[2]))                     tracerNS_z.addRecord(locNS(u[2]))
166              print(t, locEW(u[DIM-1])[len(rgEW)//2-4:len(rgEW)//2+1], wl.getValue(t))              print(t, locEW(u[DIM-1])[len(rgEW)//2-4:len(rgEW)//2+1], wl.getValue(t))
167              #if n%5 == 0 : saveSilo("tmp/u_%d.silo"%(n/5,), u=u)              #if n%5 == 0 : saveSilo("tmp/u_%d.silo"%(n/5,), u=u)
168              try:              saveSilo("tmp/u_%d.silo"%(n,), u=u, cycle=n, time=t)
                 saveSilo("tmp/u_%d.silo"%(n,), u=u, cycle=n, time=t)  
             except:  
                 print("Failed to save silo file. Possibly no Silo support.")  
169              n+=1              n+=1
170      if tracerEW_x.obspy_available() and getMPISizeWorld() == 1:      if tracerEW_x.obspy_available() and getMPISizeWorld() == 1:
171          tracerEW_x.write('lineEW_x.sgy')          tracerEW_x.write('lineEW_x.sgy')

Legend:
Removed from v.6811  
changed lines
  Added in v.6812

  ViewVC Help
Powered by ViewVC 1.1.26