Commit Graph

90 Commits

Author SHA1 Message Date
eap
0de9672b5e 0022183: EDF SMESH: Error with ConvertToQuadratic
In AddNode(), throw an exception only if a node is already in an other
sub-mesh or its position in myNodes is wrong.
2013-03-29 15:22:09 +00:00
akl
f89c0586c1 Copyrights update 2013 2013-03-29 08:57:56 +00:00
eap
0397dbe729 - int _type; // enum hypothesis_type
+  hypothesis_type _type;  // enum hypothesis_type
2013-02-18 12:59:33 +00:00
eap
f607610b9c explanation of file name origin 2013-02-01 15:10:26 +00:00
eap
0115246c96 Fix for 32-bit platforms
-  int          GetElementIds( int* ids ) const;
+  template< typename IDTYPE >
+    int        GetElementIds( IDTYPE* ids ) const
+  {
+    return getElementIds( (void*)ids, sizeof(IDTYPE));
+  }
2012-12-20 10:19:51 +00:00
eap
1199fcd63c 21948: EDF SMESH : Memory is not freed when deleting a mesh
Optimize for large meshes
2012-12-14 13:19:01 +00:00
eap
06544a5936 21948: EDF SMESH : Memory is not freed when deleting a mesh
void SMESHDS_SubMesh::Clear()
 {
-  myElements.clear();
-  myNodes.clear();
+  clearVector( myElements );
+  clearVector( myNodes );
2012-12-14 13:17:12 +00:00
eap
ee35ac825c 21948: EDF SMESH : Memory is not freed when deleting a mesh
-        int                  NewMesh(bool theIsEmbeddedMode);
+        SMESHDS_Mesh *       NewMesh(bool theIsEmbeddedMode, int MeshID);
2012-12-14 13:16:39 +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
5c5f09b047 some decoration 2012-09-24 11:29:14 +00:00
eap
868ce5dcae improve comments 2012-08-24 13:32:35 +00:00
eap
e519caf020 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+        void AddBall(int NewBallID, int node, double diameter);
2012-07-19 13:19:53 +00:00
eap
71fffb2772 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  virtual SMDS_BallElement* AddBallWithID(int n,                   double diameter, int ID);
+  virtual SMDS_BallElement* AddBallWithID(const SMDS_MeshNode * n, double diameter, int ID);
+  virtual SMDS_BallElement* AddBall      (const SMDS_MeshNode * n, double diameter);
2012-07-19 13:19:31 +00:00
eap
9f32eead4d 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  SMESHDS_AddBall
2012-07-19 13:19:03 +00:00
vsr
d4a710ce52 Merge from V6_5_BR 05/06/2012 2012-06-05 12:18:07 +00:00
eap
1e2742728c Prevent recording nodes as elements 2012-03-14 12:32:53 +00:00
eap
abb0ef62f4 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+  bool IsUpToDate() const;
2012-02-24 10:30:58 +00:00
eap
2d179048e3 0021338: EDF 1926 SMESH: New controls and filters
Call myPredicate->SetMesh( GetMesh() ) in order to let him update
   his data according to a changed mesh
2012-01-26 15:32:57 +00:00
eap
6a0dd162a9 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In RemoveMesh(), do not erase an iterator pointing to map.end()
2012-01-24 13:00:47 +00:00
ana
253807f5b3 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 15:11:09 +00:00
eap
2380f80cd3 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
2011-12-16 09:14:18 +00:00
eap
72f74a3ee1 + bool IsUsedHypothesis(const SMESHDS_Hypothesis * H) const; 2011-10-28 12:49:19 +00:00
eap
89e2fe991e 0021275: EDF 1681 SMESH: Find the number of nodes of any group
fix GetTic()
2011-10-04 08:53:35 +00:00
eap
af3090f59b 0021275: EDF 1681 SMESH: Find the number of nodes of any group
+  virtual int GetTic() const;
2011-10-04 07:17:28 +00:00
gdd
bff1e1c08e Remove message 2011-09-02 11:57:46 +00:00
eap
109378a75d 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
more comments
2011-08-10 10:05:12 +00:00
eap
55fc6f9383 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  // Groups. SMESHDS_Mesh is not an owner of groups
2011-08-10 10:04:47 +00:00
eap
2ddb295e4a 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
-  virtual int Extent();
+  virtual int Extent() const;
2011-08-10 10:04:00 +00:00
eap
4f20185178 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Move SMESH_Controls.hxx from src/Controls to avoid mutual
    dependency between SMESHDS and Controls
2011-08-10 09:58:51 +00:00
eap
ec36250a0d 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+	SMESHDS_GroupOnFilter.cxx
2011-06-23 12:06:37 +00:00
eap
ac5729075f 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+	SMESHDS_GroupOnFilter.cxx

+	-I$(srcdir)/../Controls
2011-06-23 12:06:12 +00:00
eap
77d9e5ae72 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
-  int GetID (const int theIndex);
+  virtual int GetID (const int theIndex);
2011-06-23 12:05:43 +00:00
vsr
2c607013a2 Merge from V6_3_BR 06/06/2011 2011-06-06 08:15:39 +00:00
prascle
ecea4040f1 PR: create flat elements on face groups (ASTER calculations) 2011-03-30 15:48:07 +00:00
prascle
bdfc51bda9 PR: double nodes and flat elements for ASTER calculations in progress 2011-03-12 15:07:47 +00:00
eap
08e8bc3016 - cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode << endl;
+  //cerr << "=========================== myIsEmbeddedMode " << myIsEmbeddedMode << endl;
2011-03-11 15:32:42 +00:00
prascle
293e2534c0 PR: doubleNodesOnGroupBoundaries in progress 2011-03-09 08:42:21 +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
eap
8b21a624a6 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make some methods virtual to enable inheriting by StdMeshers_ProxyMesh::SubMesh

+virtual ~SMESHDS_SubMesh()
+void RemoveAllSubmeshes()
2011-01-18 10:57:32 +00:00
eap
f409dd5186 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 10:55:54 +00:00
secher
1f7581fe43 use vtkIdType to be independant of architecture 2010-12-15 10:13:32 +00:00
prascle
2b665e09bb PR: debug imps E3 and E7 2010-12-06 16:59:16 +00:00
prascle
7013eafe2d PR: debug split into tetras 2010-12-05 22:57:20 +00:00
prascle
43a4d0b5c1 PR: debug polygons and merge nodes 2010-12-05 19:22:06 +00:00
prascle
2e16ca1281 PR: correct some warnings 2010-11-30 22:35:24 +00:00
prascle
8fa039a796 merge from branch BR_SMDS_MEMIMP 29 nov 2010 2010-11-29 13:20:53 +00:00
vsr
d8f644ca3d Merge from V5_1_main branch 24/11/2010 2010-11-25 12:44:43 +00:00
vsr
9357f5c870 Merge from V5_1_main 14/05/2010 2010-05-14 15:32:37 +00:00
eap
3d1a536674 protect IndexToShape() from Standard_OutOfRange exception 2010-02-15 07:11:44 +00:00