Commit Graph

2045 Commits

Author SHA1 Message Date
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
inv
55532407fe Fix problem when building SMESH in --without-gui mode 2012-10-12 07:03:48 +00:00
inv
00649fb99d Fix problem when building SMESH in --without-gui mode 2012-10-12 06:56:39 +00:00
vsr
aa3edf49ef 0021906: [CEA 579] Missing section in Mesh Properties Dialog 2012-10-12 05:28:23 +00:00
pnoyret
fe533dd568 Yams Plugin 2012-10-11 07:56:03 +00:00
eap
e1f28b0a35 More precise error description 2012-10-10 11:29:08 +00:00
eap
2c8f4c513e Try to use length of edges for association in case of a 2-edges wire 2012-10-10 10:48:10 +00:00
eap
bd01d75a47 protect from SIGSEGV in case of "Composite Wire Discretization" usage 2012-10-10 10:46:53 +00:00
eap
798c633011 in ComputeStateEngine(), clear _computeError at certain events only 2012-10-10 10:45:50 +00:00
eap
b02b941bd8 protect GetSubShapeByNode() from SIGSEGV at NULL node 2012-10-10 10:44:55 +00:00
ana
5a4525c20f Avoid "GROUP" redefinition on win32: add 'MeshObjectType'enum to namespace SMESH 2012-10-10 08:46:51 +00:00
eap
afd264a070 0021897: EDF 1495 SMESH : Problem with groups when building a compound with medballs
Make control variable of for different in outer (on meshes) and
   inner (on groups) loops.
2012-10-09 14:02:38 +00:00
eap
c5c930fa65 0021891: EDF 2398 : Error when dumping a study with non historical mode
Fix bug that AddHypothesis() + RemoveHypothesis() pair was cleared in
  the historical mode if a hypothesis was removed
2012-10-09 13:53:34 +00:00
ana
fb9bc843b0 Add missing library 2012-10-09 07:28:56 +00:00
vsr
1116b207ea Automatic assigning of default name for the group at the dialog box initialization 2012-10-09 05:25:18 +00:00
eap
bc65599349 0021891: EDF 2398 : Error when dumping a study with non historical mode
AddHypothesis() + RemoveHypothesis() pair was not cleared in
  snap-shot mode if a hypothesis was removed
2012-10-08 12:45:03 +00:00
eap
ac003a0da5 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
Initialize myDoGroupOfBalls and myDoGroupOf0DElems in the constructor
2012-10-08 09:17:18 +00:00
vsr
92d9bb8988 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
- Move all export mesh commands to the single Export submenu (as in main menu File)
2012-10-04 15:54:27 +00:00
vsr
3f2f87b248 0021711: [CEA 579] Simplify Properties dialog accordingly to dimension of mesh
Additional patch for store/restore visual parameters
2012-10-04 15:40:50 +00:00
eap
052ef39f86 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
Note 0014299. Fix writing groups (again)
2012-10-04 10:52:46 +00:00
eap
abc9568eca 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
Note 0014299. Fix writing groups
2012-10-04 10:41:10 +00:00
eap
aafd432548 0021382]: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
Add "Export GMF" to the pop-up of mesh and group
2012-10-04 10:04:17 +00:00
gdd
f312847d16 Fix dump of ExportCGNS, ExportGMF, CreateMeshesFromUNV and CreateMeshesFromGMF 2012-10-04 09:21:50 +00:00
vsr
1e6fde8450 0021711: [CEA 579] Simplify Properties dialog accordingly to dimension of mesh 2012-10-03 14:25:24 +00:00
vsr
878662e498 0021711: [CEA 579] Simplify Properties dialog accordingly to dimension of mesh 2012-10-03 13:45:18 +00:00