Commit Graph

82 Commits

Author SHA1 Message Date
eap
4c16067d42 23418: [OCC] Mesh: Minimization of memory usage of SMESH 2018-04-05 15:08:14 +03:00
eap
30628bd54b typo-fix by Kunda
http://www.salome-platform.org/forum/forum_9/975195177
2018-02-27 14:23:35 +03:00
eap
04f9972521 Typo-fix by Kunda
http://www.salome-platform.org/forum/forum_9/22126441
2017-12-28 14:28:17 +03:00
vsr
9d73526fbc Clean-up deprecated OCCT-related code 2017-09-25 16:12:08 +03:00
eap
e74c29b786 Patch modules/smesh.git for Doxygen typos/grammar + misc. typos
http://www.salome-platform.org/forum/forum_10/652417125
2017-03-02 19:51:35 +03:00
eap
b5e94caaa3 53935: "Add" item of sub-mesh pop-up does not work and is not documented
Rename "Add" -> "Add to Group"
    Show "Add" only if manual edition is enabled in Group dialog

+ Do not clear a sub-mesh if it's algorithm is same as a global one
    (SMESH_submesh.cxx)
2017-02-02 17:32:11 +03:00
eap
cf7328b78f IMP23369: [CEA 1513] compute a mesh using an already existing mesh with MG-CADSurf
Enable computing a mesh w/o geom with 2 algos
2016-12-16 19:17:51 +03:00
eap
81bd088581 Fix regressions 2016-11-15 19:54:27 +03:00
eap
6b1de62331 Optimize performance of mesh deletion upon hyp modification 2016-11-09 18:59:43 +03:00
eap
75d0234b45 IMP 23373: [CEA 1170] Optimization of a 3D mesh using MG-Tetra
SMESHGUI_* - treat an algo that can work w/o geom only

+ fix a crash at mesh modif just after visualization
   SMDS_* - assure that grid->Links exist before grid->InsertNextLinkedCell()
2016-11-03 18:55:09 +03:00
eap
0f9ed6f02c Minor doc changes
+ fix meshing progress (SMESH_subMesh.cxx)
2016-07-08 22:22:13 +03:00
eap
386c76ea03 Regression of BelongToGeom on Debian-6
(SMESH_Controls* )

- Optimize mesh deletion (ObjectPool.hxx)
- Memory leaks (SMESH_Gen_i.cxx)
- Usage of uninitialized vars ( SMESHGUI_MeshOp.cxx )
- Minimize nb of #include in headers (the rest files)
2016-06-29 20:53:22 +03:00
eap
c8f0893cc3 Regression of doc/salome/examples/use_existing_faces.py 2016-03-25 13:44:51 +03:00
eap
57cd3cc565 23068: [CEA 1505] Be able to keep meshing in 2D after having merged the nodes in 1D
In SMESH_subMesh::ComputeStateEngine() transform errors into warnings if it is caused by mesh edition

Regression of SALOME_TESTS/Grids/smesh/2D_submesh_00/A7
    fix SMESH_subMesh::cleanDependsOn()

Regression of SALOME_TESTS/Grids/smesh/imps_02/C4
    fix getSubMeshes() in SMESH_subMesh_i.cxx and use it in all cases

Regression SALOME_TESTS/Grids/smesh/mesh_Projection_2D_01/B1
    In StdMeshers_Projection_2D treat coincident nodes in all cases
2016-03-24 20:12:07 +03:00
vsr
7eda9ca931 Copyright update: 2016 2016-03-18 20:10:28 +03:00
eap
a6bce4daba Fix regression of SALOME_TESTS/Grids/smesh/3D_submesh_00/A6
Fix SMESH_subMesh::cleanDependsOn()

+ minor improvements in SMESH_submesh and sample scripts
2016-03-17 15:30:10 +03:00
eap
d45cd9ae88 53057: NETGEN-1D2D3D issues "Ignored" warning for faces of a sub-mesh
This case also reveals the following bugs:

1) SMESH_MesherHelper::IsReversedSubMesh() incorrectly works on
 a coarsely meshed disk

2) Addition of NETGEN-1D2D3D removes already computed faces of a
  sub-mesh on a group of FACEs (SMESH_subMesh::cleanDependsOn())

3) Volumes are shown, instead of faces, when displaying a sub-mesh on
  a SOLID with only a 2D algo assigned to the sub-mesh (SMESH_subMesh_i.cxx)
2016-03-15 15:59:11 +03:00
eap
6f5fd35e49 23221: EDF - all edges are not meshed
an internal EDGE in a SOLID to be meshed
2016-01-29 18:03:18 +03:00
eap
25b7d7ffe7 Compilation error on Mageia 5
(DriverMED_W_SMESHDS_Mesh.cxx)

+ small changes for 23190: EDF 11636 - Problem of viscous layer
   (not yet fixed)
2015-11-25 13:53:04 +03:00
eap
3369d458ea IPAL52935: "Apply and Close" button is not available in "Make 0D Elements on Element Nodes" dialog box
(SMESHGUI_Add0DElemsOnAllNodesDlg.cxx)

