Rename 'Prism 3D' algorithm to '3D extrusion', following customer remarks.

This commit is contained in:
jfa 2007-01-26 12:06:25 +00:00
parent 1a264e7061
commit aa2fd1bea8
8 changed files with 19 additions and 21 deletions

View File

@ -3,7 +3,7 @@
<html> <html>
<head> <head>
<title>Prism 3D Algorithm</title> <title>3D extrusion meshing algorithm</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"><style type="text/css"> <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"><style type="text/css">
<!-- <!--
@ -53,7 +53,7 @@ if (window.gbWhTopic)
{ {
if (window.setRelStartPage) if (window.setRelStartPage)
{ {
addTocInfo("MESH module\nCreating meshes\nDefining Algorithms\nPrism 3D Algorithm"); addTocInfo("MESH module\nCreating meshes\nDefining Algorithms\n3D extrusion meshing algorithm");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif"); addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif"); addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
@ -82,27 +82,25 @@ if (window.writeIntopicBar)
writeIntopicBar(4); writeIntopicBar(4);
//--> //-->
</script> </script>
<h1>Prism 3D Algorithm</h1> <h1>3D extrusion meshing algorithm</h1>
<p>Prism 3D algorithm can be used for meshing prisms, i.e. <span style="font-weight: bold;"><B>3D <p>3D extrusion algorithm can be used for meshing prisms, i.e.
Shapes</B></span> defined by<span style="margin-left: 24px; <span style="font-weight: bold;"><B>3D Shapes</B></span> defined by
margin-top: 0pt; two opposing faces having the same number of vertices and edges and meshed using the
margin-bottom: 0pt;"> two opposing
faces having the same number of vertices and edges and meshed using the
<a href="projection_algorithms.htm">2D Projection</a> algorithm. These <a href="projection_algorithms.htm">2D Projection</a> algorithm. These
two faces should be connected by quadrangle &quot;side&quot; faces.</span></p> two faces should be connected by quadrangle &quot;side&quot; faces.</p>
<p><span style="margin-left: 24px; <p><span style="margin-left: 24px;
margin-top: 0pt; margin-top: 0pt;
margin-bottom: 0pt;">The opposing faces can be meshed with margin-bottom: 0pt;">The opposing faces can be meshed with
either quadrangles or triangles, while the side faces should be meshed either quadrangles or triangles, while the side faces should be meshed
with quadranglees only. </span></p> with quadrangles only. </span></p>
<p class="whs1"><img src="image157.gif" width="324px" height="337px" border="0" class="img_whs2"></p> <p class="whs1"><img src="image157.gif" width="324px" height="337px" border="0" class="img_whs2"></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs3">As you can see, the <span style="font-weight: bold;"><B>Prism3D</B></span> <p class="whs3">As you can see, the <span style="font-weight: bold;"><B>3D extrusion</B></span>
algorithm permits to build and to have in the same 3D mesh such elements algorithm permits to build and to have in the same 3D mesh such elements
as hexahedrons, prisms and polyhedrons.</p> as hexahedrons, prisms and polyhedrons.</p>

View File

@ -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"); aTE("Netgen 2D and 3D hypotheses","netgen_2d_and_3d_hypotheses.htm");
aTE("Pattern mapping","pattern_mapping.htm"); aTE("Pattern mapping","pattern_mapping.htm");
aTE("Presentation","presentation.htm"); aTE("Presentation","presentation.htm");
aTE("Prism 3D Algorithm","prism_3d_algorithm.htm"); aTE("3D extrusion Algorithm","prism_3d_algorithm.htm");
aTE("Projection Algorithms","projection_algorithms.htm"); aTE("Projection Algorithms","projection_algorithms.htm");
aTE("Quality Controls","quality_controls.htm"); aTE("Quality Controls","quality_controls.htm");
aTE("Radial Prism","radial_prism.htm"); aTE("Radial Prism","radial_prism.htm");

View File

@ -20,7 +20,7 @@
aTE(2,0,"Basic meshing algorithms","files/about_meshing_algorithms.htm"); aTE(2,0,"Basic meshing algorithms","files/about_meshing_algorithms.htm");
aTE(2,0,"Projection Algorithms","projection_algorithms.htm"); aTE(2,0,"Projection Algorithms","projection_algorithms.htm");
aTE(2,0,"Radial Prism Algorithm","radial_prism.htm"); aTE(2,0,"Radial Prism Algorithm","radial_prism.htm");
aTE(2,0,"Prism 3D Algorithm","prism_3d_algorithm.htm"); aTE(2,0,"3D extrusion Algorithm","prism_3d_algorithm.htm");
aTE(1,6,"Defining hypotheses"); aTE(1,6,"Defining hypotheses");
aTE(2,0,"About Hypotheses","files/about_hypotheses.htm"); aTE(2,0,"About Hypotheses","files/about_hypotheses.htm");
aTE(2,0,"1D Meshing Hypotheses","files/arithmetic_1d.htm"); aTE(2,0,"1D Meshing Hypotheses","files/arithmetic_1d.htm");

View File

@ -66,7 +66,7 @@
<topic name="Netgen 2D and 3D hypotheses" url="netgen_2d_and_3d_hypotheses.htm" /> <topic name="Netgen 2D and 3D hypotheses" url="netgen_2d_and_3d_hypotheses.htm" />
<topic name="Pattern mapping" url="pattern_mapping.htm" /> <topic name="Pattern mapping" url="pattern_mapping.htm" />
<topic name="Presentation" url="presentation.htm" /> <topic name="Presentation" url="presentation.htm" />
<topic name="Prism 3D Algorithm" url="prism_3d_algorithm.htm" /> <topic name="3D extrusion Algorithm" url="prism_3d_algorithm.htm" />
<topic name="Projection Algorithms" url="projection_algorithms.htm" /> <topic name="Projection Algorithms" url="projection_algorithms.htm" />
<topic name="Quality Controls" url="quality_controls.htm" /> <topic name="Quality Controls" url="quality_controls.htm" />
<topic name="Radial Prism" url="radial_prism.htm" /> <topic name="Radial Prism" url="radial_prism.htm" />

View File

@ -12,7 +12,7 @@
<item name="Basic meshing algorithms" url="files/about_meshing_algorithms.htm" /> <item name="Basic meshing algorithms" url="files/about_meshing_algorithms.htm" />
<item name="Projection Algorithms" url="projection_algorithms.htm" /> <item name="Projection Algorithms" url="projection_algorithms.htm" />
<item name="Radial Prism Algorithm" url="radial_prism.htm" /> <item name="Radial Prism Algorithm" url="radial_prism.htm" />
<item name="Prism 3D Algorithm" url="prism_3d_algorithm.htm" /> <item name="3D extrusion Algorithm" url="prism_3d_algorithm.htm" />
</book> </book>
<book name="Defining hypotheses" > <book name="Defining hypotheses" >
<item name="About Hypotheses" url="files/about_hypotheses.htm" /> <item name="About Hypotheses" url="files/about_hypotheses.htm" />

View 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 interface StdMeshers_Prism_3D : SMESH::SMESH_3D_Algo
{ {

View File

@ -161,7 +161,7 @@
dim="3"/> dim="3"/>
<algorithm type="Prism_3D" <algorithm type="Prism_3D"
label-id="Prism 3D" label-id="3D extrusion"
icon-id="mesh_algo_hexa.png" icon-id="mesh_algo_hexa.png"
input="QUAD,TRIA" input="QUAD,TRIA"
dim="3"/> dim="3"/>

View File

@ -920,7 +920,7 @@ class Mesh_Projection3D(Mesh_Algorithm):
# Public class: Mesh_Prism # Public class: Mesh_Prism
# ------------------------ # ------------------------
## Class to define a Prism 3D algorithm ## Class to define a 3D extrusion algorithm
# #
# More details. # More details.
class Mesh_Prism3D(Mesh_Algorithm): class Mesh_Prism3D(Mesh_Algorithm):
@ -1213,7 +1213,7 @@ class Mesh:
def Projection3D(self, geom=0): def Projection3D(self, geom=0):
return Mesh_Projection3D(self, geom) 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. # If the optional \a geom parameter is not sets, this algorithm is global.
# Otherwise, this algorithm define a submesh based on \a geom subshape. # Otherwise, this algorithm define a submesh based on \a geom subshape.
# @param geom If defined, subshape to be meshed # @param geom If defined, subshape to be meshed
@ -1962,9 +1962,9 @@ class Mesh:
if self.GetElemNbNodes(face_id) == 4: # quadrangle if self.GetElemNbNodes(face_id) == 4: # quadrangle
quad_nodes = self.mesh.GetElemNodes(face_id) quad_nodes = self.mesh.GetElemNodes(face_id)
node1_elems = self.GetNodeInverseElements(quad_nodes[1 -1]) node1_elems = self.GetNodeInverseElements(quad_nodes[1 -1])
isPrismFound = False isVolumeFound = False
for node1_elem in node1_elems: for node1_elem in node1_elems:
if not isPrismFound: if not isVolumeFound:
if self.GetElementType(node1_elem, True) == SMESH.VOLUME: if self.GetElementType(node1_elem, True) == SMESH.VOLUME:
nb_nodes = self.GetElemNbNodes(node1_elem) nb_nodes = self.GetElemNbNodes(node1_elem)
if 3 < nb_nodes and nb_nodes < 7: # tetra or penta, or prism if 3 < nb_nodes and nb_nodes < 7: # tetra or penta, or prism