Commit Graph

188 Commits

Author SHA1 Message Date
eap
86a1fe792f 22536: EDF 2876 SMESH : Problem with BodyFitting
fix regression on doc/salome/examples/cartesian_algo.py
2014-04-07 12:54:17 +04:00
eap
878b3315d9 22536: EDF 2876 SMESH : Problem with BodyFitting
care of handedness of primitive shapes
2014-04-04 15:57:08 +04:00
eap
54a7f4b412 22539: [CEA 1126] Quadrangle mapping on produces a non conform mesh
fix for a case of few (1-2) nb of side divisions
2014-04-03 19:39:48 +04:00
rnv
df5faa3c63 Compilation on Windows platform. 2014-03-28 15:41:31 +04:00
eap
f90e1ea49e 22516: [CEA 1075] Quadrangle mapping produces a bad mesh without raising error
For a case of a FACE with only concave corners.
2014-03-20 14:43:30 +04:00
eap
b56d0083b9 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges
new version
2014-03-19 22:06:53 +04:00
eap
0ea528b07f 22516: [CEA 1075] Quadrangle mapping produces a bad mesh without raising error
Check that no inverted elements generated
2014-03-18 16:38:47 +04:00
eap
38ef3e316c Regression SALOME_TESTS/Grids/smesh/3D_mesh_NETGEN_02/C7
Box with composite sides is acceptable
2014-03-14 14:26:49 +04:00
eap
076deefb2b Regression of SALOME_TESTS/Grids/smesh/2D_mesh_QuadranglePreference_00/A8 2014-03-14 14:05:05 +04:00
eap
28140bb1c8 22507: EDF 2845 SMESH : regression with 3D extrusion algo
Fix a case of a triangular base FACE with a sole triangular element
2014-03-11 17:33:49 +04:00
eap
457be09338 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
Minor fixes
2014-03-03 15:00:39 +04:00
imn
e26ffcc005 0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
0022365: EDF SMESH: Create Mesh dialog box improvement: hide algorithms depending on a mesh type
2014-02-28 18:58:28 +04:00
eap
afed1e3409 22360]: EDF SMESH: Body Fitting algorithm: incorporate edges
Fix a case with vertex falling on a facet and not used at facet construction
2014-02-27 11:53:03 +04:00
eap
f34590a67f 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
1) Some optimization
2) Implement StdMeshers_Prism_3D::IsApplicable()
2014-02-25 18:54:34 +04:00
imn
6aea23b893 0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
0022365: EDF SMESH: Create Mesh dialog box improvement: hide algorithms depending on a mesh type
2014-02-21 12:25:11 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
790cad1c40 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges
Treat tangent transition at the 1st link node
2014-02-20 12:58:43 +04:00
eap
8585067de8 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges 2014-02-14 19:31:40 +04:00
eap
86aa8ad014 22359: Body Fitting algorithm: grid orientation 2014-02-14 16:09:40 +04:00
eap
d9b7053864 0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices
Create GUI
2014-02-14 15:53:14 +04:00
eap
cc9e7d5442 22358: EDF SMESH: Body Fitting algorithm: origin point of grid defined by spacing 2014-02-04 15:51:49 +00:00
eap
b416ea5c24 22359: Body Fitting algorithm: grid orientation
+  ${GEOM_INCLUDE_DIRS}

