Commit Graph

292 Commits

Author SHA1 Message Date
eap
1a1cf7152f 0021823: [CEA 649] Compute failed without any errors
report a warning if no elements are assigned to a sub-shape
2012-08-30 07:42:09 +00:00
eap
36df571332 Remove useless files, declarations and implementations of constructors
of classes are moved to SMESH.Algo.*xx

SMESH_*D_Algo.*xx
2012-08-29 16:43:11 +00:00
eap
0353127167 0021815: EDF 2347 SMESH : Error when meshing vertices
Enable ceation of nodes on a COMPOUND of VERTEXes
2012-08-27 13:25:36 +00:00
eap
0ccce9ef1b improve comments 2012-08-24 13:51:54 +00:00
eap
3b4c1aab2b http://www.salome-platform.org/forum/forum_11/800053490
Fix LoadNodeColumns() for a not implemented case of viscous layers
2012-08-24 13:39:50 +00:00
eap
b7aaf5fe0e comment out obsolete methods relating to treatment of notebook variables 2012-08-24 13:33:22 +00:00
eap
868ce5dcae improve comments 2012-08-24 13:32:35 +00:00
eap
9767e4ad3e 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
set correct type of a new group
2012-08-21 14:26:08 +00:00
eap
ff3bbcc0c9 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D 2012-08-21 14:14:48 +00:00
eap
110067df8c 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
+  SMESH_Group* AddGroup (SMESHDS_GroupBase* groupDS)
2012-08-21 14:13:23 +00:00
eap
6056cf7472 0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates bad elements
+   * \brief Enables fixing node parameters on EDGEs and FACEs by
+   * GetNodeU(...,check=true), GetNodeUV(...,check=true), CheckNodeUV() and
+   * CheckNodeU() in case if a node lies on a shape set via SetSubShape().
+   * Default is False
+   */
+  void ToFixNodeParameters(bool toFix);
2012-08-07 09:16:38 +00:00
eap
0bab05d95d 0021762: EDF 2333 : Bug in composite side algorithm on partition result
fix orientation of EDGEs before calling BRepLProp::Continuity()
2012-07-31 10:51:50 +00:00
eap
1d6e1db451 -#ifdef WITH_SMESH_CANCEL_COMPUTE 2012-07-20 16:11:59 +00:00
eap
a08c336e83 remove commented obsolete code 2012-07-20 16:11:41 +00:00
eap
7c5dc4f006 Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+  volatile bool _computeCanceled; //!< is set to True while computing to stop it
2012-07-20 16:11:12 +00:00
eap
06abe76e03 + * Creates LINEAR!!!!!!!!! octahedron 2012-07-19 13:18:07 +00:00
eap
bcaa0ad2ee 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
SMDS_MeshElement* AddElement(const std::vector<const SMDS_MeshNode*> & nodes,
                                const SMDSAbs_ElementType                 type,
                                const bool                                isPoly,
                                const int                                 ID = -1,
+                               const double                              ballDiameter=0.);

Adjust Transform() and FindElementsByPoint()
2012-07-19 13:17:43 +00:00
eap
baade10114 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  int NbBalls() const throw(SALOME_Exception);
2012-07-19 13:14:54 +00:00
eap
2ee680b116 0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF
Enable IsQuadraticSubMesh() work with compounds
2012-07-02 13:25:53 +00:00
eap
c6bde687aa struct SMESH_ElementSearcher
{
+  virtual const SMDS_MeshElement* FindClosestTo( const gp_Pnt&       point,
+                                                 SMDSAbs_ElementType type) = 0;
 }
+  int Reorient2D (TIDSortedElemSet &       theFaces,
+                  const gp_Dir&            theDirection,
+                  const SMDS_MeshElement * theFace);

+  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );

+  void ElementBndBoxTree::getElementsInSphere ( const gp_XYZ&     center,
+                                                const double      radius,
+                                                TIDSortedElemSet& foundElems)
2012-06-29 13:41:37 +00:00
eap
6051d0caf8 struct SMESH_ElementSearcher
{
+  virtual const SMDS_MeshElement* FindClosestTo( const gp_Pnt&       point,
+                                                 SMDSAbs_ElementType type) = 0;
 }
+  int Reorient2D (TIDSortedElemSet &       theFaces,
+                  const gp_Dir&            theDirection,
+                  const SMDS_MeshElement * theFace);

+  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );
2012-06-29 13:40:11 +00:00
eap
35eb82363a - SMDS_MeshNode* AddNode(double x, double y, double z, int ID = 0);
+  SMDS_MeshNode* AddNode(double x, double y, double z, int ID = 0, double u=0., double v=0.);
2012-06-08 07:06:43 +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
08e8a82bb2 0021530: EDF 2176 SMESH: Projection 1D-2D with compounds
In GetGroupSubMeshesContaining() preview a case where the main
     shape is a group
