Salome HOME
Porting to Python 3
[plugins/ghs3dprlplugin.git] / doc / salome / gui / GHS3DPRLPLUGIN / input / ghs3dprl_hypo.doc
index 867f796d17227bd16250774e04f6a1960321050b..ba404144b51e495e86757e5353d4e279319ee561 100644 (file)
@@ -1,9 +1,9 @@
 /*!
 
-\page ghs3dprl_hypo_page MG-Tetra Parallel Parameters hypothesis
+\page ghs3dprl_hypo_page MG-Tetra_HPC Parameters hypothesis
 
 \n MG-Tetra Parameters hypothesis works only with <b>MG-Tetra</b>
-meshing algorithm which uses <b>MG-Tetra-hpc</b> code (formerly tepal)
+meshing algorithm which uses <b>MG-Tetra_HPC</b> code (formerly tepal)
 which is the parallel implementation of MG-Tetra (formerly TetMesh-GHS3D) algorithm. 
 This algorithm is a DISTENE commercial software, its use requires a license.
 \n
@@ -24,7 +24,7 @@ file with 5 million tetrahedrons.
 
 <ul>
 <li>
-<b>Name</b> - allows to define the name of the hypothesis (MG-Tetra Parallel Parameters by default).
+<b>Name</b> - allows to define the name of the hypothesis (MG-Tetra_HPC Parameters by default).
 </li>
 <li>
 <b>MED Name</b> - allows to define the path and the prefix of the 
@@ -50,6 +50,10 @@ can even exit Salome. Pay attention that in this case MG-Tetra-hpc algorithm wor
 independently of "killSalome.py", and sometimes on another host.
 </li>
 <li>
+<b>Tetra_hpc Multithread</b> - if this box is checked, MG-Tetra-hpc execution
+is with mg_tetra_hpc.exe (multithread version), else mg_tetra_hpc_mpi.exe (MPI distributed version).
+</li>
+<li>
 <b>Merge subdomains</b> - if this box is checked, merge the sub-domains 
 into one mesh and write the output .mesh(b).
 </li>
@@ -68,8 +72,15 @@ combination with the <b>Merge subdomains</b> option).
 (mesh, global numbering and interfaces).
 </li>
 
+\image html ghs3dprl_parameters_advanced.png
+
+In \b Advanced tab page you can specify not exposed options of MG_Tetra-hpc.
+
+<b>Add option</b> adds a line to the table where you can type an option and its value as text.
+A check box in the first column activates/deactivates the option of the current row. A deactivated option will be erased upon pressing \a Ok.
+
 <h1>Modifying MG-Tetra-hpc Advanced Parameters</h1><br>
-MG-Tetra Parallel plug-in launches a standalone binary
+MG-Tetra_HPC plug-in launches a standalone binary
 executable <b>tetrahpc2med</b>.<br>
 tetrahpc2med launches MG_Tetra-hpc, waits for the end of computation, and
 converts the resulting output files into MED files.<br>
@@ -189,8 +200,8 @@ Options:
 \n
 </li>
 
-<h1>Saving user's preferred MG-Tetra Parallel Advanced Parameters</h1><br>
-MG-Tetra Parallel plug-in launches standalone binary executable tetrahpc2med.<br>
+<h1>Saving user's preferred MG-Tetra_HPC Advanced Parameters</h1><br>
+MG-Tetra_HPC plug-in launches standalone binary executable tetrahpc2med.<br>
 You may rename file tetrahpc2med as tetrahpc2med.exe for example, and replace
 tetrahpc2med by a shell script at your convenience to overriding parameters.
 <br>... or else $PATH modification... .<br>
@@ -356,16 +367,17 @@ algo2d.SetGeometricMesh(0)
 # 3D mesh with tetra-hpc (formerly tepal v3 (2014))
 # ----------------------------------------------------
 
-algo3d = m.Tetrahedron(smeshBuilder.MG_Tetra_Parallel)
+algo3d = m.Tetrahedron(smeshBuilder.MG_Tetra_HPC)
 
 algo3d.SetMEDName(results)
 algo3d.SetNbPart(4)
 algo3d.SetBackground(False)
+algo3d.SetMultithread(False)
 algo3d.SetKeepFiles(False)
-algo3d.SetToMergeSubdomains(False)
-algo3d.SetToTagSubdomains(False)
-algo3d.SetToOutputInterfaces(False)
-algo3d.SetToDiscardSubdomains(False)
+algo3d.SetGradation(1.05)
+algo3d.SetMinSize(0)
+algo3d.SetMaxSize(0)
+
 
 # Launch meshers
 # --------------
@@ -376,9 +388,9 @@ status = m.Compute()
 # ----------
 
 if os.access(results+".xml", os.F_OK):
-    print "Ok: tetra_hpc"
+    print("Ok: tetra_hpc")
 else:
-    print "KO: tetra_hpc"
+    print("KO: tetra_hpc")
 \endcode
 \n
 </li>