Salome HOME
modules/smesh.git
11 years ago0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
vsr [Tue, 21 Aug 2012 13:49:35 +0000 (13:49 +0000)]
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)

11 years ago0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
vsr [Tue, 21 Aug 2012 13:15:16 +0000 (13:15 +0000)]
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)

11 years agoFix incorrect doc example
gdd [Mon, 20 Aug 2012 15:02:39 +0000 (15:02 +0000)]
Fix incorrect doc example

11 years agoSALOME Forum: Mesh export to UNV file does not work anymore with Salome 6.5
eap [Mon, 13 Aug 2012 14:19:35 +0000 (14:19 +0000)]
SALOME Forum: Mesh export to UNV file does not work anymore with Salome 6.5
http://www.salome-platform.org/forum/forum_14/379396441

  Fix format at writting

11 years ago0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new...
eap [Mon, 13 Aug 2012 09:05:13 +0000 (09:05 +0000)]
0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new elements into groups

  fix a regression in buildElemPrs()

11 years ago0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new...
eap [Mon, 13 Aug 2012 09:03:54 +0000 (09:03 +0000)]
0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new elements into groups

11 years agoFix crash during preview
gdd [Fri, 10 Aug 2012 14:01:12 +0000 (14:01 +0000)]
Fix crash during preview

11 years ago0021783: EDF 785 SMESH : Bad display of Groups of Volumes
eap [Wed, 8 Aug 2012 14:59:54 +0000 (14:59 +0000)]
0021783: EDF 785 SMESH : Bad display of Groups of Volumes

 fix iteration on types of elements

11 years agocreate myBall in brief mode
eap [Wed, 8 Aug 2012 13:02:22 +0000 (13:02 +0000)]
create myBall in brief mode

11 years ago0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates...
eap [Tue, 7 Aug 2012 09:18:15 +0000 (09:18 +0000)]
0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates bad elements

   Enables fixing node parameters by helper

+        helper.ToFixNodeParameters( true );

11 years ago0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates...
eap [Tue, 7 Aug 2012 09:16:38 +0000 (09:16 +0000)]
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);

11 years agoFix small mistake (',' instead of '+')
gdd [Wed, 1 Aug 2012 09:36:50 +0000 (09:36 +0000)]
Fix small mistake (',' instead of '+')

11 years ago0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
eap [Tue, 31 Jul 2012 15:56:39 +0000 (15:56 +0000)]
0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
  Complete the fix

11 years agoUpdate translation files
gdd [Tue, 31 Jul 2012 15:40:13 +0000 (15:40 +0000)]
Update translation files

11 years ago0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
eap [Tue, 31 Jul 2012 15:01:08 +0000 (15:01 +0000)]
0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
  Add recently added types of elements

11 years ago0021762: EDF 2333 : Bug in composite side algorithm on partition result
eap [Tue, 31 Jul 2012 10:51:50 +0000 (10:51 +0000)]
0021762: EDF 2333 : Bug in composite side algorithm on partition result

fix orientation of EDGEs before calling BRepLProp::Continuity()

11 years agomake SplitVolumesIntoTetra() dump as a method of Mesh
eap [Mon, 30 Jul 2012 07:34:54 +0000 (07:34 +0000)]
make SplitVolumesIntoTetra() dump as a method of Mesh

11 years ago0021759: EDF 1785 SMESH: A group of nodes created by filters is incomplete
eap [Fri, 27 Jul 2012 13:11:14 +0000 (13:11 +0000)]
0021759: EDF 1785 SMESH: A group of nodes created by filters is incomplete

bug: elementsIterator(SMDSAbs_Node) returns nothing

11 years agofix vagrind error at incrementing an iterator pointing to a deleted
eap [Fri, 27 Jul 2012 08:26:18 +0000 (08:26 +0000)]
fix vagrind error at incrementing an iterator pointing to a deleted
map node

11 years ago0021758: [CEA] Internal test fails with Netgen3D
eap [Fri, 27 Jul 2012 07:29:41 +0000 (07:29 +0000)]
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

11 years agomore info on GetPointState()
eap [Mon, 23 Jul 2012 08:14:11 +0000 (08:14 +0000)]
more info on GetPointState()

