Salome HOME
modules/smesh.git
10 years ago0020576: EDF 1163 SMESH: Random type of group at MED import V4_1_0_maintainance_FINAL
eap [Thu, 5 Nov 2009 11:42:24 +0000 (11:42 +0000)]
0020576: EDF 1163 SMESH: Random type of group at MED import
    care of families containing elements of different entity types

10 years ago0020577: EDF 1164 SMESH: Bad dump of concatenate with create common groups
eap [Thu, 5 Nov 2009 10:49:39 +0000 (10:49 +0000)]
0020577: EDF 1164 SMESH: Bad dump of concatenate with create common groups

10 years ago # Optimization level of GHS3D
eap [Wed, 4 Nov 2009 11:38:56 +0000 (11:38 +0000)]
 # Optimization level of GHS3D
+# V3.1
 None_Optimization, Light_Optimization, Medium_Optimization, Strong_Optimization = 0,1,2,3
+# V4.1 (partialy redefines V3.1). Issue 0020574
+None_Optimization, Light_Optimization, Standard_Optimization, StandardPlus_Optimization, Strong_Optimization = 0,1,2,3,4

10 years ago0020571: EDF 1160 SMESH : SMESH_MEDMesh_i::getName() always return toto
eap [Tue, 3 Nov 2009 13:25:48 +0000 (13:25 +0000)]
0020571: EDF 1160 SMESH : SMESH_MEDMesh_i::getName() always return toto

10 years agomerge with V5
eap [Tue, 3 Nov 2009 09:53:16 +0000 (09:53 +0000)]
merge with V5

10 years ago0019967: EDF SMESH 806: TUI script example is missing for the ConcatenateWithGroups...
dmv [Tue, 3 Nov 2009 07:33:42 +0000 (07:33 +0000)]
0019967: EDF SMESH 806: TUI script example is missing for the ConcatenateWithGroups function.

