Commit Graph

1494 Commits

Author SHA1 Message Date
eap
e07947533e 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SetSourceMesh(): set mesh before calling NotifySubMeshesHypothesisModification()
2009-05-19 15:35:17 +00:00
eap
eb2c096f8e 0020279: [CEA 334] control the "random" use when using mesh algorithms
Compare TNode's by node ID
2009-05-19 15:34:07 +00:00
eap
966f6ecf06 0020279: [CEA 334] control the "random" use when using mesh algorithms
In SetEventListener(), avoid meshing of internal vertices of
   complex edge
2009-05-19 15:33:12 +00:00
eap
ec51778b0c 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SourceShape3D() for the case when no vertices are provided
2009-05-19 15:32:08 +00:00
eap
f33734eda1 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix GetHypothesisList() for mesh w/o shape
2009-05-19 15:31:06 +00:00
eap
ea772b0267 0020279: [CEA 334] control the "random" use when using mesh algorithms
Use TIDCompare from SMDS_MeshElement.hxx
2009-05-19 15:28:40 +00:00
eap
60009bb9da 0020279: [CEA 334] control the "random" use when using mesh algorithms
For stability of StdMeshers_CompositeSegment_1D:
+  bool IsAlwaysComputed() { return _alwaysComputed; }
2009-05-19 15:27:52 +00:00
eap
aa8faf765a #include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx 2009-05-19 15:26:34 +00:00
eap
413a2425d7 eliminate compilation warning 2009-05-19 15:23:46 +00:00
eap
c50dcca3fe +#include "SMESH_MeshEditor.hxx" // needed for many meshers 2009-05-19 15:20:28 +00:00
eap
b6c9c862b4 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix IsQuadraticSubMesh() to work on mesh w/o shape
2009-05-19 15:19:52 +00:00
eap
b632539159 move struct TIDCompare to SMDS_MeshElement.hxx 2009-05-19 15:17:19 +00:00
eap
eb1ffbdba2 static const SMDS_MeshNode* VertexNode(const TopoDS_Vertex& V,
-                                         SMESHDS_Mesh*        meshDS);
+                                         const SMESHDS_Mesh* meshDS);
2009-05-19 15:16:37 +00:00
eap
24f41d7b2b in GetNodeParamOnEdge(), take into account that nodes on vertices not
always present, e.g. when Composite side discretisation is used
2009-05-19 15:16:23 +00:00
eap
91d01b7efe + const SMDS_MeshNode* GetNodeWrap(const int ind) const { return GetNode( WrappedIndex( ind )); }
+// ============================================================
+/*!
+ * \brief Comparator of elements by ID for usage in std containers
+ */
+// ============================================================
+
+struct TIDCompare {
+  bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
+  { return e1->GetID() < e2->GetID(); }
+};
2009-05-19 15:13:59 +00:00
eap
b6986ac1b1 GetNode(int index) no longer wraps index, rather GetNodeWrap(int index) does 2009-05-19 15:12:54 +00:00
maintenance team
88eccafce6 Update according to change of boolean operation. 2009-05-19 10:18:06 +00:00
vsr
64375a4bd8 Issue 0019819: EDF 643 VISU : Scalar bar ergonomics
Set default positition of scalar bar to "Horizontal"
2009-05-08 04:38:58 +00:00
eap
52aa1d3b40 0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
Nullify mesh after TNodeSearcherDeleter::Unset()
2009-05-06 13:23:57 +00:00
eap
fd97cbec7c 0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
notify node searcher on mesh destruction
2009-05-06 13:17:33 +00:00
ouv
83e685ca5c Improvement of "setenv.py" script - setting of custom enviroment by those modules, which have it, is performed by their own "<module_name>_setenv.py" scripts situated in their "bin" folders. 2009-05-06 13:12:13 +00:00
dmv
879dbf686e 0020321: EDF : Some windows do not appear depending on the platform (MinimumSizeHint()) 2009-05-06 11:36:36 +00:00
eap
14dd470a5d 0020338: EDF 1019 SMESH : 3D extrusion issue
fix FindMatchingNodesOnFaces() for the case of no nodes on edge (since nb segments == 1 )
2009-05-06 11:31:45 +00:00
eap
1f4f2f7503 IPAL21120 SIGSEGV on Meshing attached Compound with Automatic Hexadralization
Report on bad geometry if GetFaceIndex() returns -1
2009-05-04 15:17:26 +00:00
dmv
8fccf870d3 IPAL20992 Controls Free nodes works wrong 2009-04-28 12:53:25 +00:00
ptv
ddbb0db133 0020313
EDF 1002 SMESH: Mesh groups are not published in the good study
2009-04-24 07:57:47 +00:00
ptv
0b8a0a7ce8 0020319: EDF SMESH 1007: creation of a sub-mesh on face tries to assign Netgen3D algorithm 2009-04-22 12:47:06 +00:00
ptv
103c6cfb67 fix bug with "Compute" operation invoked from Preview dialog (The problem that dialog with mesh result info appear and disappear very quickly) 2009-04-21 11:27:21 +00:00
eap
728f9a0bad TCollection_AsciiString anEntry;
...
-        anEntry = aSObj->GetID();
+        CORBA::String_var anEntry = aSObj->GetID();
2009-04-21 10:45:40 +00:00
dmv
fb9eed7fa3 0020323: EDF SMESH 1006: Group on geometry: automatic switch to geometry selection field 2009-04-17 12:30:43 +00:00
rnv
0f1fe5b1e3 Implementation of the issue 0020151 (SALOME: Light Python module):
Call LightApp_Module::LightApp_Module() constructor, because virtual inheritance between LightApp_Module and SalomeApp_Module classes was added.
2009-04-17 11:03:03 +00:00
dmv
4efe224f00 0020317: EDF SMESH 1004: "Edit group" changes the name of the group 2009-04-17 07:44:03 +00:00
dmv
25f640b0b6 IPAL21062 Fatal error on Add "Names of filters" - regression 2009-04-17 07:15:33 +00:00
dmv
c41972303e IPAL21058 Preview and Compute mesh help file not found 2009-04-16 13:31:33 +00:00
dmv
4fcbba44ec IPAL21052 Hypothesis Construction Help doesn't show help information 2009-04-16 07:12:26 +00:00
vsr
6fbfd6322a Update copyright notes 2009-04-15 13:15:32 +00:00
vsr
66b8a7daf6 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
Additional patch: do not publish SMESH component automatically on the module activation
2009-04-14 12:12:27 +00:00
jfa
25d7535ec6 small optimization 2009-04-14 08:49:57 +00:00
dmv
72c8afe581 IPAL21003 Impossible create group from existing group shown only 2009-04-13 07:08:56 +00:00
eap
cd3124ccaa 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
update groups
2009-04-03 14:32:33 +00:00
eap
42b21b7e94 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
use gen->SetPixMap()
2009-04-03 14:31:37 +00:00
eap
908ed4f2a2 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
+  static void SetPixMap(SALOMEDS::SObject_ptr theSObject,
+                        const char*           thePixMap);
2009-04-03 14:30:42 +00:00
eap
dd496074b4 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
call mesh->CheckGeomGroupModif() when current study changes
2009-04-03 14:28:20 +00:00
eap
3c24068111 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
Make SMESH_Gen update meshes at switching GEOM->SMESH
2009-04-03 14:26:25 +00:00
eap
5c372d327f 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
+  void SetShape( const TopoDS_Shape& theShape);
2009-04-03 14:20:45 +00:00
eap
9266dd32f0 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group
void SMESH_Mesh::ShapeToMesh(const TopoDS_Shape & aShape)
{
 ...
+  else
+  {
+    _isShapeToMesh = false;
+    _shapeDiagonal = 0.0;
+    _myMeshDS->ShapeToMesh( PseudoShape() );
+  }
2009-04-03 14:11:19 +00:00
jfa
c113b9f92e Bug 0020185: EDF SMESH 967 : Anomaly in Merge Nodes. 2009-04-03 08:54:51 +00:00
vsr
7bc441ba31 Fix problem (internal 21002) - "MED file information" command is not shown in popup menu 2009-04-02 09:32:03 +00:00
dmv
c3c7609f27 IPAL20929 regression: Smoothing disabled for whole mesh, submesh or group 2009-04-02 08:41:29 +00:00
eap
95f31e3a95 fix the previous modification
-      std::swap( iAfterSame, iAfterSame );
+      std::swap( iBeforeSame, iAfterSame );
2009-03-24 08:29:44 +00:00