/[escript]/trunk/modellib/test/python/run_domainreaders.py
ViewVC logotype

Diff of /trunk/modellib/test/python/run_domainreaders.py

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

revision 3585 by gross, Tue Jan 18 23:17:27 2011 UTC revision 3586 by caltinay, Fri Sep 9 04:02:29 2011 UTC
# Line 44  except KeyError: Line 44  except KeyError:
44    
45    
46  def Test_domain(dommodule, f):  def Test_domain(dommodule, f):
47      dom=RectangularDomain(dommodule)      dom=RectangularDomain(dommodule, parameters=["fish","dummy"], debug=True)
48      # need to write to both .fly and .gmsh      # need to write to both .fly and .gmsh
49      dom.domain().write(f+"dr.fly")      dom.domain().write(f+"dr.fly")
50      r1=DomainReader(dommodule)      r1=DomainReader(dommodule)
# Line 73  else: Line 73  else:
73        
74     #Now we need to test using the FinleyReader     #Now we need to test using the FinleyReader
75        
76     rf=FinleyReader()     rf=FinleyReader(parameters=["fish","dummy"], debug=True)
77     rf.source=DataSource(uri=os.path.join(MODELLIB_WORKDIR,"TESTfindr.fly"), fileformat="fly")     rf.source=DataSource(uri=os.path.join(MODELLIB_WORKDIR,"TESTfindr.fly"), fileformat="fly")
78     rf.domain()     rf.domain()
79        

Legend:
Removed from v.3585  
changed lines
  Added in v.3586

  ViewVC Help
Powered by ViewVC 1.1.26