From: eap Date: Thu, 11 Sep 2014 15:08:57 +0000 (+0400) Subject: COTECH: Update names of DISTENE products X-Git-Tag: V7_5_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a9655deaf4df9f3fdcc959e0bde11ff91da11e8c;p=plugins%2Fghs3dprlplugin.git COTECH: Update names of DISTENE products Almost full replacement of old names --- diff --git a/doc/salome/gui/GHS3DPRLPLUGIN/doxyfile.in b/doc/salome/gui/GHS3DPRLPLUGIN/doxyfile.in index 46be5e9..e945673 100755 --- a/doc/salome/gui/GHS3DPRLPLUGIN/doxyfile.in +++ b/doc/salome/gui/GHS3DPRLPLUGIN/doxyfile.in @@ -20,7 +20,7 @@ #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- -PROJECT_NAME = "SALOME GHS3DPRLPLUGIN User's Guide" +PROJECT_NAME = "SALOME MG-Tetra Parallel plug-in User's Guide" OUTPUT_DIRECTORY = GHS3DPRLPLUGIN CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English diff --git a/doc/salome/gui/GHS3DPRLPLUGIN/doxyfile_py.in b/doc/salome/gui/GHS3DPRLPLUGIN/doxyfile_py.in index c6f479c..b56202d 100755 --- a/doc/salome/gui/GHS3DPRLPLUGIN/doxyfile_py.in +++ b/doc/salome/gui/GHS3DPRLPLUGIN/doxyfile_py.in @@ -20,7 +20,7 @@ #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- -PROJECT_NAME = "SALOME GHS3DPRLPLUGIN User's Guide" +PROJECT_NAME = "SALOME MG_Tetra Parallel Plug-in User's Guide" OUTPUT_DIRECTORY = GHS3DPRLPLUGIN CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English diff --git a/doc/salome/gui/GHS3DPRLPLUGIN/images/ghs3dprl_parameters_basic.png b/doc/salome/gui/GHS3DPRLPLUGIN/images/ghs3dprl_parameters_basic.png index cdf1c3d..78b3695 100644 Binary files a/doc/salome/gui/GHS3DPRLPLUGIN/images/ghs3dprl_parameters_basic.png and b/doc/salome/gui/GHS3DPRLPLUGIN/images/ghs3dprl_parameters_basic.png differ diff --git a/doc/salome/gui/GHS3DPRLPLUGIN/input/ghs3dprl_hypo.doc b/doc/salome/gui/GHS3DPRLPLUGIN/input/ghs3dprl_hypo.doc index 7b09aea..867f796 100644 --- a/doc/salome/gui/GHS3DPRLPLUGIN/input/ghs3dprl_hypo.doc +++ b/doc/salome/gui/GHS3DPRLPLUGIN/input/ghs3dprl_hypo.doc @@ -1,10 +1,11 @@ /*! -\page ghs3dprl_hypo_page MG-Tetra-hpc (Parallel) Parameters hypothesis +\page ghs3dprl_hypo_page MG-Tetra Parallel Parameters hypothesis -\n MG-Tetra-hpc Parameters hypothesis works only with MG-Tetra-hpc code (formerly tepal) -which is the parallel implementation of MeshGems-Tetra (formerly TetMesh-GHS3D) algorithm. -This algorithm is a DISTENE commercial software, its use requires a licence. +\n MG-Tetra Parameters hypothesis works only with MG-Tetra +meshing algorithm which uses MG-Tetra-hpc 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 See http://www.distene.com and http://www.meshgems.com/volume-meshing-meshgems-tetra.html. \n MG-Tetra-hpc (Tepal V3 in fact) gives the possibility to generate a partitioned @@ -14,7 +15,7 @@ The launch of this version is described below. configuration with 64Go RAM to only try to make a partition of a mesh with 200 million tetrahedrons, no result guaranteed (in 2010). \n -\note The Plugin doesn't load in the Memory the supposedly large resulting meshes. +\note The plug-in doesn't load in the memory the supposedly large resulting meshes. The meshes are saved in MED files and can be imported in the user-defined location via menu File-Import-MED Files. \n Pay attention, that Salome GUI needs 2Go RAM to load a MED file with 5 million tetrahedrons. @@ -27,7 +28,7 @@ file with 5 million tetrahedrons.
  • MED Name - allows to define the path and the prefix of the -resulting MED files ("DOMAIN" by default). +resulting MED files ("DOMAIN" by default). If the path is not defined, the environment variable $SALOME_TMP_DIR is used. If $SALOME_TMP_DIR is not defined as well, the environment variable $TMP is used. @@ -38,42 +39,45 @@ The initial skin (triangles) will be meshed (tetrahedrons) and partitioned in Nb_Part by the elementary algorithm implemented in Tepal.
  • -Keep Files - if this box is checked, input files of Tepal -(GHS3DPRL.points and GHS3DPRL.faces) are not deleted after use (...if the +Keep Files - if this box is checked, input files of MG-Tetra-hpc +(GHS3DPRL.points and GHS3DPRL.faces) are not deleted after use (if the background mode was not used).
  • -Tetra_hpc in Background - if this box is checked, Tetra_hpc execution +Tetra_hpc in Background - if this box is checked, MG-Tetra-hpc execution and MED file generation are launched in background mode and the user -can even exit Salome. Pay attention that in this case Tepal algorithm works +can even exit Salome. Pay attention that in this case MG-Tetra-hpc algorithm works independently of "killSalome.py", and sometimes on another host.
  • -Merge subdomains - if this box is checked, merge the subdomains +Merge subdomains - if this box is checked, merge the sub-domains into one mesh and write the output .mesh(b).
  • -Tag subdomains - if this box is checked, use the parallel subdomain +Tag subdomains - if this box is checked, use the parallel sub-domain index as tag into the merged output mesh or not (used in combination with the -merge_subdomains option). +Merge subdomains option).
  • -Output interfaces - if this box is checked, write the parallel subdomains interface -triangles into the merged output mesh (used in combination with the merge_subdomains option). +Output interfaces - if this box is checked, write the parallel +sub-domains interface triangles into the merged output mesh (used in +combination with the Merge subdomains option).
  • -Discard subdomains - if this box is checked, discard the parallel subdomains +Discard subdomains - if this box is checked, discard the parallel sub-domains (mesh, global numbering and interfaces).
  • Modifying MG-Tetra-hpc Advanced Parameters


    -GHS3DPRL Plugin launches a standalone binary executable tetrahpc2med.
    -tetrahpc2med launches tetra_hpc, waits for the end of computation, and -converts the resulting output tepal files into MED files.
    +MG-Tetra Parallel plug-in launches a standalone binary +executable tetrahpc2med.
    +tetrahpc2med launches MG_Tetra-hpc, waits for the end of computation, and +converts the resulting output files into MED files.
    Some advanced optional parameters are accessible as arguments.
    -If keep_files option is checked, it is possible to re-launch tetrahpc2med -or tetra_hpc in the Terminal as a command with custom parameters.
    +If Keep Files option is checked, it is possible to re-launch +\a tetrahpc2med or MG-Tetra-hpc in the Terminal as a command with +custom parameters.
  • Advanced tetrahpc2med Parameters - type tetrahpc2med --help in the Terminal.

    @@ -185,8 +189,8 @@ Options: \n

  • -

    Saving user's preferred GHS3DPRL Advanced Parameters


    -GHS3DPRL Plugin launches standalone binary executable tetrahpc2med.
    +

    Saving user's preferred MG-Tetra Parallel Advanced Parameters


    +MG-Tetra Parallel plug-in launches standalone binary executable tetrahpc2med.
    You may rename file tetrahpc2med as tetrahpc2med.exe for example, and replace tetrahpc2med by a shell script at your convenience to overriding parameters.
    ... or else $PATH modification... .
    @@ -220,7 +224,7 @@ This 2014 beta-version needs MPI, (openmpi was used). To use it you have to proc #we have renamed binary executable tepal as tepal64_v2.exe. #typical command to launch tepal v1 : #tepal -f /tmp/myname/GHS3DPRL -n 16 > /tmp/myname/tepal.log -#this file is an exemple to transform this call for tepal v2.0, +#this file is an example to transform this call for tepal v2.0, # (beta version using .mesh input file) #you have to adapt for your convenience. @@ -233,7 +237,7 @@ This 2014 beta-version needs MPI, (openmpi was used). To use it you have to proc #third problem is convert tepal v2 output files GHS3DPRL*.mesh # to v1 input files GHS3DPRL*.faces an GHS3DPRL*.points. -#you have to work on the same physical disk and same path input and ouput files : $SAME_DIR +#you have to work on the same physical disk and same path input and output files : $SAME_DIR #you have to work on different physical disk but same path and name for executable files # (and shared libraries) : $DIFF_DIR @@ -265,7 +269,7 @@ export LD_LIBRARY_PATH=$DIFF_DIR/openmpi-1.3.1_install/lib:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=$DIFF_DIR/tepal-2.0.0/bin/Linux_64:${LD_LIBRARY_PATH} export PATH=$DIFF_DIR/tepal-2.0.0/bin/Linux_64:$PATH -#small test betweeen friends +#small test between friends #rm hostnames.log #mpirun -n $4 hostname >> hostnames.log @@ -275,7 +279,7 @@ export DLIM8VAR="dlim8 1:1:29030@is142356/0016175ef08c::a1ba...9e19" export SIMULOGD_LICENSE_FILE=29029@is142356 export LICENSE_FILE=/product/distene/dlim8.var.sh -#mpirun with necessary set envenvironment +#mpirun with necessary set environment export TMP_ENV="-x PATH -x LD_LIBRARY_PATH -x DISTENE_LICENSE_FILE -x DLIM8VAR \ -x SIMULOGD_LICENSE_FILE -x LICENSE_FILE" #mpirun $TMPENV -n $4 which tepal64_v2.exe >> hostnames.log @@ -286,7 +290,7 @@ mpirun $TMPENV -n $4 tepal64_v2.exe --in $IN_FILES.mesh --out $IN_FILES.mesh --v #convert output files tepalv1 format /through_salome_path/mesh2facespoints.py $IN_FILES -#copy ouputs files from $SAME_DIR to local current directory (something like /tmp/myname) +#copy output files from $SAME_DIR to local current directory (something like /tmp/myname) cp -f hostnames.log $IN_DIR cp -f $IN_FILES* $IN_DIR diff --git a/doc/salome/gui/GHS3DPRLPLUGIN/input/ghs3dprlplugin_python_interface.doc b/doc/salome/gui/GHS3DPRLPLUGIN/input/ghs3dprlplugin_python_interface.doc index eb4b482..eb50bc1 100644 --- a/doc/salome/gui/GHS3DPRLPLUGIN/input/ghs3dprlplugin_python_interface.doc +++ b/doc/salome/gui/GHS3DPRLPLUGIN/input/ghs3dprlplugin_python_interface.doc @@ -2,8 +2,19 @@ \page ghs3dprlplugin_python_interface_page Python Interface -Python package GHS3DPRLPluginBuilder defines several classes, destined for creation of the 3D meshes. +\note The former name of MG-Tetra Parallel meshing algorithm is \a GHS3DPRL and names +of the corresponding classes and modules still include \a "GHS3DPRL". -GHS3DPRL meshing plugin dynamically adds several methods to the smeshBuilder.Mesh class to create meshing algorithms. +Python package GHS3DPRLPluginBuilder defines +GHS3DPRLPluginBuilder.GHS3DPRL_Algorithm class providing access +to the MG-Tetra Parallel meshing algorithm and its parameters. + +You can get an instance of this class by calling +smeshBuilder.Mesh.Tetrahedron(algo=smeshBuilder.MG_Tetra_Parallel) or +smeshBuilder.Mesh.Tetrahedron(algo=smeshBuilder.GHS3DPRL). This call +creates an algorithm (if not yet exist), assigns it to the mesh and +returns an instance of GHS3DPRLPluginBuilder.GHS3DPRL_Algorithm to the caller. + +The class of algorithm has methods to set up meshing parameters. */ diff --git a/doc/salome/gui/GHS3DPRLPLUGIN/input/index.doc b/doc/salome/gui/GHS3DPRLPLUGIN/input/index.doc index 8ae4faf..e887994 100644 --- a/doc/salome/gui/GHS3DPRLPLUGIN/input/index.doc +++ b/doc/salome/gui/GHS3DPRLPLUGIN/input/index.doc @@ -1,18 +1,21 @@ /*! -\mainpage Introduction to GHS3DPRLPLUGIN +\mainpage Introduction to MG-Tetra Parallel plug-in -\b GHS3DPRLPLUGIN plugin is destined for: +\b MG-Tetra Parallel plug-in adds MG-Tetra Parallel (former GHS3DPRL) meshing +algorithm to the SALOME Mesh module. + +\b MG-Tetra Parallel plug-in is destined for: - Meshing 3D geometric entities: volumes are split into tetrahedral (pyramidal) elements. - Generating 3D meshes from 2D meshes, working without geometrical objects. -\note GHS3DPRLPLUGIN plugin uses MG-Tetra-hpc (formerly Tepal) commercial mesher and require a +\note MG-Tetra Parallel plug-in uses MG-Tetra-hpc (formerly Tepal) commercial mesher and require a license to be used within the Mesh module. -To manage parameters of the GHS3DPRLPLUGIN use \subpage ghs3dprl_hypo_page. +To manage parameters of the MG-Tetra Parallel mesher use \subpage ghs3dprl_hypo_page. -Also all GHS3DPRLPLUGIN functionalities are accessible via -\subpage ghs3dprlplugin_python_interface_page "GHS3DPRLPLUGIN Python interface". +Also all MG-Tetra Parallel functionalities are accessible via +\subpage ghs3dprlplugin_python_interface_page "MG-Tetra Parallel Python interface". \image html image2.gif "Example of a tetrahedral 3D mesh" diff --git a/resources/SalomeApp.xml b/resources/SalomeApp.xml index 970ada4..048cbe8 100644 --- a/resources/SalomeApp.xml +++ b/resources/SalomeApp.xml @@ -27,6 +27,6 @@
    - +
    diff --git a/src/GHS3DPRLPlugin/GHS3DPRLPluginBuilder.py b/src/GHS3DPRLPlugin/GHS3DPRLPluginBuilder.py index cec63fd..241b8e7 100644 --- a/src/GHS3DPRLPlugin/GHS3DPRLPluginBuilder.py +++ b/src/GHS3DPRLPlugin/GHS3DPRLPluginBuilder.py @@ -19,7 +19,7 @@ ## # @package GHS3DPRLPluginBuilder -# Python API for the GHS3DPRL meshing plug-in module. +# Python API for the MG-Tetra Parallel meshing plug-in module. from salome.smesh.smesh_algorithm import Mesh_Algorithm from salome.smesh.smeshBuilder import AssureGeomPublished @@ -32,7 +32,7 @@ except ImportError: noGHS3DPRLPlugin = 1 pass -# Optimization level of GHS3D +# Optimization level of MG-Tetra Parallel # V3.1 None_Optimization, Light_Optimization, Medium_Optimization, Strong_Optimization = 0,1,2,3 # V4.1 (partialy redefines V3.1). Issue 0020574 @@ -50,7 +50,7 @@ GHS3DPRL = MG_Tetra_Parallel # Algorithms #---------------------------- -## Tetrahedron GHS3DPRL 3D algorithm +## Tetrahedron MG-Tetra Parallel 3D algorithm # # It can be created by calling smeshBuilder.Mesh.Tetrahedron( smeshBuilder.MG_Tetra_Parallel ) class GHS3DPRL_Algorithm(Mesh_Algorithm): @@ -60,7 +60,7 @@ class GHS3DPRL_Algorithm(Mesh_Algorithm): meshMethod = "Tetrahedron" ## type of algorithm used with helper function in smeshBuilder.Mesh class # @internal - algoType = GHS3DPRL + algoType = MG_Tetra_Parallel ## doc string of the method in smeshBuilder.Mesh class # @internal docHelper = "Creates tetrahedron 3D algorithm for volumes"