10 years ago bool SMESHGUI_ConvToQuadOp::onApply()
eap [Fri, 30 Oct 2009 12:11:29 +0000 (12:11 +0000)]
 bool SMESHGUI_ConvToQuadOp::onApply()
 {
+  SUIT_OverrideCursor aWaitCursor;

10 years ago0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
eap [Fri, 30 Oct 2009 11:48:50 +0000 (11:48 +0000)]
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
  fix GetNodeUV() for edges

10 years agoIssue 0020379: EDF SMESH 1047: Impossible to select pentahedrons when creating mesh...
ouv [Fri, 30 Oct 2009 10:58:28 +0000 (10:58 +0000)]
Issue 0020379: EDF SMESH 1047: Impossible to select pentahedrons when creating mesh volume groups

10 years ago0020560: EDF 1154 SMESH: Bad dump of a pattern mapping
dmv [Thu, 29 Oct 2009 08:49:29 +0000 (08:49 +0000)]
0020560: EDF 1154 SMESH: Bad dump of a pattern mapping

10 years agoMerge with V5:
eap [Thu, 29 Oct 2009 08:35:03 +0000 (08:35 +0000)]
Merge with V5:
+  /*!
+   * \brief Wrap for vertex using data from other FaceSide
+   */
+  StdMeshers_FaceSide(const SMDS_MeshNode* theNode,
+                      const gp_Pnt2d thePnt2d,
+                      const StdMeshers_FaceSide* theSide);

10 years agountabify
eap [Thu, 29 Oct 2009 08:34:30 +0000 (08:34 +0000)]
untabify

10 years ago+typedef std::map< SMESH_subMesh*, std::vector<int> > MapShapeNbElems;
eap [Thu, 29 Oct 2009 08:32:58 +0000 (08:32 +0000)]
+typedef std::map< SMESH_subMesh*, std::vector<int> > MapShapeNbElems;
+// vector must have size corresponding to EntityType_Last from SMDSAbs:
+typedef std::map< SMESH_subMesh*, std::vector<int> >::iterator MapShapeNbElemsItr;

10 years ago0020557: EDF 1151 SMESH: Netgen 2D fail to mesh a ring
eap [Thu, 29 Oct 2009 08:31:59 +0000 (08:31 +0000)]
0020557: EDF 1151 SMESH: Netgen 2D fail to mesh a ring
   and merge with V5

10 years ago+ // commented for issue 0020557, other related ones: 0020526, PAL19080
eap [Thu, 29 Oct 2009 08:30:15 +0000 (08:30 +0000)]
+      // commented for issue 0020557, other related ones: 0020526, PAL19080
+      // edge = TopoDS::Edge( edge.Oriented( wExp.Orientation() ));

10 years ago0020556: EDF 1145 SMESH : Dump QuadranglePreference NO_OK
dmv [Wed, 28 Oct 2009 08:13:41 +0000 (08:13 +0000)]
0020556: EDF 1145 SMESH : Dump QuadranglePreference NO_OK

10 years agomerge with V5
eap [Tue, 27 Oct 2009 09:11:25 +0000 (09:11 +0000)]
merge with V5

10 years ago0020553: EDF 1148 SMESH: Some nodes are doubled with operation RotationSweepObject
eap [Tue, 27 Oct 2009 09:10:59 +0000 (09:10 +0000)]
0020553: EDF 1148 SMESH: Some nodes are doubled with operation RotationSweepObject
  fix sweepElement() after modifs for issue 0020381:
-    if( !issimple[iNode] ) {
+    if( !elem->IsQuadratic() || !issimple[iNode] ) {

10 years agoIssue 0020544: EDF 1140 SMESH: Dumpstudy with FindEqualElments function not loadable
vsr [Wed, 21 Oct 2009 10:25:24 +0000 (10:25 +0000)]
Issue 0020544: EDF 1140 SMESH: Dumpstudy with FindEqualElments function not loadable

10 years ago0020501: EDF 1098 SMESH: Display only groups, edit a group: can't select face from...
dmv [Wed, 7 Oct 2009 12:26:26 +0000 (12:26 +0000)]
0020501: EDF 1098 SMESH: Display only groups, edit a group: can't select face from other group

10 years agountabify
eap [Fri, 2 Oct 2009 16:22:18 +0000 (16:22 +0000)]
untabify

10 years ago020461: EDF 1102 GHS3DPLUGIN: Bad detection of volumes with Ghs3d mesh
eap [Fri, 2 Oct 2009 16:14:59 +0000 (16:14 +0000)]
020461: EDF 1102 GHS3DPLUGIN: Bad detection of volumes with Ghs3d mesh

SMESH_MesherHelper:

-  void SetCheckNodePosition(bool toCheck) { myCheckNodePos = toCheck; }
   /*!
+   * \brief Check and fix node UV on a face
+   *  \retval bool - false if UV is bad and could not be fixed
+   */
+  bool CheckNodeUV(const TopoDS_Face&   F,
+                   const SMDS_MeshNode* n,
+                   gp_XY&               uv,
+                   const double         tol) const;

-  bool            myCheckNodePos;
+  std::set< int > myOkNodePosShapes;

10 years ago0020501: EDF 1098 SMESH: Display only groups, edit a group: can't select face from...
dmv [Fri, 2 Oct 2009 07:14:02 +0000 (07:14 +0000)]
0020501: EDF 1098 SMESH: Display only groups, edit a group: can't select face from other group

10 years ago case REMOVE_FATHER_ALGO: {
eap [Wed, 16 Sep 2009 12:25:19 +0000 (12:25 +0000)]
 case REMOVE_FATHER_ALGO: {
+      // IPAL21346. Edges not removed when Netgen 1d-2d is removed from a SOLID.
+      // CLEAN was not called at event REMOVE_ALGO because the algo is not applicable to SOLID.
+      algo = dynamic_cast<SMESH_Algo*> (anHyp);
+      if (!algo->NeedDescretBoundary())
+        needFullClean = true;
+

10 years ago0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
eap [Wed, 16 Sep 2009 12:23:28 +0000 (12:23 +0000)]
0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
  pb: only the 1st algo is applied

     // apply the algos that do not require descretized boundaries
     // ----------------------------------------------------------
     for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt )
+    {
+      sm = *subIt;
       if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
       {

10 years agountabify
eap [Wed, 16 Sep 2009 12:23:27 +0000 (12:23 +0000)]
untabify

10 years agoIssue 0020474: Symbols multi-defined in SMESHimpl.dll
vsr [Mon, 14 Sep 2009 13:51:17 +0000 (13:51 +0000)]
Issue 0020474: Symbols multi-defined in SMESHimpl.dll

10 years agounatbify
eap [Thu, 10 Sep 2009 08:19:07 +0000 (08:19 +0000)]
unatbify

10 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 08:11:20 +0000 (08:11 +0000)]
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode

+#include <limits>

10 years ago- CORBA::Long SMESH_MeshEditor_i::FindNodeClosestTo(CORBA::Double x,
eap [Thu, 10 Sep 2009 08:09:04 +0000 (08:09 +0000)]
-  CORBA::Long SMESH_MeshEditor_i::FindNodeClosestTo(CORBA::Double x,
-                                                    CORBA::Double y,
-                                                    CORBA::Double z);
+  CORBA::Long FindNodeClosestTo(CORBA::Double x,
+                                CORBA::Double y,
+                                CORBA::Double z);

10 years agountabify
eap [Thu, 10 Sep 2009 06:52:09 +0000 (06:52 +0000)]
untabify

10 years ago- extra comment
eap [Thu, 10 Sep 2009 06:03:36 +0000 (06:03 +0000)]
- extra comment

10 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 06:01:17 +0000 (06:01 +0000)]
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

     def FindNodeClosestTo(self, x, y, z):
-        preview = self.mesh.GetMeshEditPreviewer()
-        return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        #preview = self.mesh.GetMeshEditPreviewer()
+        #return preview.MoveClosestNodeToPoint(x, y, z, -1)
+        return self.editor.FindNodeClosestTo(x, y, z)

+    ## Finds the elements where a point lays IN or ON
+    #  @param x  the X coordinate of a point
+    #  @param y  the Y coordinate of a point
+    #  @param z  the Z coordinate of a point
+    #  @param elementType type of elements to find (SMESH.ALL type
+    #         means elements of any type excluding nodes and 0D elements)
+    #  @return list of IDs of found elements
+    #  @ingroup l2_modif_throughp
+    def FindElementsByPoint(self, x, y, z, elementType = SMESH.ALL):
+        return self.editor.FindElementsByPoint(x, y, z, elementType)

10 years agomerge with V5_1_main
eap [Thu, 10 Sep 2009 05:56:25 +0000 (05:56 +0000)]
merge with V5_1_main

10 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 05:52:29 +0000 (05:52 +0000)]
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode

+    /*!
+     * Return ID of node closest to a given point
+     */
+    long FindNodeClosestTo(in double x, in double y, in double z);
+

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+    /*!
+     * Return elements of given type where the given point is IN or ON.
+     *
+     * 'ALL' type means elements of any type excluding nodes and 0D elements
+     */
+    long_array FindElementsByPoint(in double x, in double y, in double z, in ElementType type);
+

10 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 05:50:18 +0000 (05:50 +0000)]
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

optimize for performance

10 years ago0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
eap [Thu, 10 Sep 2009 05:42:59 +0000 (05:42 +0000)]
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode

+    /*!
+     * Return ID of node closest to a given point
+     */
+    long FindNodeClosestTo(in double x, in double y, in double z);
+

0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates

+    /*!
+     * Return elements of given type where the given point is IN or ON.
+     *
+     * 'ALL' type means elements of any type excluding nodes and 0D elements
+     */
+    long_array FindElementsByPoint(in double x, in double y, in double z, in ElementType type);
+

10 years agomerge with V5_1_main
eap [Thu, 10 Sep 2009 05:42:30 +0000 (05:42 +0000)]
merge with V5_1_main

10 years ago0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
eap [Thu, 10 Sep 2009 05:26:37 +0000 (05:26 +0000)]
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
1) merge with V5_1_main
2)
 struct SMESH_NodeSearcher
 {
   virtual const SMDS_MeshNode* FindClosestTo( const gp_Pnt& pnt ) = 0;
+  virtual void MoveNode( const SMDS_MeshNode* node, const gp_Pnt& toPnt ) = 0;
 };

+//=======================================================================
+/*!
+ * \brief Return elements of given type where the given point is IN or ON.
+ *
+ * 'ALL' type means elements of any type excluding nodes and 0D elements
+ */
+//=======================================================================
+
+struct SMESH_ElementSearcher
+{
+  virtual void FindElementsByPoint(const gp_Pnt&                           point,
+                                   SMDSAbs_ElementType                     type,
+                                   std::vector< const SMDS_MeshElement* >& foundNodes)=0;
+};

10 years ago0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
eap [Thu, 10 Sep 2009 05:18:45 +0000 (05:18 +0000)]
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+  bool IsOut(double X, double Y, double Z, double tol);
+  // Classify a point

10 years agomerge with V5_1_main
eap [Thu, 10 Sep 2009 05:16:17 +0000 (05:16 +0000)]
merge with V5_1_main

10 years agoTo avoid memory leaks
ouv [Thu, 3 Sep 2009 08:17:47 +0000 (08:17 +0000)]
To avoid memory leaks

10 years agoIssue 0020406: Time compilation when recompiling
vsr [Fri, 21 Aug 2009 10:34:15 +0000 (10:34 +0000)]
Issue 0020406: Time compilation when recompiling

10 years ago0020452: EDF 1056 SMESH : 2D Projection Issue
eap [Thu, 20 Aug 2009 08:28:19 +0000 (08:28 +0000)]
0020452: EDF 1056 SMESH : 2D Projection Issue
  use shape partnership (TopoDS_Shape::IsPartner()) for an easy projection

10 years ago0020452: EDF 1056 SMESH : 2D Projection Issue
eap [Thu, 20 Aug 2009 08:27:55 +0000 (08:27 +0000)]
0020452: EDF 1056 SMESH : 2D Projection Issue
1) in FindSubShapeAssociation(): use shape partnership (TopoDS_Shape::IsPartner())
   for association
