Commit Graph

925 Commits

Author SHA1 Message Date
eap
221416d251 untabify 2013-08-07 11:11:09 +00:00
eap
eb3f817bc6 simplify createHypothesis() 2013-08-07 11:10:59 +00:00
eap
6db4726fc4 0022291: EDF 2712 SMESH: Bad dump of QuadrangleParameters 2013-08-07 11:10:47 +00:00
eap
106e7f5297 0022291: EDF 2712 SMESH: Bad dump of QuadrangleParameters
+               idl-module="StdMeshers"
2013-08-07 09:35:44 +00:00
eap
de76274176 021980: [CEA 708] Import/export GMF does work only if the file extension is ".mesh"
Doc about allowed file extension.
2013-08-06 15:16:46 +00:00
fahed
20b497db84 French translation for imp [CEA 750] / MANTIS 22169 2013-08-06 09:26:40 +00:00
vsr
c23ba6b3e4 Fix crash (found by make installcheck) - temporary solution 2013-08-05 16:47:42 +00:00
vsr
f3171e5c4e Fix crash (found by make installcheck) 2013-08-05 15:45:22 +00:00
eap
9a4f5e4852 progress bar: fix for viscous layers 2013-08-05 12:30:05 +00:00
eap
27a1dc566b Prevent SIGSEGV
if ( !anActor ) anActor = SMESH::CreateActor( aMeshSObj->GetStudy(), aMeshSObj->GetID().c_str(), true );
+            if ( anActor ) // actor is not created for an empty mesh
+            {
+              anActor->SetEntityMode( entities );
2013-08-05 10:58:04 +00:00
vsr
6399cfb3c4 0022169: [CEA 750] Chose before visualization mesh element type to display
Improve automatic limit exceed warning message
2013-08-05 08:35:32 +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
akl
7a89c82974 Correction to avoid memory leaks (links to 0021708: [CEA 586]). 2013-08-01 14:04:27 +00:00
akl
3d0eb30949 Insert SMESH object into use case builder according to the given entry (if it is) instead of simply append it at the end of list. 2013-08-01 08:54:43 +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
boulant
f035f75e60 Remove deprecated files for padder plugin 2013-07-31 12:37:06 +00:00
eap
04fe81eb47 SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
http://www.salome-platform.org/forum/forum_10/998544058

 class SMESH_2D_Algo
 {
+  /*!
+   * \brief Method in which an algorithm generating a structured mesh
+   *        fixes positions of in-face nodes after there movement
+   *        due to insertion of viscous layers.
+   */
+  virtual bool FixInternalNodes(const SMESH_ProxyMesh& mesh,
+                                const TopoDS_Face&     face);
2013-07-31 11:21:55 +00:00
eap
09020c0206 fix a comment 2013-07-31 11:18:51 +00:00
eap
77e7a1f52b decorations 2013-07-31 08:12:54 +00:00
boulant
05a97477ee Remove deprecated files of padder plugin 2013-07-31 07:58:37 +00:00
eap
c979ba741c 0021941: [CEA 699] Use for Auto Color method on mesh group the same
algorithm that this one in GEOM which define colors (note 15888)

In AutoColor(), pass a generated color to a group
2013-07-29 12:21:40 +00:00
eap
c17253baf7 Fix GetNodeIndex() for polygon 2013-07-29 12:15:22 +00:00
eap
01d8b02caa Rm duplicated SMDS_MeshElement::setVtkId(int vtkId)
-  inline void setVtkId(int vtkId) { myVtkID = vtkId; };
2013-07-29 11:51:02 +00:00
eap
6ae2a9da94 Optimize SMDS_MeshElement::GetNodeIndex()
+  virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
2013-07-29 11:49:21 +00:00
eap
da2b448af1 Optimize SMDS_MeshElement::GetNodeIndex()
-  int GetNodeIndex( const SMDS_MeshNode* node ) const;
+  virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
2013-07-29 11:48:56 +00:00
skv
cbb3e2b8bd 0022257: [CEA 900] Regression: on test glue_performance.py 2013-07-25 12:03:04 +00:00
eap
d50d493408 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
In createSubMesh() fix getting a sub-mesh ID for a a sub-mesh on group
2013-07-25 09:00:54 +00:00
eap
b8a3fc622b 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-    aStudyName = ( (char*)SALOMEDS_Tool::GetNameFromPath( myCurrentStudy->URL() ).c_str() );
+    CORBA::String_var url = myCurrentStudy->URL();
2013-07-25 08:59:30 +00:00
eap
e11c322ee9 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
Pb: myLimit leaks if it was not provided at construction
2013-07-24 14:49:27 +00:00
eap
8fe58da2fc small optimization 2013-07-24 14:48:32 +00:00
eap
4689443745 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-      newFaceLocations->Register(this);
-      newFaces->Register(this);
2013-07-24 14:46:09 +00:00
rnc
14e8376963 IMP: SMESH: Japanese translations 2013-07-24 13:22:27 +00:00
eap
2e6e5e83cb dos2unix 2013-07-24 12:43:59 +00:00
eap
45953e0114 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-  SALOMEDS::UseCaseBuilder_var useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
+  SALOMEDS::UseCaseBuilder_wrap useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
2013-07-24 12:43:34 +00:00
eap
52b6bfaabb 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-      QString IOR = app->orb()->object_to_string( theObject );
+      CORBA::String_var ior = app->orb()->object_to_string( theObject );
2013-07-24 12:42:52 +00:00
eap
adab833f26 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
+  delete aHistogram;
2013-07-24 12:42:22 +00:00
eap
d0b4e3c141 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
Fix a leak of a CORBA object
2013-07-23 14:20:46 +00:00
eap
7608df4ad1 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
Make Quality Info dialog look same as Quality Info tab of Mesh Info
dialog: add Help and Dump buttons
2013-07-23 12:35:23 +00:00
eap
eeba8f9c90 Fix treatment of filters after starting usage of AddArgCmd() 2013-07-23 11:41:20 +00:00
eap
60b71b1c6c SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Avoid leaks of CORBA objects at calling TPythonDump() << _this()
Avoid leaks of SMESH_MeshEditor_i
2013-07-22 15:25:50 +00:00
eap
c9d7623239 Avoid leaks of CORBA objects at calling TPythonDump() << _this() 2013-07-22 14:42:25 +00:00
eap
74d40c014d SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
2013-07-22 14:40:00 +00:00
eap
5b15666f93 untabify 2013-07-22 14:38:09 +00:00
eap
eb3c0cb3a3 SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Fix loading a group on filter:

+                filter->UnRegister();
2013-07-22 14:37:06 +00:00
eap
26d878fd9f SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
in SetCriteria():

+  aResPredicate->UnRegister();
2013-07-22 14:36:12 +00:00
eap
997c16d89d SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
1) call myFilterDlg->UnRegisterFilters();
2) re-create an actor after converting a group to standalone as a
CORBA object becomes different from that held by the actor
2013-07-22 14:35:30 +00:00
eap
6a8e2f83ff SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
+  void                      UnRegisterFilters();
2013-07-22 14:29:04 +00:00
eap
91084ee58a SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
2013-07-22 14:27:40 +00:00
eap
e74e528833 In RemoveElement(), find sub-mesh by elt->getshapeId() 2013-07-22 14:08:46 +00:00
inv
5bdade8015 RNV: Fix link errors. 2013-07-22 12:59:01 +00:00