Eliminate compilation warnings (all the rest files)
2015-10-27 20:47:31 +03:00
eap
67909c435c IPAL52868: Confusing error message when computing an imported mesh w/o algo assigned
IPAL52888: Pattern Mapping fails to load from a face just after study loading
2015-10-05 14:51:57 +03:00
eap
21ea791049 Fix 17 regressions 2015-08-14 13:31:06 +03:00
eap
0e017d4c87 23068: [CEA 1505] Be able to keep meshing in 2D after having merged the nodes in 1D 2015-07-07 17:33:01 +03:00
eap
fe7d1d5767 23070: [CEA 1502] Create the 2D mesh from the 1D mesh with one mesh face for each geom face 2015-06-30 15:14:46 +03:00
eap
897fdb92b6 23121: EDF 11163 SMESH: Orphan node generated on a 3D mesh 2015-06-26 20:09:20 +03:00
eap
22463abfc9 23092: EDF 10836 SMESH: UseExisting2DElements fails when geometry contains more than one face
Decrease 2D tolerance user for UV classification
2015-05-08 18:49:31 +03:00
eap
ebb5182963 23061: [CEA 1488] Import 1D-2D fails sometimes in relation with the source face discretization
Fix SMESH_subMesh::ComputeStateEngine() and StdMeshers_Import_1D2D::Compute()

IPAL52572: 1) Wrong bi-quadratic mesh on cylinder, 2) global "Quadratic mesh" hyp not considered on Propagated edges.
  Fix SMESH_MesherHelper::FixQuadraticElements()
  StdMeshers_Regular_1D - wrong PropagationOfDistribution in quadratic mesh

In SMESHGUI_MergeDlg, disable [Detect] if no mesh selected
2015-04-29 20:03:34 +03:00
eap
b0a962d83d 22573: [CEA 1154] Regression on a blsurf mesh (crash on test_periodicity_LR_ONLY.py)
+ IMP 22264: EDF 2648 GEOM: Propagate edges automatic orientation (fix Number of Segments dlg)
+ bad STL files are written on Windows (reported by YFR)
+ 22874: [CEA 1425] Performance SMESH Module ( refix ~SMESH_Mesh() )
2015-03-31 19:42:12 +03:00
akl
251f8c052d Copyrights update 2015. 2015-02-13 12:38:36 +04:00
eap
214d7e4bdc 22691: [CEA 1279] Regression on test attached with issue 22229 2014-09-15 15:22:28 +04:00
eap
ae32dcd34f 22483: EDF 2772 SMESH: Define several 3D viscous layer hypotheses on the same Geometry 2014-08-21 15:15:12 +04:00
eap
f1013bf724 52457: Addition of hypotheses is 8 time longer than meshing.
More optimization
2014-07-23 20:04:21 +04:00
eap
bcfa36bbd0 IPAL52450: Mesh generation fails due to viscous layers 2014-07-16 16:30:28 +04:00
eap
bd39d7c3ed 52447: Re-compute fails after hypothesis modification 2014-07-08 16:07:52 +04:00
eap
440a39776f 22580: EDF 8049 SMESH: Problems with viscous layer
Overcome the problem of thickness limited by radius of curvature of faces
2014-05-28 18:30:52 +04:00
eap
e2c7e8b8f4 Remove useless traces 2014-04-30 15:04:46 +04:00
eap
3f0822bd99 Regression SALOME_TESTS/Grids/smesh/viscous_layers_00/A1 2014-04-22 19:46:18 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
5cdfcba279 More safety
-        if ( l_d->first->IsDeletable() )
+        if ( l_d->first != listener && l_d->first->IsDeletable() )
2013-11-26 13:33:52 +00:00
eap
bfcfbc1ba9 Prevent failure if a degenerated EDGE is not meshed 2013-11-15 10:20:33 +00:00
eap
48653b1aec -#if OCC_VERSION_LARGE > 0x06010000
OCC_CATCH_SIGNALS;
-#endif
2013-10-10 10:29:42 +00:00
eap
c81123c27b 22170: [CEA 704] Redirect NETGEN outup in a log file
restore cout possibly redirected by algo
2013-09-10 13:52:57 +00:00
eap
3efca6d10c Progress bar. Increase difference between computeCost of EDGE and FACE 2013-09-03 15:48:57 +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
5f791c80a4 Optimize cleanSubMesh( SMESH_subMesh * subMesh ) a bit 2013-08-08 12:38:25 +00:00
eap
42d136bcdc Compute Progress bar
+  bool DependsOn( const SMESH_subMesh* other ) const;
+  int                   _realComputeCost; // _computeCost depending on presence of needed hypotheses
2013-07-09 11:59:18 +00:00
eap
e0f019ccf9 Compute Progress bar: ignore sub-meshes that are NOT_READY to compute 2013-07-08 11:27:16 +00:00
eap
8ead976689 Compute Progress bar
SMESH_subMeshIteratorPtr getDependsOnIterator(const bool includeSelf,
-                                                const bool complexShapeFirst) const;
+                                                const bool complexShapeFirst=false) const;

+  int GetComputeCost() const;

   TopoDS_Shape getCollection(SMESH_Gen * theGen,
                              SMESH_Algo* theAlgo,
                              bool &      theSubComputed,
                              bool &      theSubFailed,
+                             int  &      theComputeCost);

+  int                   _computeCost; // how costly is to compute this sub-mesh
2013-07-03 16:12:38 +00:00
eap
973402fcd3 avoid compilation warnings in release mode 2013-06-05 09:39:43 +00:00
eap
10a6101340 0022172: [CEA 790] create the groups corresponding to domains
1) Reset _algo = 0 if ( event == REMOVE_ALGO || event == REMOVE_FATHER_ALGO )

2) Avoid erasing _computeError holding a WARNING is algo->Compute() returns true

-          if ( !_computeError || ( !ret && _computeError->IsOK() ) )
+          if ( !_computeError || (/* !ret && */_computeError->IsOK() ) )
             _computeError = algo->GetComputeError();

3) Fix notifyListenersOnEvent():

-      if ( !isDeletable || !_eventListeners.count( li_da.first ))
+      if ( !isDeletable || _eventListeners.count( li_da.first ))
         li_da.first->myBusySM.erase( this ); // a listener is hopefully not dead
2013-05-24 11:46:27 +00:00