Commit Graph

1029 Commits

Author SHA1 Message Date
eap
e377bfeb20 unused variables 2011-02-22 14:28:14 +00:00
eap
b84e6567f0 Fix GetAxisStruct() by replacing ExtractShapes() by SubShapeAll() 2011-02-22 08:59:08 +00:00
rnv
242f34ddc8 Fix for the bug 21194: EDF SMESH: Cannot display a group by clicking on the "eye" of the OB 2011-02-22 07:57:36 +00:00
adam
ce4b39907d Remove warnings 2011-02-18 11:53:32 +00:00
eap
f0a9396455 ACTION 31.3 from CoTech:
EURIWARE BO: Homogenize the formulas used to calculate the Controls in SMESH to fit with
those of ParaView. The library used by ParaView for those calculations can be reused in SMESH.
2011-02-17 14:37:46 +00:00
eap
18e25f5736 excess semicolons 2011-02-17 13:54:05 +00:00
rnv
fbd01b197c Implementation of the "20830: EDF 1357 GUI : Hide/Show Icon"
(at the moment implemeted only in GEOM and SMESH modules).
2011-02-17 08:12:24 +00:00
eap
bd6b92b1da 0020974: EDF 1551 GEOM: Extra edges appear in the result of a partition and can't be removed
Treat the case where a quadrilateral FACE includes the 5th degenerated EDGE

+  void UpdateDegenUV(FaceQuadStruct* quad);
+  void Smooth (FaceQuadStruct* quad);
2011-02-16 10:24:50 +00:00
eap
58ac21315b typos 2011-02-16 10:19:04 +00:00
eap
4ebc2ac980 untabify 2011-02-16 10:18:08 +00:00
vsr
9f513fd3a3 Modify GetCriterion() to take into account the case when tolerance is passed via UnaryOp parameter 2011-02-15 14:12:03 +00:00
adam
696c252ac8 cmake compatibility 2011-02-15 11:46:11 +00:00
eap
69b571614d in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET 2011-02-11 15:20:50 +00:00
eap
4903340a61 untabify 2011-02-11 15:20:04 +00:00
eap
904e9a8802 Add polyhedron type to my3DExtActor
+  aFilter->RegisterCellsWithType(VTK_POLYHEDRON);
2011-02-11 15:19:49 +00:00
eap
df50de7d46 0021153: [CEA] non regression test fails
Fix RemoveNode() and RemoveElement(): erase only elements
         belonging to this sub-mesh
2011-02-10 13:31:17 +00:00
eap
7d73daf123 0021153: [CEA] non regression test fails
Improve removeFromContainers() by taking into account that now mesh
         element knows the sub-mesh it belongs to
2011-02-10 13:30:00 +00:00
vsr
a91bb00475 0021180: EDF 1772 SMESH: Set of hypothesis in 1D
Additional change: enable tabs if no shape is selected
2011-02-10 13:09:43 +00:00
eap
b712c057d5 Modification of hypothesis parameters modifies the mesh
+  GetMeshDS()->Modified();
2011-02-10 09:08:32 +00:00
eap
e5ac48bcf7 Addition and removal of hypotheses modifies the mesh
+  GetMeshDS()->Modified();
2011-02-10 09:02:43 +00:00
ana
95fb8be9ca Fix for the bug IPAL22091: Crash by calling context menu on the SMESH presentation 2011-02-10 08:48:33 +00:00
vsr
36ec1b3d2f 0021176: EDF 1697 SMESH: Smoothing: impossible to select elements of a group 2011-02-10 08:26:27 +00:00
vsr
2fee37828a 0021180: EDF 1772 SMESH: Set of hypothesis in 1D 2011-02-09 15:25:51 +00:00
eap
3c96a71bde Regression of the test case patterns/A8
1) fix an error made during SMDS redesign
-      if (node->getshapeId() <0) {
+      if (node->getshapeId() <1) {
   2) fix an error of Clear() that not all fields are cleared
   3) create polyhedrons only if volume boundary is split by refinement
2011-02-09 13:29:33 +00:00
eap
4ebb8cfccc Regression of the test case imps/A1
In Compute2ndPart(), create a new SMESH_ElementSearcher to avoid
  search of volumes in a proxy mesh contaiting only faces
2011-02-08 12:21:46 +00:00
eap
ae0943024f 0021153]: [CEA] non regression test fails
Fix Mesh.Prism(): replace ExtractShapes() by SubShapeAll() again
2011-02-08 10:26:55 +00:00
eap
0953f1790f Regression of test case bugs/P1
Restore the lost initialization of _nbSegments
2011-02-07 15:08:52 +00:00
eap
977978e76d correct the preceeding patch 2011-02-07 14:27:59 +00:00
eap
44bcdd8f8c Regression of test case bugs/D0
call ComputePentahedralMesh() if the mesh of FACE is quadrangular
  but not structured
2011-02-07 13:52:10 +00:00
eap
ad61c4111d Test case bugs/C2
Fix buildMeshGrille() by taking into account that element ID in smesh
  can't be less that 1 since the recent redesign.
