/[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 1005 by gross, Tue Feb 27 08:12:37 2007 UTC revision 1006 by ksteube, Sun Mar 4 23:15:15 2007 UTC
# Line 3580  class Test_PyCAD_Design(unittest.TestCas Line 3580  class Test_PyCAD_Design(unittest.TestCas
3580         d.setMeshFileName(mesh_name)         d.setMeshFileName(mesh_name)
3581         self.failUnless(mesh_name == d.getMeshFileName())         self.failUnless(mesh_name == d.getMeshFileName())
3582                
3583         d.setOptions(algorithm=d.TETGEN,optimize_quality=False,smoothing=4)         d.setOptions(algorithm=d.TETGEN,optimize_quality=False,smoothing=4,curvature_based_element_size=True)
3584         cmd=d.getCommandString()         cmd=d.getCommandString()
3585         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 -2 -algo tetgen -clcurv -smooth 4 -v 0 -order 1 -o .%smesh.msh .%sscript.geo"%(os.sep,os.sep) == cmd)
3586    
3587         d.setOptions(optimize_quality=True)         d.setOptions(optimize_quality=True,curvature_based_element_size=True)
3588         cmd=d.getCommandString()         cmd=d.getCommandString()
3589         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 -2 -algo iso -clcurv -smooth 1 -optimize -v 0 -order 1 -o .%smesh.msh .%sscript.geo"%(os.sep,os.sep) == cmd)
3590    
3591         p0=Point(0.,0.,0.)         p0=Point(0.,0.,0.)
3592         p1=Point(1.,0.,0.)         p1=Point(1.,0.,0.)

Legend:
Removed from v.1005  
changed lines
  Added in v.1006

  ViewVC Help
Powered by ViewVC 1.1.26