Salome HOME
Documentation - Phase 4
authornicolas <nicolas>
Fri, 21 Jun 2013 16:01:35 +0000 (16:01 +0000)
committernicolas <nicolas>
Fri, 21 Jun 2013 16:01:35 +0000 (16:01 +0000)
17 files changed:
doc/en/applications.rst [new file with mode: 0644]
doc/en/divers.rst [new file with mode: 0644]
doc/en/images/drapeau_en.gif [new file with mode: 0644]
doc/en/index.rst
doc/en/intro.rst
doc/fr/applications.rst [new file with mode: 0644]
doc/fr/conf.py.in
doc/fr/divers.rst [new file with mode: 0644]
doc/fr/images/drapeau_fr.gif [new file with mode: 0644]
doc/fr/index.rst
doc/fr/intro.rst
doc/images/appli_01.gif [new file with mode: 0755]
doc/images/homard_d.ico [new file with mode: 0644]
doc/index.html [new file with mode: 0644]
src/HOMARDGUI/HOMARDGUI.cxx
src/HOMARDGUI/HOMARDGUI_Utils.cxx
src/HOMARDGUI/HOMARDGUI_Utils.h

diff --git a/doc/en/applications.rst b/doc/en/applications.rst
new file mode 100644 (file)
index 0000000..5449809
--- /dev/null
@@ -0,0 +1,56 @@
+.. _gui_applications:
+
+.. index:: single: application
+.. index:: single: illustration
+
+Applications
+============
+Some applications of the mesh adaptation are listed below.
+
+Some illustrations of adapted meshes
+""""""""""""""""""""""""""""""""""""
+
++---------------------------------------------------------------+
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_3.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_4.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_5.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_6.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_7.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_8.gif                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+
+Non linear mechanical calculation
+"""""""""""""""""""""""""""""""""
+
+The piece is locked on its left side. This upper right side is pressed, with a time depending charge. The genuine border of the piece is round. In the initial mesh, this border is roughly described. During the adaptation, when mesh is refined near the border, the new nodes are located on to the genuine border. Therefore, the geometry is followed as closed as possible.
+
+
+This computation is made with Code_Aster. The law is Von Mises. The time evolution lasts 480 s, with a 3 s time step. The calculation is splitted into 32 calculations. The calculation #k is from t=0 to t=15*k s. At this final instant, the mesh is adapted. Then, the next computation begins from scratch. This strategy produces a adapted mesh for all the instants of the evolution and is free from interpolation.
+
+.. image:: ../images/appli_01.gif
+   :align: center
+
diff --git a/doc/en/divers.rst b/doc/en/divers.rst
new file mode 100644 (file)
index 0000000..af8c58c
--- /dev/null
@@ -0,0 +1,79 @@
+.. _gui_divers:
+
+Miscellaneous
+=============
+References
+""""""""""
+.. index:: single: reference
+
+The HOMARD software was subject of publications techniques in the course of conferences these last years. References of main documents are presented here.
+
+Main reference
+^^^^^^^^^^^^^^
+For a reference to HOMARD, use:
+
+G. Nicolas and T. Fouquet, Adaptive Mesh Refinement for Conformal Hexahedral Meshes, "*Finite Elements in Analysis and Design*", Vol. 67, pp. 1-12, 2013, doi:10.1016/j.finel.2012.11.008
+
+`Available here <http://dx.doi.org/10.1016/j.finel.2012.11.008>`_
+
+Splitting meshing
+^^^^^^^^^^^^^^^^^
+
+  * G. Nicolas, T. Fouquet, Conformal hexaedral meshes and adaptive mesh refinement, VI International Conference on Adaptive Modeling and Siumulation, "*ADMOS 2013*", J.P. Moitinho de Almeida, P. Diez, C. Tiago and N. Pares (Eds), Lisbonne, pp. 515-526, 2013
+  * G. Nicolas, T. Fouquet, Hexaedral mesh adaptation for finite volume methods, III International Conference on Adaptive Modeling and Siumulation, "*ADMOS 2007*", K. Runesson, P. Diez (Eds), Goteborg, pp. 174-177, 2007
+  * G. Nicolas, F. Arnoux-Guisse, O. Bonnin, Adaptive meshing for 3D finite element software, IX International Conference on Finite Elements in Fluids, Venise, Italie, 15-21 Octobre 1995.
+  * G. Nicolas, F. Arnoux-Guisse, O. Bonnin, Un logiciel d'adaptation de maillage en 2D et 3D, 27ème Congrès d'Analyse Numérique, Super-Besse, France, May 29-June 2, 1995.
+
+Error estimators
+^^^^^^^^^^^^^^^^
+
+  * A. Ern, S. Meunier, A posteriori error analysis of Euler-Galerkin approximations to coupled elliptic-parabolic problems", ESAIM: M2AN 43 (2009) 353-375.
+  * J. Delmas, Stratégies de controle d'erreur en calcul de structures industrielles., PhD of the Université de Picardie, France, April 2008
+  * S. Meunier, Analyse d'erreur a posteriori pour les couplages hydro-mécaniques et mise en oeuvre dans Code_Aster, PhD of the Ecole Nationale des Ponts et Chaussées, France, November 2007.
+  * J. Delmas, P. Coorevits, P.-B. Badel and M. Guessasma, An explicit estimator for goal oriented H-Adaptivity with mesh optimaly criteria, III International Conference on Adaptive Modeling and Siumulation, "*ADMOS 2007*", K. Runesson, P. Diez (Eds), Goteborg, pp. 93-96, 2007.
+  * P. Destuynder, B. Métivet, Estimation d'erreur explicite dans une méthode d'éléments finis conforme, Compte Rendu Académie des Sciences Paris, tome 323, Série I, p. 679-684, 1996.
+  * P. Destuynder, B. Métivet, Estimation d'erreur explicite pour une méthode d'éléments finis non conforme, Compte Rendu Académie des Sciences Paris, tome 322, Série I, p. 1081-1086, 1996.
+  * C. Bernardi, O. Bonnin, C. Langouet, B. Métivet, Residual Error Indicators for Linear Problems - Extension to the Navier-Stokes Equations, IX International Conference on Finite Elements in Fluids, Venise, Italie, 15-21 Octobre 1995.
+  * F. Arnoux-Guisse, O. Bonnin, L. Léal De Sousa, G. Nicolas, An adaptive finite element method for turbulent flow simulation, ICFD Conference on Numerical Methods for Fluid Dynamics, University of Oxford, Grande-Bretagne, 3-6 Avril 1995.
+  * O. Bonnin, B. Métivet, G. Nicolas, F. Arnoux-Guisse, L. Léal de Sousa, Adaptive Meshing for N3S Fluid Mechanics Code, "*Computational Fluid Dynamics '94*", ECCOMAS Stuttgart, Allemagne, pp. 201-208, Wiley 1994.
+
+Applications
+^^^^^^^^^^^^
+  * S. Meunier, R. Fernandes, Mesh Adaptation for Coupled Hydro-Mechanical Industrial Studies, V International Conference on Adaptive Modeling and Siumulation, "*ADMOS 2011*", D. Aubry, P. Diez, B. Tie and N. Pares (Eds), Paris, pp. 337-338, 2011
+  * O. Hartmann, O. Bonnin, D. Gasser, An Adaptive Meshing for Turbomachinery Geometries, "*Computational Fluid Dynamics '98*", ECCOMAS Athènes, Greece, Wiley 1998.
+
+
+Evolutions of the module
+""""""""""""""""""""""""
+.. index:: single: evolution
+
+Here are the main evolutions de HOMARD from the first release in SALOME 6.5.
+
+SALOME RELEASE 6.6 :
+   - Interface with med 3.0.6
+   - Default values for the time steps
+   - New element types: TRIA7 and QUAD9
+   - Optional output into the MED file of the level of refinement of every element
+
+SALOME RELEASE 7.1 :
+   - Correction of a bug in the filtering of the refinement by groups
+   - Driving of the adaptation by a threshold that is based upon the mean and the standard deviation (see :ref:`tui_create_hypothese`)
+   - TUI: the last time step for the driving instant can be selected by SetTimeStepRankLast (see :ref:`tui_create_iteration`)
+   - The destruction of the objects is available (GUI and TUI)
+   - The TUI functions are modified: they act onto the objects and no more by the names:
+     ``homard.AssociateIterHypo(iter_name,hypo_name)`` becomes ``iter.AssociateHypo(hypo_name)``, ``homard.AssociateHypoZone(hypo_name,zone_name,type_use)`` becomes ``hypo.AddZone(zone_name,type_use)``, ``homard.CreateIteration(iter_name,iter_parent_name)`` becomes ``case.NextIteration(iter_name)`` ou ``iter.NextIteration(iter_name)``
+   - Addition of a function:
+     ``cas.LastIteration()`` : returns the last iteration of the case (see :ref:`tui_create_iteration`)
+   - Mesh analysis (see :ref:`gui_mesh_info`)
+
+SALOME RELEASE 7.2.0 :
+   - A cone can be used as a support for a 2D boundary (see :ref:`tui_create_boundary`)
+   - The result can be published or not published in SMESH (see :ref:`tui_create_iteration`)
+     ``iter.Compute(option)`` becomes ``iter.Compute(option1, option2)``
+   - A serie of iterations that is stored in a directory can be followed (see :ref:`gui_create_case`)
+
+
+
+
+
+
diff --git a/doc/en/images/drapeau_en.gif b/doc/en/images/drapeau_en.gif
new file mode 100644 (file)
index 0000000..7d714b6
Binary files /dev/null and b/doc/en/images/drapeau_en.gif differ
index 4b2f87c0499f66f66d41de93c9e9401099aeb7c8..9afd564ca40efb80144d1974cf86a3408be4b795 100644 (file)
@@ -4,24 +4,32 @@
    contain the root `toctree` directive.
 
 .. |logo| image:: ../images/HOMARD.png