2011-02-07 13:11:11 +00:00
eap
be718d6061 Protect from a distorted block (test 3D_mesh_HEXA3D/B7 on 32bit platform) 2011-02-07 12:23:57 +00:00
eap
68f4ae0cfe 0021153: [CEA] non regression test fails
uninitialized variable
2011-02-04 09:47:29 +00:00
jfa
3bc3b5cb5a Mantis issue 0020834: the mesher of reduced type has been improved. 2011-02-04 09:16:41 +00:00
eap
6beb289c1a 0021122: EDF 1735 SMESH: Bug when saving in .hdf
when creating Mesh on geometry, add to study the not published geometry
2011-02-03 15:07:31 +00:00
eap
692ae6c6e3 0021122: EDF 1735 SMESH: Bug when saving in .hdf
In Mesh_Algorithm.Assign(), add to study the not pubished sub-shape
2011-02-03 12:28:55 +00:00
eap
07112cd8f1 0021153: [CEA] non regression test fails
fix TooCloseAdjacent() w/o shape: correct distinction of domains
2011-02-02 09:47:22 +00:00
eap
d8a28e48bb 0021153: [CEA] non regression test fails
1) at merging pyramids, move the common apex at the middle of 2 apexes
  2) at intersecting pyramids, check all four base-apex directions
2011-02-01 15:25:21 +00:00
eap
d9c073c952 0021153: [CEA] non regression test fails
fix error that pyramids sharing one common node are not checked for intersection
2011-02-01 13:48:56 +00:00
eap
71803bed9f comment unnecessary call
-      SMESH::UpdateNulData(myIObject, true);
+      //SMESH::UpdateNulData(myIObject, true);
2011-02-01 13:46:31 +00:00
eap
6b012bc7d8 fix bug of compactGrid() that the last block of nodes and elements is
not copied if there is no hole after it
2011-02-01 13:42:33 +00:00
eap
f7c8f718f9 fix FPE error at "Clear mesh data" by setting nb of nodes to zero
instead of SMDS_Mesh::chunkSize
2011-02-01 13:40:02 +00:00
eap
b6b8aa7213 fix a misspell in comment 2011-01-31 13:10:15 +00:00
eap
d419c86499 fix indentation 2011-01-31 13:07:39 +00:00
eap
861641c25a 0020973: EDF 1554 GHS3DPLUGIN: Make possible to have a mixed mesh hexa-tetra with GHS3D
enlarge box size of each branch by 1e-10 of root size
2011-01-31 13:07:07 +00:00
vsr
e30e3628ce 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
Allow multiple selection of groups as input
2011-01-31 09:26:19 +00:00
eap
17b5f093a6 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis
Fix invalid discretization of EDGEs: in GetCurve3d(), set Closed flag to WIRE wrapped into BRepAdaptor_CompCurve
2011-01-28 17:04:54 +00:00
eap
910eadfc30 fix file header (comments) 2011-01-28 17:01:19 +00:00
gdd
0cdd86443b Add missing include 2011-01-28 16:21:11 +00:00
eap
facae4f797 0021114: EDF 1736 SMESH: Problem with 3D extrusion
decrease tolerance at checking transformation
2011-01-28 13:33:22 +00:00
eap
8b075049f9 0021130: EDF 1746 SMESH: Issue with export in STL format
Import of STL file via GUI has been enabled
2011-01-28 11:19:54 +00:00
eap
ab928f3773 0021123: EDF 1734 SMESH: Bug with propagation hypothesis 2011-01-28 10:29:23 +00:00
eap
50b08dce3d untabify 2011-01-28 10:29:01 +00:00
ana
4be7efd6bd Fix for the bug 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis 2011-01-28 08:38:53 +00:00
eap
20b841039b 0021130: EDF 1746 SMESH: Issue with export in STL format
export any kind of 2D and 3D elements to STL file becomes possible
2011-01-27 16:58:49 +00:00
eap
d0b5d6090a 0021130: EDF 1746 SMESH: Issue with export in STL format
1) write not triangular faces as many triangles
   2) write triangles for missing faces of free facets of volumes
2011-01-27 16:48:44 +00:00
eap
e3409934a4 0021130: EDF 1746 SMESH: Issue with export in STL format
move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ
2011-01-27 16:45:55 +00:00
eap
40b9d1ba43 0021130: EDF 1746 SMESH: Issue with export in STL format
1) move instantiations of templates from separate files to SMESH_TypeDefs.hxx
   2) move frequently used typedefs and small classes from SMESH_MeshEditor to to SMESH_TypeDefs.hxx
