/[escript]/trunk/downunder/test/python/run_gravity.py
ViewVC logotype

Diff of /trunk/downunder/test/python/run_gravity.py

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

revision 4005 by caltinay, Fri Sep 28 06:09:03 2012 UTC revision 4032 by gross, Wed Oct 24 08:06:15 2012 UTC
# Line 45  logger.addHandler(handler) Line 45  logger.addHandler(handler)
45  source=SyntheticDataSource(DIM=2, NE=20, l=500*U.km, h=60*U.km, features=features)  source=SyntheticDataSource(DIM=2, NE=20, l=500*U.km, h=60*U.km, features=features)
46  source.setPadding(5, 5)  source.setPadding(5, 5)
47  inv=GravityInversion()  inv=GravityInversion()
 inv.setDataSource(source)  
48  inv.setSolverTolerance(1e-5)  inv.setSolverTolerance(1e-5)
49  inv.setSolverMaxIterations(100)  inv.setSolverMaxIterations(100)
50  inv.setSolverOptions(initialHessian=100)  inv.setSolverOptions(initialHessian=100)
51  inv.setup()  inv.setup(source)
52  rho_new=inv.run()  rho_new=inv.run()
53    

Legend:
Removed from v.4005  
changed lines
  Added in v.4032

  ViewVC Help
Powered by ViewVC 1.1.26