]> SALOME platform Git repositories - modules/smesh.git/blobdiff - doc/salome/gui/SMESH/input/tui_defining_ghs3d_hypotheses.doc
Salome HOME
Update BLSURFPLUGIN and GHS3DPLUGIN documentations
[modules/smesh.git] / doc / salome / gui / SMESH / input / tui_defining_ghs3d_hypotheses.doc
index 0051faada94aa88e69dcc7e1012f17882becbc3e..5d9dff78c866be151b8359f23555df521be92068 100644 (file)
@@ -3,6 +3,14 @@
 \page tui_defining_ghs3d_hypotheses_page Defining Hypotheses for Ghs3D Algorithm
 
 \anchor tui_ghs3d
+
+<ol>
+<li>\ref tui_ghs3d_basic "Construction of Mesh using Ghs3D algorithm"</li>
+<li>\ref tui_ghs3d_enforced_vertices "Adding enforced vertices"</li>
+<li>\ref tui_ghs3d_enforced_meshes "Adding enforced mesh"</li>
+</ol>
+
+\anchor tui_ghs3d_basic
 <h2>Construction of Mesh using Ghs3D algorithm</h2>
 
 \code
@@ -30,6 +38,9 @@ ghs3dMesh.Compute()
 
 \image html ghs3d_screenshot.png Ghs3d mesh withtout hypothesis
 
+\ref tui_ghs3d "Back to top"
+
+\anchor tui_ghs3d_enforced_vertices
 <h2>Adding enforced vertices</h2>
 
 \code
@@ -100,6 +111,9 @@ GHS3D_Parameters.ClearEnforcedVertices()
 \image html ghs3d_screenshot_enf1.png Ghs3d mesh with enforced vertex
 \image html ghs3d_screenshot_enf2.png Ghs3d mesh with enforced vertex from GEOM vertex
 
+\ref tui_ghs3d "Back to top"
+
+\anchor tui_ghs3d_enforced_meshes
 <h2>Adding enforced mesh</h2>
 
 \code
@@ -156,18 +170,18 @@ GHS3D_Parameters_mesh.SetToMeshHoles( 1 ) # to mesh inside the cylinder
 
 # Create the mesh on the cylinder
 Mesh_cylindre = smesh.Mesh(cylindre)
-SetName(Mesh_cylindre,"Mesh_cylindre")
+smesh.SetName(Mesh_cylindre,"Mesh_cylindre")
 Mesh_cylindre.AddHypothesis( BLSURF )
 Mesh_cylindre.AddHypothesis( BLSURF_Parameters2 )
 # Create some groups
 face_cyl_faces = Mesh_cylindre.GroupOnGeom(face_cyl,'group_face_cyl', smesh.FACE)
 face_cyl_edges = Mesh_cylindre.GroupOnGeom(face_cyl,'group_edge_cyl', smesh.EDGE)
 face_cyl_nodes = Mesh_cylindre.GroupOnGeom(face_cyl,'group_node_cyl', smesh.NODE)
-Mesh_cyl_tri.Compute()
+Mesh_cylindre.Compute()
 
 # Create the mesh on the cylinder
 Mesh_box_tri = smesh.Mesh(box)
-SetName(Mesh_box_tri,"Mesh_box_tri")
+smesh.SetName(Mesh_box_tri,"Mesh_box_tri")
 Mesh_box_tri.AddHypothesis( BLSURF )
 Mesh_box_tri.AddHypothesis( BLSURF_Parameters )
 Mesh_box_tri.Compute()
@@ -177,19 +191,19 @@ Mesh_box_tri.Compute()
 # Then the 3D algo and hypothesis are assigned to them.
 
 mesh_mesh = smesh.CopyMesh( Mesh_box_tri, 'Enforced by faces of mesh', 0, 0)
-mesh_mesh.AddHypothesis( GHS3D_3D )
+mesh_mesh.AddHypothesis( GHS3D )
 mesh_mesh.AddHypothesis( GHS3D_Parameters_mesh)
 
 mesh_node = smesh.CopyMesh( Mesh_box_tri, 'Enforced by group of nodes', 0, 0)
-mesh_node.AddHypothesis( GHS3D_3D )
+mesh_node.AddHypothesis( GHS3D )
 mesh_node.AddHypothesis( GHS3D_Parameters_node)
 
 mesh_edge = smesh.CopyMesh( Mesh_box_tri, 'Enforced by group of edges', 0, 0)
-mesh_edge.AddHypothesis( GHS3D_3D )
+mesh_edge.AddHypothesis( GHS3D )
 mesh_edge.AddHypothesis( GHS3D_Parameters_edge)
 
 mesh_face = smesh.CopyMesh( Mesh_box_tri, 'Enforced by group of faces', 0, 0)
-mesh_face.AddHypothesis( GHS3D_3D )
+mesh_face.AddHypothesis( GHS3D )
 mesh_face.AddHypothesis( GHS3D_Parameters_face)
 
 # Add the enforced elements
@@ -213,4 +227,6 @@ mesh_mesh.Compute()
 \image html ghs3d_screenshot_enf5.png
 \image html ghs3d_screenshot_enf6.png
 
+\ref tui_ghs3d "Back to top"
+
 */