2012-04-11 08:19:09 +00:00
eap
264238f852 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
loadDependentMeshes() before algo->Compute()
2012-03-22 14:09:13 +00:00
eap
a75b6e066e 0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
In MakeBoundaryMesh(), try to set new elements to a shape
2012-03-16 16:38:19 +00:00
eap
656d6656d4 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
rename private methods to start from lower-case letters

+  void Load();
2012-02-24 10:39:58 +00:00
eap
d5a3c3b28a 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
rename private methods to start from lower-case letters

  enum compute_event {
+     SUBMESH_LOADED

+  void loadDependentMeshes();
2012-02-24 10:38:22 +00:00
eap
d8cd2598fc 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
add a note on usage of mySubMeshes while mesh loading
2012-02-24 10:33:21 +00:00
gdd
4ad6a5b19b Replace Descret by Discrete in variable and method names. 2012-02-17 14:30:02 +00:00
ana
e1a3f42b5c 021374: EDF 1898 SMESH: Extrusion of a node to have an edge 2012-02-16 14:48:49 +00:00
gdd
af3910d143 Initialisation of private variable. 2012-02-15 13:07:11 +00:00
eap
785e19b0ca 0021375: EDF 1671 SMESH: Dump study of current state
avoid crash at deletion of SMESH_subMesh::myOwnListeners at mesh removal

-  std::list< std::pair< SMESH_subMesh*, EventListener* > > myOwnListeners;
+  struct OwnListenerData {
+    ...
+  };
+  std::list< OwnListenerData > myOwnListeners;
2012-02-09 13:11:58 +00:00
eap
14e44c7736 0021375: EDF 1671 SMESH: Dump study of current state
+  bool MeshExists( int meshId ) const;
     used to avoid crash at deletion of SMESH_subMesh::myOwnListeners
     at mesh removal
2012-02-09 13:10:52 +00:00
eap
7a57f9da6e 0021489: EDF 2096: Regression in Prism algorithm between 6.3.1 and 6.4.0
fix LoadNodeColumns()
2012-02-09 12:30:06 +00:00
prascle
fda2d7b99e PR: flat elements on 2D meshes 2012-02-02 17:06:56 +00:00
eap
fe663d61f6 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In destructor, delete all data and delete mesh DS in a thread
2012-01-24 12:59:44 +00:00
eap
fe75082f74 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
in CreateMesh(), fix storing a new mesh in aStudyContext:

-  aStudyContext->mapMesh[_localId] = aMesh;
+  aStudyContext->mapMesh[_localId-1] = aMesh;
2012-01-24 12:58:12 +00:00
eap
b35e752a84 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
+	$(BOOST_LIB_THREAD)  \
2012-01-24 12:57:05 +00:00
eap
6a9e9ab497 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix GetMediumPos() to return EDGE instead of FACE for 2 VERTEXes
2012-01-18 12:42:06 +00:00
eap
fbae18cd7f Add "const char* name" argument to consrtucctor of SMESH_subMeshEventListener 2012-01-18 12:07:14 +00:00
ana
253807f5b3 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 15:11:09 +00:00
eap
98921cf0d1 0021330: EDF 1919 SMESH: Convert to quadratic gives wrong elements
fix convertElemToQuadratic()
2012-01-11 08:43:41 +00:00
eap
bfb3c2e489 0021270: EDF 1870 SMESH: ExtrusionAlongPathObjX + Merge nodes remove 3D elements
in MergeNodes(), fix detection of replaced nodes of an elem
2012-01-11 08:15:48 +00:00
eap
e8b482055b 0021457: [CEA] import check_mesh stability
in Transform(), reverse elements only if needed
2012-01-10 14:36:48 +00:00
jfa
5acab3d327 Porting to OCCT development version: Standard_PI -> M_PI 2011-12-26 13:07:08 +00:00
eap
fd5de6779a 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

fix AddPolygonalFace()
2011-12-16 09:22:06 +00:00
eap
032bca98c2 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
Update
  AddElement()
  QuadToTri()
  SplitVolumesIntoTetra ()
  RotationSweep()
  ExtrusionSweep()
  Transform()
  ConvertToQuadratic()
  Make2DMeshFrom3D()
  MakeBoundaryMesh()
2011-12-16 09:21:35 +00:00
eap
da68d59ab6 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 NbBiQuadQuadrangles() const throw(SALOME_Exception);
+  int NbTriQuadraticHexas() const throw(SALOME_Exception);
+  int NbHexagonalPrisms() const throw(SALOME_Exception);
2011-12-16 09:14:54 +00:00