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

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

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

revision 4361 by jfenwick, Tue Mar 12 03:23:26 2013 UTC revision 4362 by caltinay, Tue Apr 16 04:37:13 2013 UTC
# Line 60  def work(): Line 60  def work():
60    print("density = %s"%density)    print("density = %s"%density)
61    
62    g, w =  db.getGravitySurveys()[0]    g, w =  db.getGravitySurveys()[0]
63      saveVoxet("result.vo", density=density)
64    saveSilo("result_gravity.silo", density=density, gravity_anomaly=g, gravity_weight=w)    saveSilo("result_gravity.silo", density=density, gravity_anomaly=g, gravity_weight=w)
65    print("Results saved in result_gravity.silo")    print("Results saved in result_gravity.silo")
66    

Legend:
Removed from v.4361  
changed lines
  Added in v.4362

  ViewVC Help
Powered by ViewVC 1.1.26