]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
mistype
authoreap <eap@opencascade.com>
Fri, 14 Sep 2012 13:10:32 +0000 (13:10 +0000)
committereap <eap@opencascade.com>
Fri, 14 Sep 2012 13:10:32 +0000 (13:10 +0000)
doc/salome/gui/SMESH/input/tui_cartesian_algo.doc

index f1218439b689e7882f37c047c81c3a4364867cb0..3eb7f0fe2f16756effd5dcdb397534fe95c4c3b4 100644 (file)
@@ -25,7 +25,7 @@ print "nb tetrahedra",mesh.NbTetras()
 print "nb polyhedra",mesh.NbPolyhedrons()
 print
 
-# define the grid by sitting constant spacing
+# define the grid by setting constant spacing
 cartHyp = cartAlgo.SetGrid( "10","10","10", 1000000)
 
 mesh.Compute()
@@ -34,9 +34,9 @@ print "nb tetrahedra",mesh.NbTetras()
 print "nb polyhedra",mesh.NbPolyhedrons()
 
 
-# define the grid by sitting different spacing in 2 sub-ranges of geometry
+# define the grid by setting different spacing in 2 sub-ranges of geometry
 spaceFuns = ["5","10+10*t"]
-cartAlgo.SetGrid( [spaceFuns, [0.5]], [spaceFuns, [0.5]], [spaceFuns, [0.25]], 2 )
+cartAlgo.SetGrid( [spaceFuns, [0.5]], [spaceFuns, [0.5]], [spaceFuns, [0.25]], 10 )
 
 mesh.Compute()
 print "nb hexahedra",mesh.NbHexas()