11 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:13:19 +0000 (16:13 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+    if ( _computeCanceled ) return false;

11 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:12:39 +0000 (16:12 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+  COMPERR_CANCELED       = -11  //!< compute canceled

11 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:12:27 +0000 (16:12 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+        <source>COMPERR_CANCELED</source>
+        <translation>Computation canceled</translation>

11 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:12:16 +0000 (16:12 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+      CASE2TEXT( COMPERR_CANCELED      );

11 years ago-#ifdef WITH_SMESH_CANCEL_COMPUTE
eap [Fri, 20 Jul 2012 16:11:59 +0000 (16:11 +0000)]
-#ifdef WITH_SMESH_CANCEL_COMPUTE

11 years agoremove commented obsolete code
eap [Fri, 20 Jul 2012 16:11:41 +0000 (16:11 +0000)]
remove commented obsolete code

11 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:11:12 +0000 (16:11 +0000)]
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

11 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:10:45 +0000 (16:10 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+    COMPERR_CANCELED         // compute canceled

11 years ago0021723: EDF SMESH: Calculation of Aspect Ratio
eap [Fri, 20 Jul 2012 11:45:37 +0000 (11:45 +0000)]
0021723: EDF SMESH: Calculation of Aspect Ratio

Verdict Geometric Quality Library is not used for triangles

11 years agoFix compilation on Debian
inv [Fri, 20 Jul 2012 10:14:08 +0000 (10:14 +0000)]
Fix compilation on Debian

-  typedef SMDS_SetIterator< const _QuadFaceGrid&, TChildren::const_iterator > TChildIterator;
+  typedef SMDS_SetIterator< const _QuadFaceGrid&,
+                            TChildren::const_iterator,
+                            SMDS::SimpleAccessor<const _QuadFaceGrid&,TChildren::const_iterator>,
+                            SMDS::PassAllValueFilter<_QuadFaceGrid> >
+    TChildIterator;

11 years ago0021723: EDF SMESH: Calculation of Aspect Ratio
eap [Fri, 20 Jul 2012 09:17:17 +0000 (09:17 +0000)]
0021723: EDF SMESH: Calculation of Aspect Ratio

Formula from The Verdict Geometric Quality Library available within
VTK is used

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:26:17 +0000 (13:26 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

11 years ago+#include <TopoDS_Vertex.hxx>
eap [Thu, 19 Jul 2012 13:26:01 +0000 (13:26 +0000)]
+#include <TopoDS_Vertex.hxx>

11 years ago+#include <TopoDS_Face.hxx>
eap [Thu, 19 Jul 2012 13:25:51 +0000 (13:25 +0000)]
+#include <TopoDS_Face.hxx>

11 years agofix creation of polyhedrons
eap [Thu, 19 Jul 2012 13:25:39 +0000 (13:25 +0000)]
fix creation of polyhedrons

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:23:51 +0000 (13:23 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+  CORBA::Long AddBall(CORBA::Long IDOfNodem, CORBA::Double diameter)

-  SMESH::long_array_var myLastCreatedElems;
-  SMESH::long_array_var myLastCreatedNodes;
+  ::SMESH_MeshEditor myEditor;

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:20:15 +0000 (13:20 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+  GROUP_BALL,

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:19:53 +0000 (13:19 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+        void AddBall(int NewBallID, int node, double diameter);

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:19:31 +0000 (13:19 +0000)]
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);

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:19:03 +0000 (13:19 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+  SMESHDS_AddBall

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:18:27 +0000 (13:18 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+  inline void AddBallsWithID(SMDS_Mesh*            theMesh,

11 years ago+ * Creates LINEAR!!!!!!!!! octahedron
eap [Thu, 19 Jul 2012 13:18:07 +0000 (13:18 +0000)]
+   * Creates LINEAR!!!!!!!!! octahedron

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:17:43 +0000 (13:17 +0000)]
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()

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:14:54 +0000 (13:14 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+  int NbBalls() const throw(SALOME_Exception);

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:14:28 +0000 (13:14 +0000)]
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;

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:14:09 +0000 (13:14 +0000)]
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>

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:13:13 +0000 (13:13 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+  int NbBalls()      const { return myNbBalls; }

11 years ago+ some comments
eap [Thu, 19 Jul 2012 13:12:54 +0000 (13:12 +0000)]
+ some comments

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:12:33 +0000 (13:12 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+SMDSAbs_ElementType toSmdsType(SMDSAbs_EntityType entityType)
+SMDSAbs_ElementType toSmdsType(SMDSAbs_GeometryType geomType)

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:08:37 +0000 (13:08 +0000)]
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;

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 13:06:39 +0000 (13:06 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+        virtual SMDSAbs_GeometryType GetGeomType() const;

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 12:55:55 +0000 (12:55 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+    SMDSAbs_Ball,
+    SMDSGeom_BALL,
+  SMDSEntity_Ball,

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 12:55:29 +0000 (12:55 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+ SMDS_BallElement.hxx

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 12:50:10 +0000 (12:50 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

11 years agoshorten code
eap [Thu, 19 Jul 2012 12:49:09 +0000 (12:49 +0000)]
shorten code

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 12:47:14 +0000 (12:47 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+    class SMESHCONTROLS_EXPORT BallDiameter: public virtual NumericalFunctor{

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 12:46:41 +0000 (12:46 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+    <parameter name="ball_elem_color"              value="100, 255,   0"/>

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 12:46:30 +0000 (12:46 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+ mesh_ball.png

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 12:45:29 +0000 (12:45 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+  const long Tag_BallElementsGroups     = 16;

11 years ago0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
eap [Thu, 19 Jul 2012 12:45:15 +0000 (12:45 +0000)]
0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes

+    FT_BallDiameter,

11 years agoAbout "Use Existing Faces" stub algorithm
eap [Thu, 19 Jul 2012 12:44:41 +0000 (12:44 +0000)]
About "Use Existing Faces" stub algorithm

11 years agomistake
eap [Thu, 19 Jul 2012 12:43:37 +0000 (12:43 +0000)]
mistake

11 years agofix GetSubMeshNodesId()
eap [Wed, 18 Jul 2012 12:41:15 +0000 (12:41 +0000)]
fix GetSubMeshNodesId()

11 years ago0021723: EDF SMESH: Calculation of Aspect Ratio
eap [Fri, 13 Jul 2012 07:24:06 +0000 (07:24 +0000)]
0021723: EDF SMESH: Calculation of Aspect Ratio

  Use vtkMeshQuality::QuadAspectRatio()

11 years ago021720: EDF SMESH: Body Fitting hypothesis dialog - Switching between the definition...
eap [Wed, 11 Jul 2012 16:10:38 +0000 (16:10 +0000)]
021720: EDF SMESH: Body Fitting hypothesis dialog - Switching between the definition mode resets the previous values

11 years agoImprove comments
eap [Wed, 11 Jul 2012 08:20:12 +0000 (08:20 +0000)]
Improve comments

11 years ago+ some precisions, references
eap [Wed, 11 Jul 2012 08:16:25 +0000 (08:16 +0000)]
+ some precisions, references

11 years agoSome wodrs about "Change submesh priority"
eap [Wed, 11 Jul 2012 07:27:46 +0000 (07:27 +0000)]
Some wodrs about "Change submesh priority"

11 years agoSome precisions, complete list of mesh file formats
eap [Wed, 11 Jul 2012 07:14:36 +0000 (07:14 +0000)]
Some precisions, complete list of mesh file formats

11 years agoCenter image in doc
gdd [Tue, 10 Jul 2012 16:09:01 +0000 (16:09 +0000)]
Center image in doc

11 years agohttp://www.salome-platform.org/forum/forum_10/508123838#632325403 : Extrude3D doesn...
eap [Mon, 9 Jul 2012 08:35:37 +0000 (08:35 +0000)]
salome-platform.org/forum/forum_10/508123838#632325403 : Extrude3D doesn't work

  Restore error reporting in the case where existing 1D mesh
  mismatches the projected 2D mesh

11 years ago0021676: EDF 2283 NETGENPLUGIN: Improve Netgen 1D-2D-3D to generate pyramids in case...
eap [Thu, 5 Jul 2012 09:40:33 +0000 (09:40 +0000)]
0021676: EDF 2283 NETGENPLUGIN: Improve Netgen 1D-2D-3D to generate pyramids in case where input 2D mesh includes quadrangles

+  const TopoDS_Shape& GetShape() const { return myShape; }

11 years ago0021692: EDF 2314 : Hexaedron failure
eap [Wed, 4 Jul 2012 14:55:48 +0000 (14:55 +0000)]
0021692: EDF 2314 : Hexaedron failure

Fix for the case where topologically neighboring faces composing a box
side are not neighboring within the list of sub-shapes of a box

11 years agoUpdate translation files for the Reverse Faces dialog.
gdd [Wed, 4 Jul 2012 12:20:52 +0000 (12:20 +0000)]
Update translation files for the Reverse Faces dialog.

11 years ago0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF
eap [Mon, 2 Jul 2012 13:26:36 +0000 (13:26 +0000)]
0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF

 struct SMESH_TNodeXYZ : public gp_XYZ
 {
+  double               _xyz[3];

11 years ago0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF
eap [Mon, 2 Jul 2012 13:25:53 +0000 (13:25 +0000)]
0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF

Enable IsQuadraticSubMesh() work with compounds

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Mon, 2 Jul 2012 08:08:57 +0000 (08:08 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

+ reorient_faces_point.png \
+ reorient_faces_face.png

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Fri, 29 Jun 2012 13:58:07 +0000 (13:58 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Fri, 29 Jun 2012 13:56:49 +0000 (13:56 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

+ reorient_faces_point.png \
+ reorient_faces_face.png

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Fri, 29 Jun 2012 13:56:13 +0000 (13:56 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

+    def Reorient2D(self, the2DObject, theDirection, theFaceOrPoint ):

11 years agoremove commented code
eap [Fri, 29 Jun 2012 13:55:31 +0000 (13:55 +0000)]
remove commented code

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Fri, 29 Jun 2012 13:54:55 +0000 (13:54 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

+ SMESHGUI_ReorientFacesDlg.h \

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Fri, 29 Jun 2012 13:53:54 +0000 (13:53 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

+    long Reorient2D(in SMESH_IDSource the2Dgroup,
+                    in DirStruct      theDirection,
+                    in long           theFace,
+                    in PointStruct    thePoint) raises (SALOME::SALOME_Exception);

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Fri, 29 Jun 2012 13:47:33 +0000 (13:47 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

+  // Return height of the tree, full or from this level to topest leaf
+  int                    getHeight(const bool full=true) const;

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Fri, 29 Jun 2012 13:47:05 +0000 (13:47 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

namespace SMESHUtils
{
+  template <class TVECTOR>
+  void CompactVector(TVECTOR& vec)
}

11 years ago0021542: EDF 1699 SMESH: Reorient a group of faces
eap [Fri, 29 Jun 2012 13:46:17 +0000 (13:46 +0000)]
0021542: EDF 1699 SMESH: Reorient a group of faces

  a general treatment of sub-meshes passed as arguments not to move
  their creation at script end

+  void _pyGen::PlaceSubmeshAfterItsCreation( Handle(_pyCommand) theCmdUsingSubmesh ) const;
+  static bool _pySubMesh::CanBeArgOfMethod(const _AString& theMethodName);

11 years ago+ CORBA::Long Reorient2D(SMESH::SMESH_IDSource_ptr the2Dgroup,
eap [Fri, 29 Jun 2012 13:43:18 +0000 (13:43 +0000)]
+  CORBA::Long Reorient2D(SMESH::SMESH_IDSource_ptr the2Dgroup,
+                         const SMESH::DirStruct&   theDirection,
+                         CORBA::Long               theFace,
+                         const SMESH::PointStruct& thePoint) throw (SALOME::SALOME_Exception);

11 years ago struct SMESH_ElementSearcher
eap [Fri, 29 Jun 2012 13:41:37 +0000 (13:41 +0000)]
 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)

11 years ago struct SMESH_ElementSearcher
eap [Fri, 29 Jun 2012 13:40:11 +0000 (13:40 +0000)]
 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 );

11 years ago0021669: EDF 2262 SMESH: "Mesh information" takes a long time on small mesh with...
vsr [Wed, 20 Jun 2012 14:54:14 +0000 (14:54 +0000)]
0021669: EDF 2262 SMESH: "Mesh information" takes a long time on small mesh with joint elements

11 years agoAvoid synchronization with geom groups when closing a study
eap [Wed, 20 Jun 2012 12:25:16 +0000 (12:25 +0000)]
Avoid synchronization with geom groups when closing a study

+  void setCurrentStudy( SALOMEDS::Study_ptr theStudy,
+                        bool                theStudyIsBeingClosed=false);

11 years agoIPAL22856 2D quadrangle mesher of reduced type works wrong
eap [Fri, 8 Jun 2012 10:45:42 +0000 (10:45 +0000)]
IPAL22856 2D quadrangle mesher of reduced type works wrong
     change algorithm as requested by IPAL22856 - care of symmetry

11 years agoIPAL22856 2D quadrangle mesher of reduced type works wrong
eap [Fri, 8 Jun 2012 07:27:26 +0000 (07:27 +0000)]
IPAL22856 2D quadrangle mesher of reduced type works wrong
          refactoring ComputeReduced(), but algorithm still remains the same

11 years ago- SMDS_MeshNode* AddNode(double x, double y, double z, int ID = 0);
eap [Fri, 8 Jun 2012 07:06:43 +0000 (07:06 +0000)]
-  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.);

11 years agoFix for compilation with gcc 4.7
gdd [Thu, 7 Jun 2012 11:26:44 +0000 (11:26 +0000)]
Fix for compilation with gcc 4.7

11 years agoMerge from V6_5_BR 05/06/2012
vsr [Tue, 5 Jun 2012 12:18:07 +0000 (12:18 +0000)]
Merge from V6_5_BR 05/06/2012

12 years agoPorting documentation on the Doxygen-1.8.0 V6_5_0a1
rnv [Thu, 12 Apr 2012 07:15:03 +0000 (07:15 +0000)]
Porting documentation on the Doxygen-1.8.0

12 years ago0021540: [CEA] Internal test fails : prisms
eap [Wed, 11 Apr 2012 14:34:04 +0000 (14:34 +0000)]
0021540: [CEA] Internal test fails : prisms

   Fix FindMatchingNodesOnFaces() for spheres ( DeuxSpheres.py )

12 years ago0021530: EDF 2176 SMESH: Projection 1D-2D with compounds
eap [Wed, 11 Apr 2012 13:10:03 +0000 (13:10 +0000)]
0021530: EDF 2176 SMESH: Projection 1D-2D with compounds

   Fix for the case of no vertex association