/[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 932 by gross, Fri Jan 19 09:27:15 2007 UTC revision 982 by gross, Mon Feb 19 23:55:52 2007 UTC
# Line 76  class Design(design.Design): Line 76  class Design(design.Design):
76         returns the name of the file for the gmsh msh         returns the name of the file for the gmsh msh
77         """         """
78         return self.__mshname         return self.__mshname
79      def setOptions(self,algorithm=None,optimize_quality=True,smoothing=3):      def setOptions(self,algorithm=None,optimize_quality=True,smoothing=1):
80          """          """
81          sets options for the mesh generator          sets options for the mesh generator
82          """          """
# Line 124  class Design(design.Design): Line 124  class Design(design.Design):
124          open(self.getScriptFileName(),"w").write(self.getScriptString())          open(self.getScriptFileName(),"w").write(self.getScriptString())
125          os.system(self.getCommandString())          os.system(self.getCommandString())
126          return self.getMeshFileName()          return self.getMeshFileName()
 # to finley  
 def MakeDomain(design,integrationOrder=-1,optimizeLabeling=True, richFaceElements=False):  
         mshname=design.getMeshHandler()  
         print "MakeDomain :",mshname  
         1/0  
         convertGmshToFinley(open(mshname,"r"),open(filename,"w"),dim=self.getDim())  
         if not self.keepTmpFiles(): os.unlink(mshname)  
         return exe  
         line=gmsh_file.readline().split()  
         while len(line)>0:  
            print line  
            line=gmsh_file.readline().split()  

Legend:
Removed from v.932  
changed lines
  Added in v.982

  ViewVC Help
Powered by ViewVC 1.1.26