From fe7d1d57677486d8c546226dc2bf573fbfb6679d Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 30 Jun 2015 15:14:46 +0300 Subject: [PATCH] 23070: [CEA 1502] Create the 2D mesh from the 1D mesh with one mesh face for each geom face --- .../gui/SMESH/input/basic_meshing_algos.doc | 3 + .../gui/SMESH/input/quad_from_ma_algo.doc | 4 +- idl/SMESH_BasicHypothesis.idl | 7 + resources/CMakeLists.txt | 1 + resources/StdMeshers.xml.in | 13 + resources/mesh_tree_algo_polygon.png | Bin 0 -> 431 bytes src/SMESH/SMESH_Algo.hxx | 8 +- src/SMESH/SMESH_MesherHelper.hxx | 5 +- src/SMESH/SMESH_subMesh.cxx | 10 +- src/SMESHGUI/SMESHGUI_ComputeDlg.cxx | 25 +- src/SMESHGUI/SMESHGUI_Hypotheses.h | 11 +- src/SMESHGUI/SMESHGUI_MeshInfosBox.cxx | 20 +- src/SMESHGUI/SMESHGUI_MeshInfosBox.h | 2 + src/SMESHUtils/SMESH_MAT2d.cxx | 294 +++++++++++++++--- src/SMESHUtils/SMESH_MAT2d.hxx | 27 +- src/SMESH_SWIG/StdMeshersBuilder.py | 53 +++- src/StdMeshers/CMakeLists.txt | 2 + .../StdMeshers_CompositeHexa_3D.cxx | 2 +- .../StdMeshers_PolygonPerFace_2D.cxx | 158 ++++++++++ .../StdMeshers_PolygonPerFace_2D.hxx | 47 +++ .../StdMeshers_QuadFromMedialAxis_1D2D.cxx | 76 +++-- src/StdMeshersGUI/StdMeshers_images.ts | 4 + src/StdMeshers_I/CMakeLists.txt | 2 + .../StdMeshers_PolygonPerFace_2D_i.cxx | 61 ++++ .../StdMeshers_PolygonPerFace_2D_i.hxx | 54 ++++ .../StdMeshers_Quadrangle_2D_i.hxx | 3 - src/StdMeshers_I/StdMeshers_i.cxx | 82 ++--- .../padder/spadderpy/gui/plugindialog.py | 2 +- 28 files changed, 812 insertions(+), 164 deletions(-) create mode 100644 resources/mesh_tree_algo_polygon.png create mode 100644 src/StdMeshers/StdMeshers_PolygonPerFace_2D.cxx create mode 100644 src/StdMeshers/StdMeshers_PolygonPerFace_2D.hxx create mode 100644 src/StdMeshers_I/StdMeshers_PolygonPerFace_2D_i.cxx create mode 100644 src/StdMeshers_I/StdMeshers_PolygonPerFace_2D_i.hxx diff --git a/doc/salome/gui/SMESH/input/basic_meshing_algos.doc b/doc/salome/gui/SMESH/input/basic_meshing_algos.doc index 1d2fa7f25..4804800c5 100644 --- a/doc/salome/gui/SMESH/input/basic_meshing_algos.doc +++ b/doc/salome/gui/SMESH/input/basic_meshing_algos.doc @@ -60,6 +60,9 @@ There is also a number of more specific algorithms: