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

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

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

revision 4212 by jfenwick, Tue Jan 22 09:30:23 2013 UTC revision 4213 by caltinay, Tue Feb 19 01:16:29 2013 UTC
# Line 20  __license__="""Licensed under the Open S Line 20  __license__="""Licensed under the Open S
20  http://www.opensource.org/licenses/osl-3.0.php"""  http://www.opensource.org/licenses/osl-3.0.php"""
21  __url__="https://launchpad.net/escript-finley"  __url__="https://launchpad.net/escript-finley"
22    
 import logging  
23  import os  import os
24  from esys.downunder import *  from esys.downunder import *
25  from esys.escript import unitsSI as U  from esys.escript import unitsSI as U
# Line 40  features=[SmoothAnomaly(lx=30*U.km, ly=2 Line 39  features=[SmoothAnomaly(lx=30*U.km, ly=2
39    
40  B_b=simpleGeoMagneticFluxDensity(latitude=-28.5)  B_b=simpleGeoMagneticFluxDensity(latitude=-28.5)
41    
 logger=logging.getLogger('inv')  
 logger.setLevel(logging.INFO)  
 handler=logging.StreamHandler()  
 handler.setLevel(logging.INFO)  
 logger.addHandler(handler)  
42  source=SyntheticFeatureData(DataSource.MAGNETIC, DIM=2, number_of_elements=30, length=100*U.km, features=features, B_b=B_b)  source=SyntheticFeatureData(DataSource.MAGNETIC, DIM=2, number_of_elements=30, length=100*U.km, features=features, B_b=B_b)
43    
44  domainbuilder=DomainBuilder(dim=2)  domainbuilder=DomainBuilder(dim=2)

Legend:
Removed from v.4212  
changed lines
  Added in v.4213

  ViewVC Help
Powered by ViewVC 1.1.26