Commit Graph

2069 Commits

Author SHA1 Message Date
eap
c8b155a155 Add an arg to Concatenate() specifying a name of a new mesh 2012-12-18 17:49:25 +00:00
eap
9ed5632be0 22017: [CEA 739] Get an error code returned by cadsurf_set_param
Remove "Salome " from "Salome Exception" prefix returned by
  SALOME_Exception::what() while composing an error message
2012-12-18 13:33:32 +00:00
eap
338eab651c - TCollection_AsciiString oldScript (oldValue.out());
+  TCollection_AsciiString oldScript (oldValue.in());
2012-12-18 12:57:39 +00:00
eap
5ee5ad7e03 Fix a bug that "Lying on Geom" filter rejects elements whose gravity
center is outside the shape
2012-12-18 10:56:35 +00:00
prascle
500aed0351 PR: compilation problem on ubuntu 12.04 2012-12-18 09:25:28 +00:00
vsr
22878614be Imp for Mesh Info dialog box: double click on "connectivity" item switch dialog box to show information of connected nodes/elements 2012-12-18 08:06:25 +00:00
eap
cda4289765 - nbElemsLabel = new QLabel(" 0", this );
+  nbElemsLabel = new QLabel("0", this );
2012-12-17 16:42:40 +00:00
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