<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
{\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
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 "side" faces.</span></p>\r
+ two faces should be connected by quadrangle "side" 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"> </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
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
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
<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
<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
};
/*!
- * StdMeshers_Prism_3D: interface of "Prism 3D" algorithm
+ * StdMeshers_Prism_3D: interface of "3D extrusion" algorithm
*/
interface StdMeshers_Prism_3D : SMESH::SMESH_3D_Algo
{
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"/>
# 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):
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
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