/[escript]/trunk/pycad/test/python/run_pycad_test.py
ViewVC logotype

Diff of /trunk/pycad/test/python/run_pycad_test.py

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

revision 2262 by phornby, Wed Oct 22 08:40:05 2008 UTC revision 2263 by gross, Wed Feb 11 03:56:47 2009 UTC
# Line 3669  class Test_PyCAD_Design(unittest.TestCas Line 3669  class Test_PyCAD_Design(unittest.TestCas
3669         d.setMeshFileName(mesh_name)         d.setMeshFileName(mesh_name)
3670         self.failUnless(mesh_name == d.getMeshFileName())         self.failUnless(mesh_name == d.getMeshFileName())
3671                
3672         d.setOptions(algorithm=d.TETGEN,optimize_quality=False,smoothing=4,curvature_based_element_size=True)         d.setOptions(algorithm=d.TETGEN,optimize_quality=False,smoothing=4)
3673         cmd=d.getCommandString()         cmd=d.getCommandString()
3674         self.failUnless("gmsh -2 -algo tetgen -clcurv -smooth 4 -v 0 -order 1 -o .%smesh.msh .%sscript.geo"%(os.sep,os.sep) == cmd)         self.failUnless("gmsh -format msh -2 -algo tetgen -smooth 4 -v 0 -order 1 -o .%smesh.msh .%sscript.geo"%(os.sep,os.sep) == cmd)
3675    
3676         d.setOptions(optimize_quality=True,curvature_based_element_size=True)         d.setOptions(optimize_quality=True)
3677         cmd=d.getCommandString()         cmd=d.getCommandString()
3678         self.failUnless("gmsh -2 -algo iso -clcurv -smooth 1 -optimize -v 0 -order 1 -o .%smesh.msh .%sscript.geo"%(os.sep,os.sep) == cmd)         self.failUnless("gmsh -format msh -2 -algo iso -smooth 1 -optimize -v 0 -order 1 -o .%smesh.msh .%sscript.geo"%(os.sep,os.sep) == cmd)
3679    
3680         p0=Point(0.,0.,0.)         p0=Point(0.,0.,0.)
3681         p1=Point(1.,0.,0.)         p1=Point(1.,0.,0.)

Legend:
Removed from v.2262  
changed lines
  Added in v.2263

  ViewVC Help
Powered by ViewVC 1.1.26