/[escript]/trunk/pycad/py_src/gmsh.py
ViewVC logotype

Diff of /trunk/pycad/py_src/gmsh.py

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

revision 2308 by gross, Mon Mar 16 01:20:56 2009 UTC revision 2314 by gross, Tue Mar 17 04:16:24 2009 UTC
# Line 137  class Design(design.Design): Line 137  class Design(design.Design):
137          Returns a handle to a mesh meshing the design. In the current          Returns a handle to a mesh meshing the design. In the current
138          implementation a mesh file name in gmsh format is returned.          implementation a mesh file name in gmsh format is returned.
139          """          """
         f = open(self.getScriptFileName(),"w")  
         f.write(self.getScriptString())  
         f.close()  
140          cmd = self.getCommandString()          cmd = self.getCommandString()
141          if getMPIRankWorld():          if getMPIRankWorld():
142                open(self.getScriptFileName(),"w").write(self.getScriptString())
143              ret = os.system(cmd) / 256              ret = os.system(cmd) / 256
144          else:          else:
145              ret=0              ret=0

Legend:
Removed from v.2308  
changed lines
  Added in v.2314

  ViewVC Help
Powered by ViewVC 1.1.26