Commit Graph

2112 Commits

Author SHA1 Message Date
eap
b69677548c 22011: [CEA 736] Mesh ends with "Global 2D algorithm is missing"
In checkMissing(), check only sub-meshes on meshable shapes (edges,faces,solids)
2012-12-17 16:37:18 +00:00
eap
4f0a26fa4d Allow for definition of sweep vector by 3 vector components 2012-12-17 16:17:54 +00:00
vsr
beab223e19 Imp: allow customization of nodes / cells numbering text properties via preferences 2012-12-17 15:48:01 +00:00
eap
7085686b04 Add missing throw (SALOME::SALOME_Exception) 2012-12-17 15:39:59 +00:00
eap
bd7cecec9a Add missing try/catch using SMESH_TryCatch.hxx 2012-12-17 15:39:30 +00:00
eap
c3597c66f0 + /*!
+   * \brief Function used in SMESH_CATCH to convert a caught exception to
+   * SALOME::SALOME_Exception
+   */
+  inline void throwCorbaException(const char* excText)
+  {
+    THROW_SALOME_CORBA_EXCEPTION( excText, SALOME::INTERNAL_ERROR );
+  }
2012-12-17 15:38:09 +00:00
eap
dfe68f4de1 - smeshpy.py 2012-12-17 15:10:44 +00:00
eap
62cf47f6ed useless file 2012-12-17 15:09:43 +00:00
eap
7abb1c93b4 Use SMESH_TryCatch.hxx 2012-12-17 14:14:18 +00:00
eap
2b6536d33b + SMESH_TryCatch.hxx 2012-12-17 14:14:03 +00:00
eap
6cafe5cc9f 22010: [CEA 731] "CreateDimGroup" creates some faces not belonging to volumes's skin
Re-implenent CreateDimGroup()
2012-12-17 14:12:40 +00:00
vsr
b70f27b542 Imp: use file name as default mesh name when publishing data coming from SAUV or STL file 2012-12-17 12:38:17 +00:00
vsr
5f2fdbf53f Fix bug: wrong default color the the group 2012-12-17 12:15:09 +00:00
eap
b3aa30bca3 21948: EDF SMESH : Memory is not freed when deleting a mesh
Elimenate memory leaks on CORBA objects, servants of SALOMEDS objects etc
2012-12-14 13:57:37 +00:00
eap
873eca935e 21948: EDF SMESH : Memory is not freed when deleting a mesh
UnRegister filter manager etc
2012-12-14 13:56:22 +00:00
eap
4f585d60b6 21948: EDF SMESH : Memory is not freed when deleting a mesh
<source>SMESH_VISU_PROBLEM</source>
+        <translation>Mesh visualization failed</translation>
+    </message>
+    <message>
+        <source>SMESH_VISU_PROBLEM_MEMORY</source>
         <translation>Mesh visualization failed, probably due to lack of memory</translation>
2012-12-14 13:54:34 +00:00
eap
f48b7044a2 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  bool                         myToDeleteInitParamsHypo;
2012-12-14 13:54:12 +00:00
eap
111d1ee46e 21948: EDF SMESH : Memory is not freed when deleting a mesh
Show nb of nodes and elements in "Compute" dialog
2012-12-14 13:49:42 +00:00
eap
cad015ecdc 21948: EDF SMESH : Memory is not freed when deleting a mesh
SMESH::RemoveVisualObjectWithActors() at object removal from study
2012-12-14 13:44:41 +00:00
eap
91312a2db5 21948: EDF SMESH : Memory is not freed when deleting a mesh
Fix a leak of GEOM_IGroupOperations_i servant
2012-12-14 13:42:25 +00:00
eap
d0a6c1f78d untabify 2012-12-14 13:41:32 +00:00
eap
47709d42f2 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize for groups in large meshes
2012-12-14 13:41:14 +00:00
eap
dcf5dee894 21948: EDF SMESH : Memory is not freed when deleting a mesh
Delete fields in order of their declaration in the header - for easier check
2012-12-14 13:40:14 +00:00
eap
37eb451785 21948: EDF SMESH : Memory is not freed when deleting a mesh
Fix leaks of myPreHighlightActor and myHighlightActor
2012-12-14 13:37:18 +00:00
eap
3304d08571 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize ElementsOnShape for large meshes
2012-12-14 13:36:23 +00:00
eap
11e1059f3e 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  static void ForgetAllData( SMESH_Mesh_i* mesh );
2012-12-14 13:35:19 +00:00
eap
ee00100fa4 21948: EDF SMESH : Memory is not freed when deleting a mesh
Elimenate memory leaks on CORBA objects, servants of SALOMEDS objects etc
2012-12-14 13:34:34 +00:00
eap
09a87fd9f2 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  static bool               IsTemporaryIDSource( SMESH::SMESH_IDSource_ptr& idSource );
2012-12-14 13:34:18 +00:00
eap
04a91a7190 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize groups on filter for large meshes

