mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-24 01:22:05 +05:00
mistype
This commit is contained in:
parent
5e940de5e3
commit
fc7d86ce22
@ -25,7 +25,7 @@ print "nb tetrahedra",mesh.NbTetras()
|
|||||||
print "nb polyhedra",mesh.NbPolyhedrons()
|
print "nb polyhedra",mesh.NbPolyhedrons()
|
||||||
print
|
print
|
||||||
|
|
||||||
# define the grid by sitting constant spacing
|
# define the grid by setting constant spacing
|
||||||
cartHyp = cartAlgo.SetGrid( "10","10","10", 1000000)
|
cartHyp = cartAlgo.SetGrid( "10","10","10", 1000000)
|
||||||
|
|
||||||
mesh.Compute()
|
mesh.Compute()
|
||||||
@ -34,9 +34,9 @@ print "nb tetrahedra",mesh.NbTetras()
|
|||||||
print "nb polyhedra",mesh.NbPolyhedrons()
|
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"]
|
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()
|
mesh.Compute()
|
||||||
print "nb hexahedra",mesh.NbHexas()
|
print "nb hexahedra",mesh.NbHexas()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user