/[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 2318 by gross, Tue Mar 17 04:16:24 2009 UTC revision 2319 by gross, Thu Mar 19 03:19:41 2009 UTC
# Line 139  class Design(design.Design): Line 139  class Design(design.Design):
139          implementation a mesh file name in Triangle format is returned.          implementation a mesh file name in Triangle format is returned.
140          """          """
141          cmd = self.getCommandString()          cmd = self.getCommandString()
142          if getMPIRankWorld():          if getMPIRankWorld() == 0:
143              open(self.getScriptFileName(),"w").write(self.getScriptString())              open(self.getScriptFileName(),"w").write(self.getScriptString())
144              ret = os.system(cmd) / 256              ret = os.system(cmd) / 256
145          else:          else:

Legend:
Removed from v.2318  
changed lines
  Added in v.2319

  ViewVC Help
Powered by ViewVC 1.1.26