X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Fdefining_hypotheses_ex13.py;h=5fa5e53442f2c836f2b1f160362caaa368320e42;hp=339cd200d4e62d56127d5036b2838726dbfdb5b8;hb=eb177ba64551d4218329339113f3e1782ceb6029;hpb=5e2c97c386dc03e51e072c7f9909803a86307872;ds=sidebyside diff --git a/doc/salome/examples/defining_hypotheses_ex13.py b/doc/salome/examples/defining_hypotheses_ex13.py index 339cd200d..5fa5e5344 100644 --- a/doc/salome/examples/defining_hypotheses_ex13.py +++ b/doc/salome/examples/defining_hypotheses_ex13.py @@ -25,15 +25,18 @@ radial_Quad_algo = mesh.Quadrangle(algo=smeshBuilder.RADIAL_QUAD) # The Radial Quadrange algorithm can work without any hypothesis # In this case it uses "Default Nb of Segments" preferences parameter to discretize edges +# So by default there will be 15 segments in both radial and circular directions mesh.Compute() # The Radial Quadrange uses global or local 1d hypotheses if it does # not have its own hypotheses. # Define global hypotheses to discretize radial edges and a local one for circular edge +# So that there will be 5 radial layers and 10 circular segments global_Nb_Segments = mesh.Segment().NumberOfSegments(5) local_Nb_Segments = mesh.Segment(circle).NumberOfSegments(10) mesh.Compute() # Define own parameters of Radial Quadrange algorithm +# The number of radial layers will be 4 radial_Quad_algo.NumberOfLayers( 4 ) mesh.Compute()