+  virtual SMESH::long_array* GetListOfID();
+  virtual SMESH::long_array* GetMeshInfo();
2012-12-14 13:33:47 +00:00
eap
7973c25121 21948: EDF SMESH : Memory is not freed when deleting a mesh
In DeleteEventListener() fix removal of listeners
2012-12-14 13:25:12 +00:00
eap
413fec58c7 21948: EDF SMESH : Memory is not freed when deleting a mesh
Use _id instead of _idDoc

-  _myMeshDS      = theDocument->GetMesh(_idDoc);
+  _myMeshDS      = theDocument->NewMesh(theIsEmbeddedMode,theLocalId);
2012-12-14 13:24:26 +00:00
eap
730908a7f4 21948: EDF SMESH : Memory is not freed when deleting a mesh
-  int                        _idDoc;        // id given by SMESHDS_Document
2012-12-14 13:23:20 +00:00
eap
0d9cd77ceb 21948: EDF SMESH : Memory is not freed when deleting a mesh
minor changes
2012-12-14 13:22:42 +00:00
eap
d3fb998efd 21948: EDF SMESH : Memory is not freed when deleting a mesh
Delete SMESHDS_Document's at destruction
2012-12-14 13:21:56 +00:00
eap
1199fcd63c 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize for large meshes
2012-12-14 13:19:01 +00:00
eap
06544a5936 21948: EDF SMESH : Memory is not freed when deleting a mesh
void SMESHDS_SubMesh::Clear()
 {
-  myElements.clear();
-  myNodes.clear();
+  clearVector( myElements );
+  clearVector( myNodes );
2012-12-14 13:17:12 +00:00
eap
ee35ac825c 21948: EDF SMESH : Memory is not freed when deleting a mesh
-        int                  NewMesh(bool theIsEmbeddedMode);
+        SMESHDS_Mesh *       NewMesh(bool theIsEmbeddedMode, int MeshID);
2012-12-14 13:16:39 +00:00
eap
b22f68bd44 21948: EDF SMESH : Memory is not freed when deleting a mesh
pass vector arg by reference, not by value
2012-12-14 13:15:17 +00:00
eap
56b857de47 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks: adjuct vtkCellLinks::MaxId

+  void ResizeForPoint(vtkIdType vtkID);
2012-12-14 13:13:00 +00:00
eap
a29e12d8f9 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks

class SMDS_EXPORT SMDS_CellLinks: public vtkCellLinks
{
public:
+  void ResizeForPoint(vtkIdType vtkID);
2012-12-14 13:09:07 +00:00
eap
6bb8dd97b8 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks

void SMDS_MeshNode::init()
{
-  if (myVtkID >= cellLinks->GetLinksSize())
-          cellLinks->ResizeL(myVtkID+SMDS_Mesh::chunkSize);
+  cellLinks->ResizeForPoint( myVtkID );
2012-12-14 13:08:08 +00:00
eap
585362053b 21948: EDF SMESH : Memory is not freed when deleting a mesh
Make clear free as much as possible memory
2012-12-14 13:04:42 +00:00
eap
fa38ad0b49 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  void clear()
2012-12-14 13:02:44 +00:00
eap
2eb294fdc3 21948: EDF SMESH : Memory is not freed when deleting a mesh
Elimenate memory leaks
2012-12-14 12:30:59 +00:00
vsr
37b9292da6 Merge from BR_Qt48_porting (compatibility with Qt4.8) 14/12/2012 2012-12-14 10:16:09 +00:00
vsr
13ff1c4641 Merge from V6_6_BR (V6_6_0rc2) 11/12/2012 2012-12-11 13:23:39 +00:00
eap
0864c4d0a8 0021999: EDF 2480 SMESH : Aspect ratio on a flat mesh
1) For badly shaped elements, to prevent division by zero and other FP errors, do not use Presicion::Confusion() but 1e-100 and return 1e+100 if this limit is overcome
   2) merge other changes from V6_6_BR
2012-11-23 14:34:33 +00:00
gdd
71680afe44 Remove unwanted file 2012-11-12 09:59:56 +00:00
pnoyret
890fd0a1aa ajout du plugin yams 2012-10-29 13:06:41 +00:00
pnoyret
fc55c41f6c minor bugs -) 2012-10-29 13:02:14 +00:00