2) in FindFaceAssociation(): try two algoritms to find a correct outer wire

10 years ago0020452: EDF 1056 SMESH : 2D Projection Issue
eap [Thu, 20 Aug 2009 08:26:14 +0000 (08:26 +0000)]
0020452: EDF 1056 SMESH : 2D Projection Issue

   static int GetOrderedEdges (const TopoDS_Face&        theFace,
                               TopoDS_Vertex             theFirstVertex,
                               std::list< TopoDS_Edge >& theEdges,
-                              std::list< int >  &       theNbVertexInWires);
+                              std::list< int >  &       theNbVertexInWires,
+                              const bool                theShapeAnalysisAlgo=false);

11 years agoIssue 20443: SIGSEGV in SMESHGUI_VTKUtils.cxx::RemoveVisuData
vsr [Fri, 31 Jul 2009 13:13:17 +0000 (13:13 +0000)]
Issue 20443: SIGSEGV in SMESHGUI_VTKUtils.cxx::RemoveVisuData

11 years agoChanges for bug 0020381 from Mantis.
skl [Tue, 28 Jul 2009 11:37:06 +0000 (11:37 +0000)]
Changes for bug 0020381 from Mantis.

11 years agoIPAL21286 1D Meshing for the Forward and Reversed Edge are equal.
dmv [Mon, 27 Jul 2009 08:48:17 +0000 (08:48 +0000)]
IPAL21286 1D Meshing for the Forward and Reversed Edge are equal.