2011-01-27 16:44:48 +00:00
vsr
f44e34f568 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Update an anctor when necessary
2011-01-27 14:05:46 +00:00
eap
d976fc7810 0021144: [CEA 441] Problem with projection
+  bool projectBy2DSimilarity()
2011-01-27 13:41:43 +00:00
eap
237e3eaae1 0021144: [CEA 441] Problem with projection
care of degenerated geom EDGEs
2011-01-27 13:41:06 +00:00
eap
b337ba17f3 not initialized value 2011-01-27 13:40:10 +00:00
eap
cbe632e32e unused variable 2011-01-27 13:37:31 +00:00
vsr
20570dd75e 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Fix "bare faces" control problem
2011-01-27 10:14:07 +00:00
vsr
bdebea37d3 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Add new controls support to the SMESHGUI_Selection
2011-01-27 07:40:19 +00:00
eap
b87176dacc unused variable 2011-01-26 14:09:59 +00:00
eap
6cf8eec182 Clear data structures at Compute() finish 2011-01-26 14:09:38 +00:00
eap
0df1e71b77 For redesigned StdMeshers_Hexa_3D (to work with composed cube edges)
1) Store TopoDS_Face in FaceQuadStruct
2) Make CheckNbEdges() public
2011-01-26 14:08:42 +00:00
eap
9462051381 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Redesign again to work with composed cube edges
2011-01-26 14:06:40 +00:00
eap
812e5de47f 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Fix SplitVolumesIntoTetra() taking into account changed behavior
    of the complex SMESHDS_SubMesh
2011-01-26 13:40:27 +00:00
eap
98119844c8 0021140: EDF 1759 SMESH: Netgen1D2D fails on subshape
Fix work on edges computed with the Composed Segment discretizer
2011-01-25 14:46:58 +00:00
eap
063408f854 untabify 2011-01-25 14:45:34 +00:00
eap
bc4ff5ff6c remove useless dump of vertices of failed shape 2011-01-25 14:45:01 +00:00
vsr
f36c4b1044 0021151: [CEA] unit test fails
Use int instead long to decrease memory consumption
2011-01-25 11:38:54 +00:00
vsr
029dc689fe 0021151: [CEA] unit test fails
Index of sub-shape might be greater than 32767 (max allowed value for short type)
2011-01-25 11:23:48 +00:00
eap
266561983c +static int MYDEBUGWITHFILES = 0;//1; 2011-01-24 16:56:10 +00:00
eap
ae954579c5 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Assure stability
2011-01-24 09:17:26 +00:00
eap
80ac3613f8 valid IDs count from 1 2011-01-24 09:15:52 +00:00
gdd
b94b5d0b91 Fix a French translation 2011-01-21 16:34:19 +00:00
gdd
eaf8c3a3b1 Update of French translation files 2011-01-21 15:56:03 +00:00
rnv
1758d524e7 Additional changes for the Point 2 of the "20948: EDF 1468 SMESH: Histogram of the quality controls" issue. 2011-01-21 14:01:49 +00:00
vsr
ddc98ff4c0 0021136: EDF 1748 SMESH: SetAutoColor has no effect in a python script 2011-01-21 12:20:52 +00:00
rnv
18e0bef9d9 Implementation of the Point 2 of the 20948: EDF 1468 SMESH: Histogram of the quality controls. 2011-01-20 15:41:36 +00:00
gdd
9ae572587c Add new method DoubleNodeElemGroupsNew which allows to have the group of newly created elements. 2011-01-18 14:45:18 +00:00
gdd
44f80071d1 Add missing include 2011-01-18 13:02:45 +00:00
eap
c6a711c175 fix SetPosition() 2011-01-18 12:54:18 +00:00
eap
61149a4aee 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers_i.hxx
2011-01-18 12:21:27 +00:00
eap
5c3abea39e \ No newline at end of file0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work with StdMeshers_ViscousLayers
2011-01-18 12:20:52 +00:00
eap
b0cd839dd0 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0 );
+  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0,
+                                     TopAbs_ShapeEnum aSubShType = TopAbs_EDGE );

+  void                           setFilter();
2011-01-18 12:20:13 +00:00
eap
b01dba1ff2 \ No newline at end of file 2011-01-18 12:19:28 +00:00
eap
b2a261da2b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work after StdMeshers_ViscousLayers
2011-01-18 12:18:56 +00:00
eap
e5bb05c0df 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
2011-01-18 12:17:14 +00:00
eap
bb52dc60e8 monor change 2011-01-18 12:16:37 +00:00
eap
96063cdc0a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Implement Compute() with the viscous layers
2011-01-18 12:16:09 +00:00
eap
e201ae8a2a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers.hxx
2011-01-18 12:15:36 +00:00
eap
44d84c2bb8 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+    def ViscousLayers(self, thickness, numberOfLayers, stretchFactor, ignoreFaces=[]):
2011-01-18 12:15:17 +00:00
eap
daa2cf5397 untabify 2011-01-18 12:14:57 +00:00
eap
f42b1f95af 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  else if ( aHypType == "ViscousLayers")
+    aHelpFileName = "additional_hypo_page.html#viscous_layers_anchor";
2011-01-18 12:14:41 +00:00
eap
715b3d4689 unused variable 2011-01-18 12:14:25 +00:00
eap
db8973dc5c 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject) );
+  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject), bool* isMesh=0 );
2011-01-18 12:14:09 +00:00
eap
02201a772d no more memostat() 2011-01-18 12:11:56 +00:00