/[escript]/trunk/dudley/test/python/run_inputOutput.py
ViewVC logotype

Diff of /trunk/dudley/test/python/run_inputOutput.py

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

revision 3114 by jfenwick, Fri Aug 27 05:26:25 2010 UTC revision 3231 by jfenwick, Fri Oct 1 01:53:46 2010 UTC
# Line 119  class InputOutput(unittest.TestCase): Line 119  class InputOutput(unittest.TestCase):
119    
120       def test_data_dump_to_NetCDF_brick(self):       def test_data_dump_to_NetCDF_brick(self):
121      if loadIsConfigured():      if loadIsConfigured():
122        mydomain1 = Brick(n0=NE0, n1=NE1, n2=NE2, order=2, l0=1., l1=1., l2=1., optimize=False)        mydomain1 = Brick(n0=NE0, n1=NE1, n2=NE2, order=1, l0=1., l1=1., l2=1., optimize=False)
123        d1=Data(mydomain1.getMPIRank(), Function(mydomain1))        d1=Data(mydomain1.getMPIRank(), Function(mydomain1))
124        d1.expand()        d1.expand()
125        d1.dump("tempfile.dump.nc")        d1.dump("tempfile.dump.nc")
# Line 135  class InputOutput(unittest.TestCase): Line 135  class InputOutput(unittest.TestCase):
135    
136       def test_mesh_dump_to_NetCDF_brick(self):       def test_mesh_dump_to_NetCDF_brick(self):
137      if loadIsConfigured():      if loadIsConfigured():
138        mydomain1 = Brick(n0=NE0, n1=NE1, n2=NE2, order=2, l0=1., l1=1., l2=1., optimize=False)        mydomain1 = Brick(n0=NE0, n1=NE1, n2=NE2, order=1, l0=1., l1=1., l2=1., optimize=False)
139        mydomain1.dump("tempfile.mesh.nc")        mydomain1.dump("tempfile.mesh.nc")
140        mydomain2=LoadMesh("tempfile.mesh.nc")        mydomain2=LoadMesh("tempfile.mesh.nc")
141            self.domainsEqual(mydomain1, mydomain2)            self.domainsEqual(mydomain1, mydomain2)

Legend:
Removed from v.3114  
changed lines
  Added in v.3231

  ViewVC Help
Powered by ViewVC 1.1.26