+.. |flag| image:: ./images/drapeau_en.gif
 
 Documentation of the component HOMARD |logo|
 --------------------------------------------
 The component HOMARD drives the mesh adaptation inside of the SALOME plateform.
 
-*HOMARD is a trade mark of EDF.*
-
-Table of contents of this User's guide
-""""""""""""""""""""""""""""""""""""""
+User's guide
+""""""""""""
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
 
-   intro
    gui_usage
    tui_usage
    tutorials
 
+General presentation
+""""""""""""""""""""
+
+.. toctree::
+   :maxdepth: 1
+
+   intro
+   applications
+   divers
+
 Licence
 """""""
 .. index:: single: Licence
@@ -51,3 +59,5 @@ Index and tables
 * :ref:`search`
 * :ref:`glossaire`
 
+*HOMARD is a trade mark of EDF.*
+
index a0baa56cb2885553559c72201c5ad3554e09b7df..dc57a83a2e1a79894d149647f2237d65b7f9c4ba 100644 (file)
@@ -165,39 +165,3 @@ Comme pr
    :align: center
 
 On peut alors lancer un nouveau calcul sur ce nouveau maillage et poursuiver cette alternance calcul/adaptation jusqu'à l'obtention du résultat attendu.
-
-
-Evolutions of the module
-""""""""""""""""""""""""
-.. index:: single: evolution
-
-Here are the main evolutions de HOMARD from the first release in SALOME 6.5.
-
-SALOME RELEASE 6.6 :
-   - Interface with med 3.0.6
-   - Default values for the time steps
-   - New element types: TRIA7 and QUAD9
-   - Optional output into the MED file of the level of refinement of every element
-
-SALOME RELEASE 7.1 :
-   - Correction of a bug in the filtering of the refinement by groups
-   - Driving of the adaptation by a threshold that is based upon the mean and the standard deviation (see :ref:`tui_create_hypothese`)
-   - TUI: the last time step for the driving instant can be selected by SetTimeStepRankLast (see :ref:`tui_create_iteration`)
-   - The destruction of the objects is available (GUI and TUI)
-   - The TUI functions are modified: they act onto the objects and no more by the names:
-     ``homard.AssociateIterHypo(iter_name,hypo_name)`` becomes ``iter.AssociateHypo(hypo_name)``, ``homard.AssociateHypoZone(hypo_name,zone_name,type_use)`` becomes ``hypo.AddZone(zone_name,type_use)``, ``homard.CreateIteration(iter_name,iter_parent_name)`` becomes ``case.NextIteration(iter_name)`` ou ``iter.NextIteration(iter_name)``
-   - Addition of a function:
-     ``cas.LastIteration()`` : returns the last iteration of the case (see :ref:`tui_create_iteration`)
-   - Mesh analysis (see :ref:`gui_mesh_info`)
-
-SALOME RELEASE 7.2 :
-   - A cone can be used as a support for a 2D boundary (see :ref:`tui_create_boundary`)
-   - The result can be published or not published in SMESH (see :ref:`tui_create_iteration`)
-     ``iter.Compute(option)`` becomes ``iter.Compute(option1, option2)``
-   - A serie of iterations that is stored in a directory can be followed (see :ref:`gui_create_case`)
-
-
-
-
-
-
diff --git a/doc/fr/applications.rst b/doc/fr/applications.rst
new file mode 100644 (file)
index 0000000..35d4f8f
--- /dev/null
@@ -0,0 +1,56 @@
+.. _gui_applications:
+
+.. index:: single: application
+.. index:: single: illustration
+
+Applications
+============
+On trouvera ici des exemples d'applications d'adaptation de maillage avec HOMARD.
+
+Quelques illustrations de maillage adaptés
+""""""""""""""""""""""""""""""""""""""""""
+
++---------------------------------------------------------------+
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_3.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_4.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_5.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_6.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_7.png                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+|                                                               |
+| .. image:: ../images/intro_8.gif                              |
+|    :align: center                                             |
+|                                                               |
++---------------------------------------------------------------+
+
+Mécanique non linéaire
+""""""""""""""""""""""
+
+La pièce est encastrée sur sa gauche. On appuie sur le haut de la seconde bosse, avec un chargement variant au cours du temps. Le véritable bord de la pièce est arrondi. Sur le maillage initial, ce bord est très grossièrement représenté. Au fil des adaptations, quand le maillage est raffiné sur le bord, on place les nouveaux noeuds sur le véritable bord. Ainsi, la géométrie est respectée au plus proche.
+
+
+Ce calcul est réalisé avec Code_Aster. La loi utilisée est Von Mises isotrope. Le transitoire dure 480 s, avec un pas de temps de 3s. Il est découpé en 32 calculs. Le calcul numéro k va de t=0 à t=15*k s. Le maillage est adapté à l'instant final, t=15*k s. Puis on reprend à partir de 0. Cette stratégie permet de produire un maillage adapté à tous les instants du transitoire et de n'avoir aucune interpolation à faire.
+
+.. image:: ../images/appli_01.gif
+   :align: center
+
index fe55af01ebd119e2d4d42eb78a582a6610f3aa23..1bd952b928d193ae7d3d2cb84a35359f91ecf118 100644 (file)
@@ -110,12 +110,14 @@ html_theme = 'default'
 
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.
-#html_logo = None
+html_logo = None
+#html_logo = "../images/HOMARD.png"
 
 # The name of an image file (within the static path) to use as favicon of the
 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
 # pixels large.
-#html_favicon = None
+html_favicon = None
+#html_favicon = "../images/homard_d.ico"
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
@@ -181,7 +183,8 @@ latex_documents = [
 
 # The name of an image file (relative to this directory) to place at the top of
 # the title page.
-#latex_logo = None
+latex_logo = None
+#latex_logo = "../images/HOMARD.png"
 
 # For "manual" documents, if this is true, then toplevel headings are parts,
 # not chapters.
diff --git a/doc/fr/divers.rst b/doc/fr/divers.rst
new file mode 100644 (file)
index 0000000..b23d9dc
--- /dev/null
@@ -0,0 +1,81 @@
+.. _gui_divers:
+
+Divers
+======
+
+Références
+""""""""""
+.. index:: single: référence
+
+Le logiciel HOMARD a fait l'objet de publications techniques au cours de conférences ces dernières années. Les références des principaux documents sont présentées ici.
+
+Référence principale
+^^^^^^^^^^^^^^^^^^^^
+
+Pour une référence à HOMARD, utiliser :
+
+G. Nicolas and T. Fouquet, Adaptive Mesh Refinement for Conformal Hexahedral Meshes, "*Finite Elements in Analysis and Design*", Vol. 67, pp. 1-12, 2013, doi:10.1016/j.finel.2012.11.008
+
+`Accessible en cliquant ici <http://dx.doi.org/10.1016/j.finel.2012.11.008>`_
+
+
+Découpage de maillage
+^^^^^^^^^^^^^^^^^^^^^
+
+  * G. Nicolas, T. Fouquet, Conformal hexaedral meshes and adaptive mesh refinement, VI International Conference on Adaptive Modeling and Siumulation, "*ADMOS 2013*", J.P. Moitinho de Almeida, P. Diez, C. Tiago and N. Pares (Eds), Lisbonne, pp. 515-526, 2013
+  * G. Nicolas, T. Fouquet, Hexaedral mesh adaptation for finite volume methods, III International Conference on Adaptive Modeling and Siumulation, "*ADMOS 2007*", K. Runesson, P. Diez (Eds), Goteborg, pp. 174-177, 2007
+  * G. Nicolas, F. Arnoux-Guisse, O. Bonnin, Adaptive meshing for 3D finite element software, IX International Conference on Finite Elements in Fluids, Venise, Italie, 15-21 Octobre 1995.
+  * G. Nicolas, F. Arnoux-Guisse, O. Bonnin, Un logiciel d'adaptation de maillage en 2D et 3D, 27ème Congrès d'Analyse Numérique, Super-Besse, France, 29 mai-2 juin 1995.
+
+Estimateurs d'erreurs
+^^^^^^^^^^^^^^^^^^^^^
+
+  * A. Ern, S. Meunier, A posteriori error analysis of Euler-Galerkin approximations to coupled elliptic-parabolic problems", ESAIM: M2AN 43 (2009) 353-375.
+  * J. Delmas, Stratégies de controle d'erreur en calcul de structures industrielles., Thèse de l'Université de Picardie, France, avril 2008
+  * S. Meunier, Analyse d'erreur a posteriori pour les couplages hydro-mécaniques et mise en oeuvre dans Code_Aster, Thèse de l'Ecole Nationale des Ponts et Chaussées, France, novembre 2007.
+  * J. Delmas, P. Coorevits, P.-B. Badel and M. Guessasma, An explicit estimator for goal oriented H-Adaptivity with mesh optimaly criteria, III International Conference on Adaptive Modeling and Siumulation, "*ADMOS 2007*", K. Runesson, P. Diez (Eds), Goteborg, pp. 93-96, 2007.
+  * P. Destuynder, B. Métivet, Estimation d'erreur explicite dans une méthode d'éléments finis conforme, Compte Rendu Académie des Sciences Paris, tome 323, Série I, p. 679-684, 1996.
+  * P. Destuynder, B. Métivet, Estimation d'erreur explicite pour une méthode d'éléments finis non conforme, Compte Rendu Académie des Sciences Paris, tome 322, Série I, p. 1081-1086, 1996.
+  * C. Bernardi, O. Bonnin, C. Langouet, B. Métivet, Residual Error Indicators for Linear Problems - Extension to the Navier-Stokes Equations, IX International Conference on Finite Elements in Fluids, Venise, Italie, 15-21 Octobre 1995.
+  * F. Arnoux-Guisse, O. Bonnin, L. Léal De Sousa, G. Nicolas, An adaptive finite element method for turbulent flow simulation, ICFD Conference on Numerical Methods for Fluid Dynamics, University of Oxford, Grande-Bretagne, 3-6 Avril 1995.
+  * O. Bonnin, B. Métivet, G. Nicolas, F. Arnoux-Guisse, L. Léal de Sousa, Adaptive Meshing for N3S Fluid Mechanics Code, "*Computational Fluid Dynamics '94*", ECCOMAS Stuttgart, Allemagne, pp. 201-208, Wiley 1994.
+
+Applications
+^^^^^^^^^^^^
+  * S. Meunier, R. Fernandes, Mesh Adaptation for Coupled Hydro-Mechanical Industrial Studies, V International Conference on Adaptive Modeling and Siumulation, "*ADMOS 2011*", D. Aubry, P. Diez, B. Tie and N. Pares (Eds), Paris, pp. 337-338, 2011
+  * O. Hartmann, O. Bonnin, D. Gasser, An Adaptive Meshing for Turbomachinery Geometries, "*Computational Fluid Dynamics '98*", ECCOMAS Athènes, Grèce, Wiley 1998.
+
+Evolutions du module
+""""""""""""""""""""
+.. index:: single: évolution
+
+On trouvera ici les principales évolutions de HOMARD à partir de la première version livrée dans SALOME 6.5.
+
+SALOME VERSION 6.6 :
+   - Interfaçage avec med 3.0.6
+   - Valeurs par défaut des instants
+   - Acceptation des mailles de type TRIA7 et QUAD9
+   - Option de sortie dans le fichier MED du niveau de raffinement atteint dans chaque maille
+
+SALOME VERSION 7.1 :
+   - Correction d'une anomalie sur le filtrage du raffinement par les groupes
+   - Pilotage de l'adaptation par un seuil basé sur la moyenne et l'écart-type (voir :ref:`tui_create_hypothese`)
+   - En TUI, choix du dernier instant comme instant de pilotage par SetTimeStepRankLast (voir :ref:`tui_create_iteration`)
+   - Possibilité de détruire les objets (GUI et TUI)
+   - Modification des fonctions TUI pour qu'elles agissent sur les objets et non plus sur les noms :
+     ``homard.AssociateIterHypo(iter_name,hypo_name)`` devient ``iter.AssociateHypo(hypo_name)``, ``homard.AssociateHypoZone(hypo_name,zone_name,type_use)`` devient ``hypo.AddZone(zone_name,type_use)``, ``homard.CreateIteration(iter_name,iter_parent_name)`` devient ``case.NextIteration(iter_name)`` ou ``iter.NextIteration(iter_name)``
+   - Ajout de fonctions :
+     ``cas.LastIteration()`` : retourne la dernière itération de la descendance du cas (voir :ref:`tui_create_iteration`)
+   - Analyse de maillages (voir :ref:`gui_mesh_info`)
+
+SALOME VERSION 7.2.0 :
+   - Possibilité d'utiliser un cone comme support de frontiere 2D (voir :ref:`tui_create_boundary`)
+   - Choix de publier ou non le résultat dans SMESH (voir :ref:`tui_create_iteration`)
+     ``iter.Compute(option)`` devient ``iter.Compute(option1, option2)``
+   - Possibilité de poursuivre une suite d'itérations archivées dans un répertoire (voir :ref:`gui_create_case`)
+
+
+
+
+
+
diff --git a/doc/fr/images/drapeau_fr.gif b/doc/fr/images/drapeau_fr.gif
new file mode 100644 (file)
index 0000000..c09ccc2
Binary files /dev/null and b/doc/fr/images/drapeau_fr.gif differ
index 092fdcdb54d2cd0f1005c152ee278042d0dea08d..78dec7bfd7c481ed76d9e93f03813403d2257636 100644 (file)
@@ -4,24 +4,32 @@
    contain the root `toctree` directive.
 
 .. |logo| image:: ../images/HOMARD.png