11 years agoFix of the problem with vtkRenderer::GetActors() method
ouv [Wed, 22 Jul 2009 10:44:18 +0000 (10:44 +0000)]
Fix of the problem with vtkRenderer::GetActors() method

11 years agoBug 0020378: Gui of SMESH hypothesis not multi-study ?
jfa [Thu, 25 Jun 2009 13:33:45 +0000 (13:33 +0000)]
Bug 0020378: Gui of SMESH hypothesis not multi-study ?

11 years ago SMESH_Hypothesis::Hypothesis_Status aStatus;
eap [Thu, 18 Jun 2009 12:48:07 +0000 (12:48 +0000)]
 SMESH_Hypothesis::Hypothesis_Status aStatus;
     if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) {
+      aPrism3D->InitComputeError();
       bOK = aPrism3D->Compute( aMesh, aShape );

11 years ago- ## Returns the list of IDs of submesh elements with the given type
eap [Thu, 18 Jun 2009 12:46:35 +0000 (12:46 +0000)]
-    ## Returns the list of IDs of submesh elements with the given type
+    ## Returns type of elements on given shape
     #  @param Shape a geom object(subshape) IOR
     #         Shape must be a subshape of a ShapeToMesh()
-    #  @return the list of integer values
+    #  @return element type
     #  @ingroup l1_meshinfo
     def GetSubMeshElementType(self, Shape):

11 years ago0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
eap [Thu, 18 Jun 2009 12:44:59 +0000 (12:44 +0000)]
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
   /*!
+   * \brief Move medium nodes of faces and volumes to fix distorted elements
+   * \param volumeOnly - fix nodes on faces or not if the shape is solid
+   */
+  void FixQuadraticElements(bool volumeOnly=true);

11 years ago0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
eap [Thu, 18 Jun 2009 12:42:26 +0000 (12:42 +0000)]
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
struct SMESH_TLink: public NLink {
+  const SMDS_MeshNode* node1() const { return first; }
+  const SMDS_MeshNode* node2() const { return second; }
};

11 years ago0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
eap [Thu, 18 Jun 2009 12:40:41 +0000 (12:40 +0000)]
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
  in ConvertToQuadratic()
+  if ( !theForce3d ) {
+    aHelper.SetSubShape(0); // apply to the whole mesh
+    aHelper.FixQuadraticElements();
+  }

11 years ago0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
eap [Thu, 18 Jun 2009 12:38:39 +0000 (12:38 +0000)]
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
+  inline int NbElements(SMDSAbs_ElementType type=SMDSAbs_All) const;

11 years ago0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
eap [Thu, 18 Jun 2009 12:37:07 +0000 (12:37 +0000)]
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
-  SMDS_ElemIteratorPtr elementsIterator() const;
+  SMDS_ElemIteratorPtr elementsIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;

11 years agoIssue 0020386: EDF 1039 SMESH : FindNodeClosestTo problem
vsr [Wed, 17 Jun 2009 10:32:44 +0000 (10:32 +0000)]
Issue 0020386: EDF 1039 SMESH : FindNodeClosestTo problem

11 years agoRemark of issue 0019967: EDF SMESH 806: TUI script example is missing for the Concate...
ouv [Fri, 5 Jun 2009 10:08:10 +0000 (10:08 +0000)]
Remark of issue 0019967: EDF SMESH 806: TUI script example is missing for the ConcatenateWithGroups function

11 years agoIssue 0020370: Symbols multi defined
vsr [Thu, 28 May 2009 13:41:02 +0000 (13:41 +0000)]
Issue 0020370: Symbols multi defined

11 years ago0020373: MakeMultiTransformation1D failed on maintenances branch (V4 and V5)
dmv [Wed, 27 May 2009 14:37:13 +0000 (14:37 +0000)]
0020373: MakeMultiTransformation1D failed on maintenances branch (V4 and V5)

11 years ago 0019936: EDF 794 SMESH : Export UNV : Node color and group id
eap [Tue, 26 May 2009 05:22:28 +0000 (05:22 +0000)]
 0019936: EDF 794 SMESH : Export UNV : Node color and group id
    default node color - 11

11 years ago 0019936: EDF 794 SMESH : Export UNV : Node color and group id
eap [Tue, 26 May 2009 05:20:18 +0000 (05:20 +0000)]
 0019936: EDF 794 SMESH : Export UNV : Node color and group id
    write group label as <group ID>+1

11 years ago0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
eap [Mon, 25 May 2009 11:38:13 +0000 (11:38 +0000)]
0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
    1) Call CheckGeomGroupModif() in Clear()
    2) In CheckGeomGroupModif(), implement case where meshed geom group changes

