Commit Graph

2019 Commits

Author SHA1 Message Date
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
gdd
6a54fa6046 Update translation files 2012-10-23 10:03:15 +00:00
ana
8c9e133682 Generating documentation by CMake: small correction 2012-10-22 08:55:16 +00:00
ana
dd5d551117 Generating documentation by CMake 2012-10-22 08:41:19 +00:00
eap
193b7a57d7 0021339: EDF 1928 SMESH: Create group of 0D elements 2012-10-19 07:45:39 +00:00
eap
b75ee995ab 0021339: EDF 1928 SMESH: Create group of 0D elements 2012-10-18 11:44:44 +00:00
eap
5d017835af untabify 2012-10-18 11:44:28 +00:00
eap
e1fe8b5ce1 fix of comment 2012-10-18 11:43:55 +00:00
eap
0c27c22747 0021339: EDF 1928 SMESH: Create group of 0D elements
Enable filtering 0D elements
2012-10-18 11:42:50 +00:00
eap
1fb9c7dd26 0021339: EDF 1928 SMESH: Create group of 0D elements
Enable creation of Balls and 0D elements on all selected nodes, not
  on one node only
2012-10-18 11:41:56 +00:00
eap
49c44a713e 0021339: EDF 1928 SMESH: Create group of 0D elements
Fix ElemGeomType::IsSatisfy() to work automatically with any new type
2012-10-18 11:40:33 +00:00
ana
e77525fc4f win32 compatibility 2012-10-17 13:42:00 +00:00
ana
7dd57261be 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods). Porting to CMake.
2012-10-17 06:21:34 +00:00
vsr
f3f2d644ef 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box 2012-10-16 16:00:19 +00:00
vsr
d2f0eb8f21 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box 2012-10-16 15:49:48 +00:00
eap
7e1dee49ad 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Fix setEventListener() for a case of a listener found by name
2012-10-16 11:19:06 +00:00
eap
7c801b5b44 Values of element controls have been added to Mesh info 2012-10-16 09:56:24 +00:00
vsr
c5698502cc 0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the hdf file 2012-10-16 08:28:43 +00:00
ana
3816b8e97c win32 compilation: remove unnecessary definition of dllimport 2012-10-16 06:35:13 +00:00
eap
43839bab02 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Add StdMeshers_ViscousLayers2D hypothesis
2012-10-15 14:52:18 +00:00
eap
40e5fd72da 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
1) Move struct uvPtStruct to SMESH_TypeDefs.hxx
2) Enable work with a SMESH_ProxyMesh
2012-10-15 14:41:16 +00:00
eap
8b733351ad 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
+	StdMeshers_ViscousLayers2D.cxx \
2012-10-15 14:39:45 +00:00
eap
2c227fc6a5 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
+    def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor, ignoreEdges=[]):
2012-10-15 14:39:03 +00:00
eap
c53c4defde Convert ExportGMF() 2012-10-15 14:38:40 +00:00
eap
252161f517 Fix dump of ExportGMF() and ExportCGNS() 2012-10-15 14:35:51 +00:00
eap
8944375f22 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
In FindEqualElements(), use idSourceToSet()
2012-10-15 14:34:23 +00:00
eap
e9a46da8ca 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
enable reporting lack of a node on a vertex
2012-10-15 14:32:14 +00:00
eap
6d69062419 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
move struct uvPtStruct from StdMeshers_FaceSide
2012-10-15 14:30:54 +00:00
eap
cf56ad7e8d 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Derive SMESH_Octree from a template SMESH_Tree
2012-10-15 14:30:14 +00:00
eap
8ab8fbfb50 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Derive SMESH_Octree from SMESH_Tree

+	SMESH_Tree.hxx \
+	SMESH_Quadtree.hxx \
2012-10-15 14:29:45 +00:00
eap
0f6b40b239 Avoid referencing memory of an automatic variable
struct StdParam
   {
-    const char* text() const { return myText.toLatin1().constData(); }
+    const char* text() const {
+      ((QByteArray&) myTextAsBytes) = myText.toLatin1(); return myTextAsBytes.constData();
+    }
2012-10-15 14:27:55 +00:00
eap
b4d9638c8c 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
-  inline SMESHDS_Mesh *getParent() {return myParent; };
+  SMESHDS_Mesh *GetParent()   { return myParent; }
2012-10-15 14:25:42 +00:00
eap
b648205fec 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
1) Fix notifyListenersOnEvent() for the case if a listener is deleted
2) in setEventListener(), use a listener name to find an existing listener
2012-10-15 13:15:55 +00:00
eap
c0f78ed06c + const SMESHDS_SubMesh * GetSubMeshDS() const; 2012-10-15 13:04:17 +00:00
eap
3750df108a 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Extend the class to store 1D proxy elements
2012-10-15 13:03:16 +00:00
eap
4605267548 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
-void FindEqualElements(set<const SMDS_MeshElement*> & theElements,
+void FindEqualElements(TIDSortedElemSet &        theElements,
                        TListOfListOfElementsID & theGroupsOfElementsID)
2012-10-15 13:01:00 +00:00
eap
51782d7575 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
+    <hypothesis type     ="ViscousLayers2D"
+                label-id ="Viscous Layers 2D"
+                icon-id  ="mesh_algo_quad.png"
+                auxiliary="true"
+                dim      ="2"/>

     <algorithm type      ="MEFISTO_2D"
+               opt-hypos ="ViscousLayers2D"

     <algorithm type     ="Quadrangle_2D"
+               opt-hypos="ViscousLayers2D"
2012-10-15 12:57:50 +00:00
eap
04dd8e5b5f 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
+  interface StdMeshers_ViscousLayers2D : SMESH::SMESH_Hypothesis
2012-10-15 12:49:07 +00:00
gdd
00e6cbee7f EDF 2357 : Modification of the "Files of type" (*.med => *.*med) - CTN 2012-10-15 09:58:06 +00:00
eap
e8b4cb4110 More details 2012-10-12 15:24:09 +00:00
vsr
65de7c2a91 0021905: EDF SMESH: Impossible to add a face without layers with "viscous layers" 2012-10-12 15:07:11 +00:00
prascle
f3d031f77d PR: bug on CreateHoleSkin with groups 2012-10-12 10:59:49 +00:00
inv
e88340470b Fix error in previous integration 2012-10-12 07:17:27 +00:00
inv
0d78a54227 Fix problem when building SMESH in --without-gui mode (revert previous commit, instead put all directory to the conditional, since it contains only GUI) 2012-10-12 07:04:31 +00:00