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

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

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.26