+.. |flag| image:: ./images/drapeau_fr.gif
 
-Documentation du composant HOMARD |logo|
-----------------------------------------
+Documentation du composant HOMARD  |logo|
+-----------------------------------------
 HOMARD est le composant qui permet l'adaptation de maillage au sein de la plateforme SALOME.
 
-*HOMARD est une marque déposée d'EDF.*
-
-Table des matières de ce mode d'emploi
-""""""""""""""""""""""""""""""""""""""
+Mode d'emploi
+"""""""""""""
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
 
-   intro
    gui_usage
    tui_usage
    tutorials
 
+Présentation générale
+"""""""""""""""""""""
+
+.. toctree::
+   :maxdepth: 1
+
+   intro
+   applications
+   divers
+
 Licence
 """""""
 .. index:: single: Licence
@@ -51,3 +59,4 @@ Index et tables
 * :ref:`search`
 * :ref:`glossaire`
 
+*HOMARD est une marque déposée d'EDF.*
index 3e76e74d74fe77372654ad4aa322fdfb42b018e2..f13774ba0916e16ef6264e917eb91758acf5220c 100644 (file)
@@ -167,36 +167,6 @@ Comme pr
 On peut alors lancer un nouveau calcul sur ce nouveau maillage et poursuiver cette alternance calcul/adaptation jusqu'à l'obtention du résultat attendu.
 
 
-Evolutions du module
-""""""""""""""""""""
-.. index:: single: évolution
-
-On trouvera ici les principales évolutions de HOMARD à partir de la première version livrée dans SALOME 6.5.
-
-SALOME VERSION 6.6 :
-   - Interfaçage avec med 3.0.6
-   - Valeurs par défaut des instants
-   - Acceptation des mailles de type TRIA7 et QUAD9
-   - Option de sortie dans le fichier MED du niveau de raffinement atteint dans chaque maille
-
-SALOME VERSION 7.1 :
-   - Correction d'une anomalie sur le filtrage du raffinement par les groupes
-   - Pilotage de l'adaptation par un seuil basé sur la moyenne et l'écart-type (voir :ref:`tui_create_hypothese`)
-   - En TUI, choix du dernier instant comme instant de pilotage par SetTimeStepRankLast (voir :ref:`tui_create_iteration`)
-   - Possibilité de détruire les objets (GUI et TUI)
-   - Modification des fonctions TUI pour qu'elles agissent sur les objets et non plus sur les noms :
-     ``homard.AssociateIterHypo(iter_name,hypo_name)`` devient ``iter.AssociateHypo(hypo_name)``, ``homard.AssociateHypoZone(hypo_name,zone_name,type_use)`` devient ``hypo.AddZone(zone_name,type_use)``, ``homard.CreateIteration(iter_name,iter_parent_name)`` devient ``case.NextIteration(iter_name)`` ou ``iter.NextIteration(iter_name)``
-   - Ajout de fonctions :
-     ``cas.LastIteration()`` : retourne la dernière itération de la descendance du cas (voir :ref:`tui_create_iteration`)
-   - Analyse de maillages (voir :ref:`gui_mesh_info`)
-
-SALOME VERSION 7.2 :
-   - Possibilité d'utiliser un cone comme support de frontiere 2D (voir :ref:`tui_create_boundary`)
-   - Choix de publier ou non le résultat dans SMESH (voir :ref:`tui_create_iteration`)
-     ``iter.Compute(option)`` devient ``iter.Compute(option1, option2)``
-   - Possibilité de poursuivre une suite d'itérations archivées dans un répertoire (voir :ref:`gui_create_case`)
-
-
 
 
 
diff --git a/doc/images/appli_01.gif b/doc/images/appli_01.gif
new file mode 100755 (executable)
index 0000000..5ceaf08
Binary files /dev/null and b/doc/images/appli_01.gif differ
diff --git a/doc/images/homard_d.ico b/doc/images/homard_d.ico
new file mode 100644 (file)
index 0000000..7cc9405
Binary files /dev/null and b/doc/images/homard_d.ico differ
diff --git a/doc/index.html b/doc/index.html
new file mode 100644 (file)
index 0000000..587cebb
--- /dev/null
@@ -0,0 +1,95 @@
+<HTML>
+
+<HEAD>
+  <LINK REL="SHORTCUT ICON" href="./fr/_images/homard_d.ico">
+  <TITLE>SALOME - HOMARD</TITLE>
+  <META NAME="generator" CONTENT="hands">
+  <META NAME="robots" CONTENT="index,follow">
+  <META NAME="author" CONTENT="EDF">
+  <META NAME="keywords" CONTENT="SALOME, homard,
+      maillage, maillage adaptatif, adaptation de maillage, raffinement, deraffinement, adaptation,
+      mailleur, remailleur, logiciel,
+      noeud, triangle, tetraedre, quadrangle, hexaedre, pentaedre, pyramide, triangulation,
+      erreur, precision, element, element fini, volume fini, mef, calcul, calcul numerique, iteration,
+      mecanique, thermique, acoustique, onde, electromagnetisme, neutronique,
+      meshing, adaptive meshing, adaptive mesh, mesh adaptation, refinement, unrefinement, coarsening, adaptation,
+      grid generation, grid generator, grid adaptation, mesh generator, software, AMR,
+      node, triangle, tetrahedron, tetrahedra, quadrangle, hexahedron, prism, pyramid, triangulation,
+      error, precision, accuracy, finite element, finite volume, element, fem, numerical calculation, calculation, iteration,
+      mechanics, thermics, acoustics, wave, electromagnetism, neutronics,
+      elemento finito, malla, adaptacion de malla, malla adaptiva,
+      tetraedro, triangulacion, mecanica, dinamica de fluido
+      ">
+  <META NAME="description" CONTENT="HOMARD&reg; est un logiciel d'adaptation de maillages.
+  Il est d&eacute;di&eacute; aux logiciels de calcul scientifiques par &eacute;l&eacute;ments finis ou volumes finis, en dimension 2 ou 3.">
+  <META NAME="Admin_Handle" CONTENT="homard[at]edf.fr">
+  <META NAME="E_Mail" CONTENT="homard[at]edf.fr">
+</HEAD>
+
+<BODY TEXT="#000000" BGCOLOR="#D8D8D8" COLOR="#808080" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">
+
+<!-- ======================================================================= -->
+
+<HR>
+<P ALIGN=CENTER>
+<TABLE BORDER=0 CELLSPACING=2 CELLPADDING=0 WIDTH="80%" BGCOLOR="white">
+
+  <TR>
+
+    <TD ALIGN=RIGHT>
+        <RIGHT>
+        <FONT COLOR="RED"><H1><B>HOMARD</B></H1></FONT>
+        </RIGHT>
+    </TD>
+
+    <TD ALIGN=LEFT>
+        <LEFT>
+        <img alt="logo" src="./fr/_images/HOMARD.png" />
+        </LEFT>
+    </TD>
+
+  </TR>
+
+  <TR>
+
+    <TD ALIGN=CENTER WIDTH="25%">
+        <RIGHT>
+        <A HREF="./fr/index.html">
+        <IMG ALT="Français"
+            SRC="./fr/_images/drapeau_fr.gif" WIDTH=45 HEIGHT=34 BORDER=0>
+        <BR>Fran&ccedil;ais<BR>
+        </A>
+        </RIGHT>
+    </TD>
+
+    <TD ALIGN=CENTER WIDTH="25%">
+        <LEFT>
+        <A HREF="./en/index.html">
+        <IMG ALT="English"
+            SRC="./en/_images/drapeau_en.gif" WIDTH=45 HEIGHT=34 BORDER=0>
+        <BR>English<BR>
+        </A>
+        </LEFT>
+    </TD>
+
+  </TR>
+
+</TABLE>
+</P>
+
+<!-- ======================================================================= -->
+
+<HR>
+<P>
+<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
+  <TR  ALIGN=CENTER>
+      <TD ALIGN=LEFT><H5>&copy; Copyright 1996, 2011, 2013, EDF R&amp;D</H5>
+      </TD>
+      <TD ALIGN=RIGHT> <H5>HOMARD&reg; est une marque d&eacute;pos&eacute;e d'<A HREF="http://www.edf.com/">EDF</H5></A>
+      </TD>
+  </TR>
+</TABLE>
+</P>
+
+</BODY>
+</HTML>
index d87061fe7e8d021be6cedcc01f5b1ce8654df403..267b441248d1ed4b9ae3b3d445c06f36c84347e4 100644 (file)
@@ -206,10 +206,10 @@ void HOMARDGUI::createMenus(){
   createMenu( 1201, HOMARD_Id, -1 ); //Edit
   createMenu( separator(), HOMARD_Id,-1);
 //   createMenu( 1201, HOMARD_Id, -1 ); //Edit
-// La langue des preferences
+/*// La langue des preferences
   SUIT_ResourceMgr* resMgr = getApp()->resourceMgr();
-  QString lang = resMgr->stringValue("language", "language", "en");
-  MESSAGE("lang " << lang.toStdString().c_str() );
+  QString langue = resMgr->stringValue("language", "language", "en");
+  MESSAGE("langue " << langue.toStdString().c_str() );*/
 }
 
 //================================================
index d76efeeba063310c89293fe934c766471a686c36..c3b253d40c3ca3357de6f794f755d410050530b4 100644 (file)
@@ -267,14 +267,29 @@ bool HOMARD_UTILS::isFileSummary(_PTR(SObject) MonObj)
 }
 
 //=========================================================================================================
-void HOMARD_UTILS::PushOnHelp(QString monFichierAide, QString leContexte)
+void HOMARD_UTILS::PushOnHelp(QString monFichierAide, QString contexte)
 {
   MESSAGE("Debut de PushOnHelp avec monFichierAide = "<< monFichierAide.toStdString().c_str());
   LightApp_Application* app = (LightApp_Application*)(SUIT_Session::session()->activeApplication());
-  if (app) {
-    QString fichier = QString("fr/"+monFichierAide) ;
+  if (app)
+  {
     HOMARDGUI* aHomardGUI = dynamic_cast<HOMARDGUI*>( app->module( "Homard" ) );
-    app->onHelpContextModule(aHomardGUI ? app->moduleName(aHomardGUI->moduleName()) : QString(""), fichier, leContexte);
+    // Repertoire de reference de la documentation
+    QString rep = aHomardGUI ? app->moduleName(aHomardGUI->moduleName()) : QString("") ;
+    // Recherche de la langue
+//     SUIT_ResourceMgr* resMgr = getApp()->resourceMgr();
+//     SUIT_ResourceMgr* resMgr = myModule->getApp()->resourceMgr();
+//     QString langue = resMgr->stringValue("language", "language", "en");
+    QString langue = "fr" ;
+    MESSAGE(". langue " << langue.toStdString().c_str()) ;
+    // Complement du fichier
+    QString fichier = QString(langue+"/"+monFichierAide) ;
+    MESSAGE(". Appel de onHelpContextModule avec :");
+    MESSAGE("    rep      = "<< rep.toStdString().c_str());
+    MESSAGE("    fichier  = "<< fichier.toStdString().c_str());
+    MESSAGE("    contexte = "<< contexte.toStdString().c_str());
+
+    app->onHelpContextModule(rep, fichier, contexte);
   }
 }
 //=========================================================================================================
index 9c0c69af7d9dc800a31b203eecffc152e700bfa2..291c7c98a9626fc28274e15534258cb276526375 100644 (file)
@@ -83,7 +83,7 @@ namespace HOMARD_UTILS {
   bool isFileSummary(_PTR(SObject)  MonObj);
   bool isObject(_PTR(SObject)  MonObj, QString TypeObject, int option );
 
-  void PushOnHelp(QString monFichierAide, QString leContexte);
+  void PushOnHelp(QString monFichierAide, QString contexte);
 
   extern SALOME_ListIO mySelected;
 }