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

Diff of /trunk/doc/examples/inversion/synthetic_TTI.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 161  if HAVE_SPECKLEY: Line 161  if HAVE_SPECKLEY:
161              print("t=%s, src=%s: \t %s \t %s \t %s"%(t, wl.getValue(t),srclog(u[1])[0], srclog(u[1])[src_id], srclog(u[1])[-1]))              print("t=%s, src=%s: \t %s \t %s \t %s"%(t, wl.getValue(t),srclog(u[1])[0], srclog(u[1])[src_id], srclog(u[1])[-1]))
162              if not n_out is None and n%n_out == 0:              if not n_out is None and n%n_out == 0:
163                  print("time step %s written to file %s"%(n_out, "output/u_%d.silo"%(k_out,)))                  print("time step %s written to file %s"%(n_out, "output/u_%d.silo"%(k_out,)))
164                  try:                  saveSilo("output/u_%d.silo"%(k_out,), u=u)
                     saveSilo("output/u_%d.silo"%(k_out,), u=u)  
                 except:  
                     print("Failed to save silo file. Possibly no Silo support.")  
165                  k_out+=1                  k_out+=1
166              n+=1              n+=1
167      if tracer_x.obspy_available() and getMPISizeWorld() == 1:      if tracer_x.obspy_available() and getMPISizeWorld() == 1:

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

  ViewVC Help
Powered by ViewVC 1.1.26