Commit Graph

155 Commits

Author SHA1 Message Date
eap
ea7f54796a 021860: EDF 2196 SMESH : Create all the groups in an extrusion operation
-        void Add(const SMDS_MeshElement * theElem);
+        bool Add(const SMDS_MeshElement * theElem);
2013-01-11 11:58:50 +00:00
eap
b22f68bd44 21948: EDF SMESH : Memory is not freed when deleting a mesh
pass vector arg by reference, not by value
2012-12-14 13:15:17 +00:00
eap
56b857de47 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks: adjuct vtkCellLinks::MaxId

+  void ResizeForPoint(vtkIdType vtkID);
2012-12-14 13:13:00 +00:00
eap
a29e12d8f9 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks

class SMDS_EXPORT SMDS_CellLinks: public vtkCellLinks
{
public:
+  void ResizeForPoint(vtkIdType vtkID);
2012-12-14 13:09:07 +00:00
eap
6bb8dd97b8 21948: EDF SMESH : Memory is not freed when deleting a mesh
fix leaks of cellLinks

void SMDS_MeshNode::init()
{
-  if (myVtkID >= cellLinks->GetLinksSize())
-          cellLinks->ResizeL(myVtkID+SMDS_Mesh::chunkSize);
+  cellLinks->ResizeForPoint( myVtkID );
2012-12-14 13:08:08 +00:00
eap
585362053b 21948: EDF SMESH : Memory is not freed when deleting a mesh
Make clear free as much as possible memory
2012-12-14 13:04:42 +00:00
eap
fa38ad0b49 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  void clear()
2012-12-14 13:02:44 +00:00
vsr
13ff1c4641 Merge from V6_6_BR (V6_6_0rc2) 11/12/2012 2012-12-11 13:23:39 +00:00
eap
53d6a3426f typo:
-  void   GetXYZ(double xyx
+  void   GetXYZ(double xyz
2012-09-24 11:16:31 +00:00
eap
3a58968846 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
double MaxLinearSize2() const;
  // Return maximal square distance between connected corner nodes
2012-09-17 10:16:21 +00:00
rnv
97220d5bca Win32 compilation. 2012-09-05 14:31:04 +00:00
prascle
1f2c6e16a4 PR: tools for crack meshing 2012-09-04 13:58:46 +00:00
eap
ae45216251 0021759: EDF 1785 SMESH: A group of nodes created by filters is incomplete
bug: elementsIterator(SMDSAbs_Node) returns nothing
2012-07-27 13:11:14 +00:00
eap
b3abeea3ba 0021758: [CEA] Internal test fails with Netgen3D
do not use SMDS_SetIterator for iteration on myCell because
SMDS_SetIterator doesn't allow modification of a container being
iterated
2012-07-27 07:29:41 +00:00
eap
9f74998b92 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  void AllocateDiameters( vtkIdType maxVtkID );
+  void SetBallDiameter( vtkIdType vtkID, double diameter );
+  double GetBallDiameter( vtkIdType vtkID ) const;
2012-07-19 13:14:28 +00:00
eap
f738cc36e8 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
template<typename VALUE,
          typename VALUE_SET_ITERATOR,
          typename ACCESOR=SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>,
+         typename VALUE_FILTER=SMDS::PassAllValueFilter<VALUE> >
 class SMDS_SetIterator : public SMDS_Iterator<VALUE>
2012-07-19 13:14:09 +00:00
eap
ff0bf10f4a 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  int NbBalls()      const { return myNbBalls; }
2012-07-19 13:13:13 +00:00
eap
c353b35085 + some comments 2012-07-19 13:12:54 +00:00
eap
391cd4d010 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+SMDSAbs_ElementType toSmdsType(SMDSAbs_EntityType entityType)
+SMDSAbs_ElementType toSmdsType(SMDSAbs_GeometryType geomType)
2012-07-19 13:12:33 +00:00
eap
09b72334df 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  virtual SMDS_ElemIteratorPtr elementGeomIterator(SMDSAbs_GeometryType type) const;
+  virtual SMDS_ElemIteratorPtr elementEntityIterator(SMDSAbs_EntityType type) const;

+  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);

+  const SMDS_BallElement* FindBall(int idnode) const;
+  static const SMDS_BallElement* FindBall(const SMDS_MeshNode * n);
+  virtual int NbBalls() const;

+  ObjectPool<SMDS_BallElement>* myBallPool;
2012-07-19 13:08:37 +00:00
eap
064c555726 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+        virtual SMDSAbs_GeometryType GetGeomType() const;
2012-07-19 13:06:39 +00:00
eap
2cafa22d7b 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+    SMDSAbs_Ball,
+    SMDSGeom_BALL,
+  SMDSEntity_Ball,
2012-07-19 12:55:55 +00:00
eap
1d17befa34 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+	SMDS_BallElement.hxx
2012-07-19 12:55:29 +00:00
gdd
86c4cc3003 Fix for compilation with gcc 4.7 2012-06-07 11:26:44 +00:00
vsr
d4a710ce52 Merge from V6_5_BR 05/06/2012 2012-06-05 12:18:07 +00:00
eap
5c5ce5f038 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+  void   GetXYZ(double xyx[3]) const; // thread safe getting coords
2012-03-21 09:00:38 +00:00
rnv
1ce1163823 Win32 compilation. 2012-02-29 12:02:54 +00:00
rnv
a973225eef Fix compilation on win32 platform. 2012-02-28 14:00:22 +00:00
eap
709188eac6 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
protected:
+  inline void setNb(const SMDSAbs_EntityType geomType, const int nb);
2012-02-24 10:29:41 +00:00
prascle
fda2d7b99e PR: flat elements on 2D meshes 2012-02-02 17:06:56 +00:00
ana
2bcd50a8b6 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 14:51:43 +00:00
eap
7155478a3e 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
+ optimization
2011-12-16 09:13:11 +00:00
eap
6770f103af 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+ optimization and simplification
2011-12-16 09:11:16 +00:00
eap
5f87831fb4 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

   SMDS_VolumeTool (const SMDS_MeshElement* theVolume,
+                   const bool              ignoreCentralNodes=true);

+  int GetCenterNodeIndex( int faceIndex ) const;
+  // Return index of the node located at face center of a quadratic element like HEX27
2011-12-16 09:09:24 +00:00
eap
88d5f149b9 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:07:56 +00:00
eap
41ed515a46 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

-  int GetVtkCellType(int SMDSType);

-  std::vector<int> myVtkCellTypes;
2011-12-16 09:06:23 +00:00
eap
3244dc5cc3 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+  static VTKCellType        toVtkType (SMDSAbs_EntityType vtkType);
+  static SMDSAbs_EntityType toSmdsType(VTKCellType vtkType);
+
+  static const std::vector<int>& toVtkOrder(VTKCellType vtkType);
+  static const std::vector<int>& toVtkOrder(SMDSAbs_EntityType smdsType);
+  static const std::vector<int>& fromVtkOrder(VTKCellType vtkType);
+  static const std::vector<int>& fromVtkOrder(SMDSAbs_EntityType smdsType);
+
+  static const std::vector<int>& reverseSmdsOrder(SMDSAbs_EntityType smdsType);
+  static const std::vector<int>& interlacedSmdsOrder(SMDSAbs_EntityType smdsType);
+
+  template< class VECT >
+    static void applyInterlace( const std::vector<int>& interlace, VECT & data)
2011-12-16 09:05:48 +00:00
eap
6b3bfde679 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

 and fix MYElem_Map_Iterator not to return invalid elements when
 next() is called w/o calling more()
2011-12-16 09:05:14 +00:00
eap
e059eb1584 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+    SMDSGeom_HEXAGONAL_PRISM,

+  SMDSEntity_BiQuad_Quadrangle,
+  SMDSEntity_TriQuad_Hexa,
+  SMDSEntity_Hexagonal_Prism,
2011-12-16 09:02:39 +00:00
vsr
493747e8ea Merge from V6_4_BR 05/12/2011 2011-12-05 11:03:04 +00:00
eap
1d668d5560 0021371: EDF SMESH: The propagation of elements courbure is sometimes wrong in quadratic conversion with nodes on geometry
+  double MinLinearSize2() const;
+  // Return minimal square distance between connected corner nodes
2011-10-06 15:59:05 +00:00
gdd
9116958a2b Update Hexotic doc and remove some MESSAGE 2011-09-06 14:40:22 +00:00
gdd
55f8593d0d Comment MESSAGE 2011-09-02 14:04:37 +00:00
eap
48da63cb03 bug of NbElements() which misses nb of SEG2 elements 2011-08-24 17:03:36 +00:00
eap
db1a1fcbb7 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Fix setFace(): correctly take into account IsFaceExternal() for the polyhedron
2011-08-10 09:56:47 +00:00
eap
406dc55fef 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  inline SMDS_MeshInfo& operator=(const SMDS_MeshInfo& other);
2011-08-10 09:54:13 +00:00
eap
c9acf11dee use the hint when inserting into the std::set 2011-08-10 09:52:47 +00:00
eap
40c13601ee typo 2011-08-10 09:51:58 +00:00
vsr
39f36db219 Merge from V6_3_BR 19/07/2011 2011-07-19 12:05:24 +00:00
vsr
91c92cb543 Merge from V6_3_BR 15/07/2011 2011-07-15 11:19:53 +00:00