/[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 2694 by jfenwick, Fri Aug 21 06:30:25 2009 UTC revision 2695 by gross, Tue Sep 29 06:29:12 2009 UTC
# Line 127  class Design(design.Design): Line 127  class Design(design.Design):
127          else:          else:
128                opt=""                opt=""
129    
130          exe="gmsh -format msh -%s -algo %s -smooth %s %s-v 0 -order %s -o %s %%s" % (          exe="gmsh -format msh -%s -algo %s -smooth %s %s-v 3 -order %s -o %s %%s" % (
131                  self.getDim(), self.__algo, self.__smoothing, opt,                  self.getDim(), self.__algo, self.__smoothing, opt,
132                  self.getElementOrder(), self.getMeshFileName())                  self.getElementOrder(), self.getMeshFileName())
133          return exe          return exe
# Line 163  class Design(design.Design): Line 163  class Design(design.Design):
163          Returns the gmsh script to generate the mesh.          Returns the gmsh script to generate the mesh.
164          """          """
165          h=self.getElementSize()          h=self.getElementSize()
166          out="// generated by esys.pycad\n"          out='// generated by esys.pycad\nGeneral.Terminal = 1;'
167          for prim in self.getAllPrimitives():          for prim in self.getAllPrimitives():
168             p=prim.getUnderlyingPrimitive()             p=prim.getUnderlyingPrimitive()
169             if isinstance(p, Point):             if isinstance(p, Point):

Legend:
Removed from v.2694  
changed lines
  Added in v.2695

  ViewVC Help
Powered by ViewVC 1.1.26