+  ${GEOM_GEOMUtils}
2014-02-04 13:06:41 +00:00
eap
cd3ffac3fa 22359: Body Fitting algorithm: grid orientation
22358: Body Fitting algorithm: origin point of grid defined by spacing
2014-02-04 13:02:26 +00:00
eap
fee6909125 22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
1) enable recursive calls from StdMeshers_ViscousLayers2D::Compute( aMesh, F );
2) fix computeQuadDominant() for a case of triangles on 2 sides
3) do not use triaVertex for a quadrangle FACE
2014-01-31 13:43:11 +00:00
eap
ae475d83da 22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
Use _noShrinkVert
2014-01-31 13:40:41 +00:00
eap
f202478154 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix for a case of http://www.salome-platform.org/forum/forum_10/863809970#478269857
2014-01-23 12:46:37 +00:00
eap
e12cb3f8c3 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix recursive case of computeQuadPref()
2014-01-20 16:39:00 +00:00
eap
a406fd6793 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix for recursive call of computeQuadPref()
2014-01-15 10:27:00 +00:00
vsr
f7aba4830d Merge from BR_imps_2013 14/01/2014 2014-01-15 09:41:17 +00:00
vsr
2cd148d066 Merge from V7_3_BR branch 18/12/2013 2013-12-18 15:08:18 +00:00
eap
d9d385cc06 22419: EDF SMESH Regression: 3D Extrusion fails
FaceQuadStruct::Ptr CheckNbEdges(SMESH_Mesh&         aMesh,
                                    const TopoDS_Shape& aShape,
+                                   const bool          considerMesh=false);
2013-11-27 10:00:34 +00:00
eap
06236fdb5a 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
+   * \brief Create a side from an UVPtStructVec
+   */
+  StdMeshers_FaceSide(UVPtStructVec& theSideNodes);
2013-11-26 13:30:21 +00:00
eap
eeb8567ff9 Fix CheckNbEdges() for a FACE with a closed EDGE 2013-11-26 13:29:36 +00:00
eap
d0bcfa9ea1 Fix access to NULL quad 2013-11-26 12:26:45 +00:00
eap
5f7b45e582 http://www.salome-platform.org/forum/forum_11/173031193
Fix associating FACEs having degenerated EDGEs
2013-11-26 12:16:47 +00:00
eap
b2f41043c8 Fix SIGSEGV at closing a study 2013-11-25 10:39:28 +00:00
eap
a004160516 0022414: [CEA 1010] Regressio on tests 01_composite.py
Fix for a vertex w/o a node
2013-11-25 09:14:33 +00:00
eap
ffa6ef36b3 http://www.salome-platform.org/forum/forum_10/409159356
Fox testcube2a.py
2013-11-22 13:16:34 +00:00
eap
8093357296 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
-  StdMeshers_FaceSide(const SMDS_MeshNode*       theNode,
-                      const gp_Pnt2d             thePnt2d,
-                      const StdMeshers_FaceSide* theSide);
+  StdMeshers_FaceSide(const StdMeshers_FaceSide*  theSide,
+                      const SMDS_MeshNode*        theNode,
+                      const gp_Pnt2d*             thePnt2d1,
+                      const gp_Pnt2d*             thePnt2d2=NULL,
+                      const Handle(Geom2d_Curve)& theC2d=NULL,
+                      const double                theUFirst=0.,
+                      const double                theULast=1.);
2013-11-22 13:14:08 +00:00
eap
dacd5b29c7 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
+  int GetCorners(const TopoDS_Face&          theFace,
+                 SMESH_Mesh &                theMesh,
+                 std::list<TopoDS_Edge>&     theWire,
+                 std::vector<TopoDS_Vertex>& theVertices,
+                 int &                       theNbDegenEdges);
2013-11-22 12:40:36 +00:00
eap
73df78c0c4 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
-  StdMeshers_FaceSide(const SMDS_MeshNode*       theNode,
-                      const gp_Pnt2d             thePnt2d,
-                      const StdMeshers_FaceSide* theSide);
+  StdMeshers_FaceSide(const StdMeshers_FaceSide*  theSide,
+                      const SMDS_MeshNode*        theNode,
+                      const gp_Pnt2d*             thePnt2d1,
+                      const gp_Pnt2d*             thePnt2d2=NULL,
+                      const Handle(Geom2d_Curve)& theC2d=NULL,
+                      const double                theUFirst=0.,
+                      const double                theULast=1.);
2013-11-22 12:37:31 +00:00
mpa
e2a638a026 - Modifing Geometry and Mesh Python scripts from SALOME 6 and before 2013-11-19 12:41:57 +00:00
eap
01fd947027 avoid FPE 2013-11-19 11:54:02 +00:00
eap
e57d64d391 Regression of SALOME_TESTS/Grids/smesh/bugs_03/D6
Improve the EventListener to clean all EDGEs of a complex side if one EDGE is cleaned
2013-11-18 16:51:16 +00:00
eap
a60773c9b3 In SetParametersByDefaults(), make myMinSize and myDeflection greater 2013-11-18 16:50:05 +00:00
eap
142df328f7 Regression SALOME_TESTS/Grids/smesh/3D_mesh_HEXA3D_00/C2
Fix isConcave()
2013-11-18 14:59:23 +00:00
eap
c789cfecef fix SIGFPE on too short EDGEs 2013-11-18 13:21:17 +00:00
eap
10e12cc117 fix SIGFPE on too short EDGEs 2013-11-18 12:35:16 +00:00
eap
1872ac43e1 Regression of SALOME_TESTS/Grids/smesh/bugs_19/X7
Increase nb of allowed shrink loops
2013-11-15 12:19:28 +00:00
eap
c2a18a423e Regression of SALOME_TESTS/Grids/smesh/bugs_13/N9
Fix association of SHELLs
2013-11-15 11:59:48 +00:00
eap
862dfb92f3 2355: EDF SMESH: New 1D hypothesis "Adaptive"
More performance optimization
2013-11-15 09:48:22 +00:00
eap
f7f460b8b0 2355: EDF SMESH: New 1D hypothesis "Adaptive"
Performance optimization
2013-11-14 14:27:06 +00:00
eap
423f2b8731 022398: EDF 2783 SMESH: No end with viscous layer computation
Prevent infinite loop in shrink()
2013-11-12 14:50:30 +00:00
eap
7b33bc39fd 22355: EDF SMESH: New 1D hypothesis "Adaptive" 2013-11-11 11:07:44 +00:00
rnv
e33e8e2029 WIN32 compilation of the SMESH module:
1) Fix common WIN32 compilation errors.
2) Replace WNT deprecated macro definition by the WIN32.
3) Remove unnecessary test executables.
4) Make MEFISTO2D algorithm optional: try to determine f2c generator and generate C code from Fortran, otherwise MEFISTO2D is unavailable.
2013-10-18 13:29:00 +00:00
rnv
1bd4ba8acd Porting SALOME SMESH module to the CMake build system: initial version. 2013-10-10 12:57:42 +00:00
eap
2bdf78860b Fix
1) SALOME Forum bug http://www.salome-platform.org/forum/forum_14/610436714
2) Regressions of SALOME_TESTS/Grids/smesh/imps_09/K0
2013-10-09 16:06:33 +00:00
eap
0e557488d2 fix getSubmeshIDForCopiedMesh() 2013-09-18 12:57:26 +00:00
eap
49eb7d1c5f again: Avoid SIGSEGV in debug mode if CheckNbEdges() is called w/o calling Compute() 2013-09-11 10:34:33 +00:00
eap
03ec1eff31 Avoid SIGSEGV in debug mode if CheckNbEdges() is called w/o calling Compute() 2013-09-10 14:28:13 +00:00
eap
c50bee3b04 1) Use transformation for projection from bottom to top
2) Improve performance of TPCurveOnHorFaceAdaptor::Value() by avoiding
creation of PCurves on planar faces
3) Report a meaningful error in case of missing 1D algo
2013-09-03 10:42:36 +00:00
eap
a27b03972c SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
make smoothAnalyticEdge() work for a circle EDGE in 3D case
2013-08-23 16:27:29 +00:00
eap
b860f3ffbd SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Do not report a compute error if a node on VERTEX is not shared by any
segment because segments on seam EDGE are assigned later
2013-08-23 16:26:29 +00:00
eap
b14fd3f9bd SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Ignore degenerated EDGEs when counting computed sub-meshes
2013-08-23 16:23:57 +00:00
eap
cc817cd04f SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Use SMESH_OctreeNode to sew imported elements to pre-existing ones
2013-08-23 13:38:12 +00:00
eap
3c53917e76 SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Don't use BRep_Tool::Degenerated() which sometimes gives a wrong answer,
use SMESH_Algo::isDegenerated() instead
2013-08-23 07:44:07 +00:00
eap
4031dc9808 Fix regression of SMESH_TEST/Grids/smesh/imps6/G0
Clear _ImportData::_n2n if it's no more useful
2013-08-15 12:10:20 +00:00
eap
fcbb13c72e Fix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3
Avoid having straight continuous sides of a quadrilateral
2013-08-13 16:40:46 +00:00
prascle
ef59152514 PR : merge from V7_2_1p1
memory leaks, bug in import 1D for cracks
M src/SMDS/SMDS_UnstructuredGrid.cxx
M src/SMESH/SMESH_MeshEditor.cxx
M src/SMESH/SMESH_MesherHelper.cxx
M src/SMESHUtils/SMESH_MeshAlgos.cxx
M src/SMESHUtils/SMESH_MeshAlgos.hxx
M src/SMESHUtils/SMESH_Octree.hxx
M src/SMESHUtils/SMESH_Tree.hxx
M src/SMESH_PY/smeshstudytools.py
M src/StdMeshers/StdMeshers_Import_1D.cxx
2013-08-03 11:11:12 +00:00
eap
b5567ce18e 1) SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
http://www.salome-platform.org/forum/forum_10/998544058
2) Fix failure on a revolved rectangle with a VL on a concave face and a
VL thickness about a half-thickness of the revolved.
2013-07-31 14:30:06 +00:00
eap
77e7a1f52b decorations 2013-07-31 08:12:54 +00:00
eap
fc8ad974ab SMESH_Gen::_map1D_Algo no longer exists 2013-07-03 16:07:54 +00:00
eap
6c81f9a1e5 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
2013-06-04 15:05:51 +00:00
eap
d98ea3bd2b 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