11 years ago0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
eap [Mon, 25 May 2009 11:34:25 +0000 (11:34 +0000)]
0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
+  void changeLocalId(int localId) { myLocalID = localId; }
+  friend void SMESH_Mesh_i::CheckGeomGroupModif();

11 years ago0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
eap [Mon, 25 May 2009 11:32:47 +0000 (11:32 +0000)]
0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
    enable Load() in case if meshed geom group has changed

11 years ago0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
eap [Mon, 25 May 2009 11:31:07 +0000 (11:31 +0000)]
0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
   update object browser as some object can be removed

11 years ago0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
eap [Mon, 25 May 2009 11:25:13 +0000 (11:25 +0000)]
0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
   In ShapeToMesh(), delete submeshes

11 years ago0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
eap [Mon, 25 May 2009 11:23:23 +0000 (11:23 +0000)]
0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
   1) allow changing shape to mesh in case of shape being group
   2) merge with V5

11 years ago0020354: EDF 1031 OTHER warnings with automake 1.10
vsr [Fri, 22 May 2009 13:04:45 +0000 (13:04 +0000)]
0020354: EDF 1031 OTHER warnings with automake 1.10

11 years ago#include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx
eap [Wed, 20 May 2009 15:49:08 +0000 (15:49 +0000)]
#include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:48:43 +0000 (15:48 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   sort faces by IDs

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:48:31 +0000 (15:48 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   1) delete temporary faces in destructor
   2) bind created pyramids to shape
   3) create quadratic pyramids when necessary
   4) sort faces by IDs
   5) fix for SIGSEGV on quadratic  mesh

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:47:11 +0000 (15:47 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   fix FindMatchingNodesOnFaces() on quadratic mesh

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:46:49 +0000 (15:46 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   fix SetSourceMesh(): set mesh before calling NotifySubMeshesHypothesisModification()

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:46:33 +0000 (15:46 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   Compare TNode's by node ID

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:45:54 +0000 (15:45 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   fix for SIGSEGV on quadratic  mesh

11 years agoeliminate compilation warning
eap [Wed, 20 May 2009 15:45:16 +0000 (15:45 +0000)]
eliminate compilation warning

11 years ago+ StdMeshers_CompositeHexa_3D.cxx \
eap [Wed, 20 May 2009 15:43:35 +0000 (15:43 +0000)]
+ StdMeshers_CompositeHexa_3D.cxx \

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:42:10 +0000 (15:42 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   In SetEventListener(), avoid meshing of internal vertices of
   complex edge

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:40:31 +0000 (15:40 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   fix SourceShape3D() for the case when no vertices are provided

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:40:00 +0000 (15:40 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   fix GetHypothesisList() for mesh w/o shape

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:39:36 +0000 (15:39 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   Use TIDCompare from SMDS_MeshElement.hxx

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:38:19 +0000 (15:38 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
   For stability of StdMeshers_CompositeSegment_1D:
+  bool IsAlwaysComputed() { return _alwaysComputed; }

11 years ago#include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx
eap [Wed, 20 May 2009 15:38:07 +0000 (15:38 +0000)]
#include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx

11 years ago+#include "SMESH_MeshEditor.hxx" // needed for many meshers
eap [Wed, 20 May 2009 15:37:49 +0000 (15:37 +0000)]
+#include "SMESH_MeshEditor.hxx" // needed for many meshers

11 years ago0020279: [CEA 334] control the "random" use when using mesh algorithms
eap [Wed, 20 May 2009 15:37:25 +0000 (15:37 +0000)]
0020279: [CEA 334] control the "random" use when using mesh algorithms
    fix IsQuadraticSubMesh() to work on mesh w/o shape

11 years agomove struct TIDCompare to SMDS_MeshElement.hxx
eap [Wed, 20 May 2009 15:36:57 +0000 (15:36 +0000)]
move struct TIDCompare to SMDS_MeshElement.hxx

11 years agoGetNode(int index) no longer wraps index, rather GetNodeWrap(int index) does
eap [Wed, 20 May 2009 15:36:19 +0000 (15:36 +0000)]
GetNode(int index) no longer wraps index, rather GetNodeWrap(int index) does

11 years ago static const SMDS_MeshNode* VertexNode(const TopoDS_Vertex& V,
eap [Wed, 20 May 2009 15:35:46 +0000 (15:35 +0000)]
   static const SMDS_MeshNode* VertexNode(const TopoDS_Vertex& V,
-                                         SMESHDS_Mesh*        meshDS);
+                                         const SMESHDS_Mesh* meshDS);

11 years agoin GetNodeParamOnEdge(), take into account that nodes on vertices not
eap [Wed, 20 May 2009 15:35:29 +0000 (15:35 +0000)]
in GetNodeParamOnEdge(), take into account that nodes on vertices not
always present, e.g. when Composite side discretisation is used

11 years ago+ const SMDS_MeshNode* GetNodeWrap(const int ind) const { return GetNode( WrappedInd...
eap [Wed, 20 May 2009 15:32:49 +0000 (15:32 +0000)]
+  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(); }
+};
=============================================================================

11 years agoUpdate according to change of boolean operation.
maintenance team [Tue, 19 May 2009 10:22:40 +0000 (10:22 +0000)]
Update according to change of boolean operation.

11 years ago0020210: EDF SMESH 976: Update of a smesh group after modification of the associated...
vsr [Wed, 6 May 2009 14:54:16 +0000 (14:54 +0000)]
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

11 years ago0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
eap [Wed, 6 May 2009 13:54:22 +0000 (13:54 +0000)]
0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
  Nullify mesh after TNodeSearcherDeleter::Unset()

11 years ago+//#define MESSAGE(m) {cout<<m<<endl;}
eap [Wed, 6 May 2009 13:22:09 +0000 (13:22 +0000)]
+//#define MESSAGE(m) {cout<<m<<endl;}

11 years ago0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
eap [Wed, 6 May 2009 13:21:34 +0000 (13:21 +0000)]
0020340: EDF 1022 SMESH : Crash with FindNodeClosestTo in a second new study
    notify node searcher on mesh destruction

11 years agoImprovement of "setenv.py" script - setting of custom enviroment by those modules...
ouv [Wed, 6 May 2009 13:17:00 +0000 (13:17 +0000)]
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.

11 years ago0020338: EDF 1019 SMESH : 3D extrusion issue
eap [Wed, 6 May 2009 11:29:28 +0000 (11:29 +0000)]
0020338: EDF 1019 SMESH : 3D extrusion issue
   fix FindMatchingNodesOnFaces() for the case of no nodes on edge (since nb segments == 1 )