]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Rename 'Prism 3D' algorithm to '3D extrusion', following customer remarks.
authorjfa <jfa@opencascade.com>
Fri, 26 Jan 2007 12:06:25 +0000 (12:06 +0000)
committerjfa <jfa@opencascade.com>
Fri, 26 Jan 2007 12:06:25 +0000 (12:06 +0000)
doc/salome/gui/SMESH/prism_3d_algorithm.htm
doc/salome/gui/SMESH/whdata/whftdata0.htm
doc/salome/gui/SMESH/whdata/whtdata0.htm
doc/salome/gui/SMESH/whxdata/whftdata0.xml
doc/salome/gui/SMESH/whxdata/whtdata0.xml
idl/SMESH_BasicHypothesis.idl
resources/StdMeshers.xml
src/SMESH_SWIG/smesh.py

index da64656c0791eacbd07cb677bd44587263b7f732..9bdf4a4efe53eccb4308188c8887b58540f3552a 100644 (file)
@@ -3,7 +3,7 @@
 <html>\r
 \r
 <head>\r
-<title>Prism 3D Algorithm</title>\r
+<title>3D extrusion meshing algorithm</title>\r
 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"><style type="text/css">\r
 <!--\r
@@ -53,7 +53,7 @@ if (window.gbWhTopic)
 {\r
        if (window.setRelStartPage)\r
        {\r
-       addTocInfo("MESH module\nCreating meshes\nDefining Algorithms\nPrism 3D Algorithm");\r
+       addTocInfo("MESH module\nCreating meshes\nDefining Algorithms\n3D extrusion meshing algorithm");\r
 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
 \r
@@ -82,27 +82,25 @@ if (window.writeIntopicBar)
        writeIntopicBar(4);\r
 //-->\r
 </script>\r
-<h1>Prism 3D Algorithm</h1>\r
+<h1>3D extrusion meshing algorithm</h1>\r
 \r
-<p>Prism 3D algorithm can be used for meshing prisms, i.e. <span style="font-weight: bold;"><B>3D \r
- Shapes</B></span> defined by<span style="margin-left: 24px;\r
-                                                                               margin-top: 0pt;\r
-                                                                               margin-bottom: 0pt;"> two opposing \r
- faces having the same number of vertices and edges and meshed using the \r
+<p>3D extrusion algorithm can be used for meshing prisms, i.e.\r
+<span style="font-weight: bold;"><B>3D Shapes</B></span> defined by\r
+ two opposing faces having the same number of vertices and edges and meshed using the \r
  <a href="projection_algorithms.htm">2D Projection</a> algorithm. These \r
- two faces should be connected by quadrangle &quot;side&quot; faces.</span></p>\r
+ two faces should be connected by quadrangle &quot;side&quot; faces.</p>\r
 \r
 <p><span style="margin-left: 24px;\r
                                margin-top: 0pt;\r
                                margin-bottom: 0pt;">The opposing faces can be meshed with \r
  either quadrangles or triangles, while the side faces should be meshed \r
- with quadranglees only. </span></p>\r
+ with quadrangles only. </span></p>\r
 \r
 <p class="whs1"><img src="image157.gif" width="324px" height="337px" border="0" class="img_whs2"></p>\r
 \r
 <p class="whs1">&nbsp;</p>\r
 \r
-<p class="whs3">As you can see, the <span style="font-weight: bold;"><B>Prism3D</B></span> \r
+<p class="whs3">As you can see, the <span style="font-weight: bold;"><B>3D extrusion</B></span> \r
  algorithm permits to build and to have in the same 3D mesh such elements \r
  as hexahedrons, prisms and polyhedrons.</p>\r
 \r
index dd23e6dd86dc14763344506c2e225af106af0ca8..20d7845ed31e80e12ff5b50a40cc5fba8bc37be8 100755 (executable)
@@ -78,7 +78,7 @@ aTE("SALOME - SMESH - v.version: Package smesh","namespacesmesh.html");
 aTE("Netgen 2D and 3D hypotheses","netgen_2d_and_3d_hypotheses.htm");\r
 aTE("Pattern mapping","pattern_mapping.htm");\r
 aTE("Presentation","presentation.htm");\r
-aTE("Prism 3D Algorithm","prism_3d_algorithm.htm");\r
+aTE("3D extrusion Algorithm","prism_3d_algorithm.htm");\r
 aTE("Projection Algorithms","projection_algorithms.htm");\r
 aTE("Quality Controls","quality_controls.htm");\r
 aTE("Radial Prism","radial_prism.htm");\r
index 40eb3f33b713c095279841cddbb453ee92c3d00e..3ce072d699a9461ffe2efb4188f70e74975bf792 100755 (executable)
@@ -20,7 +20,7 @@
        aTE(2,0,"Basic meshing algorithms","files/about_meshing_algorithms.htm");\r
        aTE(2,0,"Projection Algorithms","projection_algorithms.htm");\r
        aTE(2,0,"Radial Prism Algorithm","radial_prism.htm");\r
-       aTE(2,0,"Prism 3D Algorithm","prism_3d_algorithm.htm");\r
+       aTE(2,0,"3D extrusion Algorithm","prism_3d_algorithm.htm");\r
      aTE(1,6,"Defining hypotheses");\r
        aTE(2,0,"About Hypotheses","files/about_hypotheses.htm");\r
        aTE(2,0,"1D Meshing Hypotheses","files/arithmetic_1d.htm");\r
index ffb88ad562d6e98e33cfd4b5d0deb6cebd08ca08..83ca09c48333279af4987988fd40110fe8505a89 100755 (executable)
@@ -66,7 +66,7 @@
 <topic name="Netgen 2D and 3D hypotheses" url="netgen_2d_and_3d_hypotheses.htm" />\r
 <topic name="Pattern mapping" url="pattern_mapping.htm" />\r
 <topic name="Presentation" url="presentation.htm" />\r
-<topic name="Prism 3D Algorithm" url="prism_3d_algorithm.htm" />\r
+<topic name="3D extrusion Algorithm" url="prism_3d_algorithm.htm" />\r
 <topic name="Projection Algorithms" url="projection_algorithms.htm" />\r
 <topic name="Quality Controls" url="quality_controls.htm" />\r
 <topic name="Radial Prism" url="radial_prism.htm" />\r
index 97d991783f5bfa4d8481295d26dfe099cf3b105b..153fe7adadff9be8b764fb6ab2fdf0bd986e8b9c 100755 (executable)
@@ -12,7 +12,7 @@
       <item name="Basic meshing algorithms" url="files/about_meshing_algorithms.htm" />\r
       <item name="Projection Algorithms" url="projection_algorithms.htm" />\r
       <item name="Radial Prism Algorithm" url="radial_prism.htm" />\r
-      <item name="Prism 3D Algorithm" url="prism_3d_algorithm.htm" />\r
+      <item name="3D extrusion Algorithm" url="prism_3d_algorithm.htm" />\r
     </book>\r
     <book name="Defining hypotheses" >\r
       <item name="About Hypotheses" url="files/about_hypotheses.htm" />\r
index 8ae1235e764c461307607bead88f3e3198f132e6..94472e81bfe23cfec2446db7fad24fa7bb767ab2 100644 (file)
@@ -536,7 +536,7 @@ module StdMeshers
   };
 
   /*!
-   * StdMeshers_Prism_3D: interface of "Prism 3D" algorithm
+   * StdMeshers_Prism_3D: interface of "3D extrusion" algorithm
    */
   interface StdMeshers_Prism_3D : SMESH::SMESH_3D_Algo
   {
index 2c884948aafd6cec00ec95ab048dcdc0c121b412..8698166dfead2aba8c6599c0c697c9598e1d348e 100644 (file)
                dim="3"/>
 
     <algorithm type="Prism_3D"
-               label-id="Prism 3D"
+               label-id="3D extrusion"
                icon-id="mesh_algo_hexa.png"
                input="QUAD,TRIA"
                dim="3"/>
index d7a687e935d9f5cf9254777509a576b888f4b24a..0431ee027edc660c41bafc226c5729707c84fbd9 100644 (file)
@@ -920,7 +920,7 @@ class Mesh_Projection3D(Mesh_Algorithm):
 # Public class: Mesh_Prism
 # ------------------------
 
-## Class to define a Prism 3D algorithm
+## Class to define a 3D extrusion algorithm
 #
 #  More details.
 class Mesh_Prism3D(Mesh_Algorithm):
@@ -1213,7 +1213,7 @@ class Mesh:
     def Projection3D(self, geom=0):
         return Mesh_Projection3D(self, geom)
 
-    ## Creates a Prism 3D or RadialPrism 3D algorithm for solids.
+    ## Creates a 3D extrusion (Prism 3D) or RadialPrism 3D algorithm for solids.
     #  If the optional \a geom parameter is not sets, this algorithm is global.
     #  Otherwise, this algorithm define a submesh based on \a geom subshape.
     #  @param geom If defined, subshape to be meshed
@@ -1962,9 +1962,9 @@ class Mesh:
             if self.GetElemNbNodes(face_id) == 4: # quadrangle
                 quad_nodes = self.mesh.GetElemNodes(face_id)
                 node1_elems = self.GetNodeInverseElements(quad_nodes[1 -1])
-                isPrismFound = False
+                isVolumeFound = False
                 for node1_elem in node1_elems:
-                    if not isPrismFound:
+                    if not isVolumeFound:
                         if self.GetElementType(node1_elem, True) == SMESH.VOLUME:
                             nb_nodes = self.GetElemNbNodes(node1_elem)
                             if 3 < nb_nodes and nb_nodes < 7: # tetra or penta, or prism