Have a separate SMESH_MesherHelper in each TSideFace in order to get a
correct UV on periodic FACE
2013-06-04 15:05:28 +00:00
eap
9ebd1fea41 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

In GetUVPtStruct(), update normParam when reloading points from a proxy
mesh in a reversed order
2013-06-04 15:03:15 +00:00
eap
ea2fec5674 - //_face.Orientation( TopAbs_FORWARD );
+  _face.Orientation( TopAbs_FORWARD ); // 2D logic works only in this case
2013-05-31 11:56:48 +00:00
eap
083e873dfe check orientation when re-loading points from a proxy mesh 2013-05-31 11:56:32 +00:00
eap
65c94961fc take care of a correct orientation (attempt No2 ) 2013-05-30 16:35:57 +00:00
eap
05c6c409ee take care of a correct orientation 2013-05-30 16:28:03 +00:00
eap
cb2ff0ef70 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
In addition to implementing IMP, avoid "limiting" _thickness to zero:

-    _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
+    if ( maxPossibleThick > 0. )
+      _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
2013-05-30 14:15:57 +00:00
eap
4a87093dce 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
+  void SetBndShapes(const std::vector<int>& shapeIds, bool toIgnore);
+  std::vector<int> GetBndShapes() const { return _shapeIds; }
+  bool IsToIgnoreShapes() const { return _isToIgnoreShapes; }

  private:

-  std::vector<int> _ignoreBndShapeIds;
+  std::vector<int> _shapeIds;
+  bool             _isToIgnoreShapes;
2013-05-30 14:14:31 +00:00
eap
abdbef3f20 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
In MakeComputed(), call SMESH_Gen::Compute() with aShapeOnly = true

-    return gen->Compute( *mesh, shape );
+    return gen->Compute( *mesh, shape, /*shapeOnly=*/true );
2013-05-29 15:32:30 +00:00
eap
ccd189545b 0022136: EDF 2345 SMESH: Improving documentation of Quadrangle mapping with the type "Reduced"
1) Send a warning if Reduced transition can't be used.
2) Fix SIGSEGV for the case of nbRows = 1, nbTop = 4, nbBot = 16
2013-05-29 13:41:51 +00:00
eap
a541c7e70e 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
Improve MakeComputed to compute a source sub-mesh using an
 all-dimensional algo of dim greater than dim of the given sub-mesh
2013-05-27 14:04:00 +00:00
eap
8df43f2a70 0022195: EDF SMESH: Mesh using existing elements. 2013-05-16 17:08:45 +00:00
eap
9b739aaa01 0022195: EDF SMESH: Mesh using existing elements.
In Compute() call assure the source mesh is loaded:
_sourceHyp->GetGroups(/*loaded=*/true);

In getMaps(), do not clear n2n map to assure sharing nodes on EDGEs
for adjacent FACEs
2013-05-16 17:06:42 +00:00
eap
3010de27c3 0022195: EDF SMESH: Mesh using existing elements.
To load the mesh owning source groups

-  const std::vector<SMESH_Group*>& GetGroups() const;
+  const std::vector<SMESH_Group*>& GetGroups(bool loaded=false) const;
2013-05-16 17:02:10 +00:00
eap
42491f3cb5 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
+#include "SMESH_MeshAlgos.hxx"
2013-05-16 16:58:08 +00:00
eap
f2160ad9de + subMeshOfSolid->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE ); 2013-05-16 16:55:53 +00:00
eap
adde8edd1b Regression of SMESH_TEST/Grids/smesh/imps7/H5
Fix position of medium nodes that are set to FACE by
StdMeshers_Projection_2D, since EDGEs are discreteized later than FACE.
2013-04-26 14:43:46 +00:00
eap
e1fe293459 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
-  for ( int iF = 1; iF < faceToSolids.Extent(); ++iF )
+  for ( int iF = 1; iF <= faceToSolids.Extent(); ++iF )
2013-04-26 10:21:24 +00:00
prascle
bb5c11a5ed PR: relax constraints on node distances on StdMeshers_import_1D 2013-04-16 16:47:43 +00:00
vsr
ae86d2a1ab Merge from V6_main 12/04/2013 2013-04-12 14:40:29 +00:00
vsr
bd8f1aee7c Merge from V6_main 01/04/2013 2013-04-01 13:05:47 +00:00
vsr
de9ffb0699 Merge from V6_main 19/03/2013 2013-03-19 16:22:36 +00:00
vsr
31ca0b3e3b Merge from V6_main 15/03/2013 2013-03-15 14:59:29 +00:00
vsr
7aebb99e42 Merge from V6_main 06/03/2013 2013-03-06 13:57:01 +00:00
vsr
88b3dbe23b Merge from V6_main 28/02/2013 2013-02-28 15:07:35 +00:00
vsr
9a54694a0a Merge from V6_main 11/02/2013 2013-02-12 14:37:44 +00:00
vsr
1067ffa6e7 Merge from V6_main 13/12/2012 2012-12-13 11:41:29 +00:00