]> SALOME platform Git repositories - modules/smesh.git/log
Salome HOME
modules/smesh.git
11 years ago0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
eap [Wed, 22 May 2013 15:34:55 +0000 (15:34 +0000)]
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles

+    void QuadTo4Tri (in SMESH_IDSource theQuads) raises (SALOME::SALOME_Exception);

11 years ago0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
eap [Wed, 22 May 2013 15:34:17 +0000 (15:34 +0000)]
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles

 Treat SMESH_MeshEditor::QuadTo4Tri()

11 years ago0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
eap [Wed, 22 May 2013 15:33:27 +0000 (15:33 +0000)]
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles

+  void           QuadTo4Tri      (SMESH::SMESH_IDSource_ptr   theObject)

11 years ago0022099: EDF 2307 SMESH: Apply a transformation to several meshes, sub-meshes or...
vsr [Wed, 22 May 2013 15:25:18 +0000 (15:25 +0000)]
0022099: EDF 2307 SMESH: Apply a transformation to several meshes, sub-meshes or groups

11 years ago0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
eap [Wed, 22 May 2013 14:58:32 +0000 (14:58 +0000)]
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles

+  void QuadTo4Tri (TIDSortedElemSet & theElems);

11 years ago0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
eap [Wed, 22 May 2013 14:58:06 +0000 (14:58 +0000)]
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles

Fix position of a central node of a distorted bi-quadratic triangle

+   * \brief Return UV for the central node of a biquadratic triangle
+   */
+  static gp_XY GetCenterUV(const gp_XY& uv1,
+                           const gp_XY& uv2,
+                           const gp_XY& uv3,
+                           const gp_XY& uv12,
+                           const gp_XY& uv23,
+                           const gp_XY& uv31,
+                           bool *       isBadTria=0);

11 years ago0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
eap [Wed, 22 May 2013 14:55:42 +0000 (14:55 +0000)]
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles

11 years ago+ void SetParameters(double aUparam, double aVparam);
eap [Wed, 22 May 2013 14:54:20 +0000 (14:54 +0000)]
+        void SetParameters(double aUparam, double aVparam);

11 years ago0022097: EDF 2408 SMESH: Hide ID of double node in the function "Merge nodes"
vsr [Wed, 22 May 2013 14:03:03 +0000 (14:03 +0000)]
0022097: EDF 2408 SMESH: Hide ID of double node in the function "Merge nodes"

11 years ago0022097: EDF 2408 SMESH: Hide ID of double node in the function "Merge nodes"
vsr [Wed, 22 May 2013 13:35:08 +0000 (13:35 +0000)]
0022097: EDF 2408 SMESH: Hide ID of double node in the function "Merge nodes"

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
ctn [Wed, 22 May 2013 13:30:10 +0000 (13:30 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

11 years agoFix problem with highlighting polyhedrons
vsr [Wed, 22 May 2013 13:20:53 +0000 (13:20 +0000)]
Fix problem with highlighting polyhedrons

11 years ago0021941: [CEA 699] Use for Auto Color method on mesh group the same algorithm that...
vsr [Tue, 21 May 2013 14:57:30 +0000 (14:57 +0000)]
0021941: [CEA 699] Use for Auto Color method on mesh group the same algorithm that this one in GEOM which define colors.

11 years ago0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
eap [Tue, 21 May 2013 09:09:23 +0000 (09:09 +0000)]
0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group

+    SMESH::ListOfGroups MakeGroupsOfBadInputElements( in SMESH_Mesh theMesh,
+                                                      in short      theSubShapeID,
+                                                      in string     theGroupName)
+      raises ( SALOME::SALOME_Exception );

11 years ago0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
eap [Tue, 21 May 2013 09:09:04 +0000 (09:09 +0000)]
0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group

11 years agoFix a doc of GetFilter()
eap [Tue, 21 May 2013 09:08:25 +0000 (09:08 +0000)]
Fix a doc of GetFilter()

+   #  @param mesh the mesh to initialize the filter with
    #  @return SMESH_Filter
    #
    #  <a href="../tui_filters_page.html#tui_filters">Example of Filters usage</a>
    #  @ingroup l1_controls
    def GetFilter(self,elementType,

11 years ago0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
eap [Tue, 21 May 2013 09:07:16 +0000 (09:07 +0000)]
0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group

+  // Create groups of elements preventing computation of a sub-shape
+  SMESH::ListOfGroups* MakeGroupsOfBadInputElements( int         theSubShapeID,
+                                                     const char* theGroupName)
+    throw (SALOME::SALOME_Exception);

11 years ago0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
eap [Tue, 21 May 2013 09:06:43 +0000 (09:06 +0000)]
0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group

+  // Create groups of elements preventing computation of a sub-shape
+  SMESH::ListOfGroups* MakeGroupsOfBadInputElements( SMESH::SMESH_Mesh_ptr theMesh,
+                                                     CORBA::Short          theSubShapeID,
+                                                     const char*           theGroupName)
+    throw ( SALOME::SALOME_Exception );

11 years agoIn GetSubMesh(), assure calling fillAncestorsMap() for each compound
eap [Mon, 20 May 2013 09:11:12 +0000 (09:11 +0000)]
In GetSubMesh(), assure calling fillAncestorsMap() for each compound
(take into account that a compound can be added to SMESHDS_Mesh at
creation of group on geometry)

11 years agoFix to take into account qudratic edges also.
akl [Fri, 17 May 2013 12:26:06 +0000 (12:26 +0000)]
Fix to take into account qudratic edges also.

11 years agountabify
eap [Thu, 16 May 2013 17:18:39 +0000 (17:18 +0000)]
untabify

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 17:18:28 +0000 (17:18 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
0022100: EDF 2413 SMESH: Take into account TRIA7

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 17:17:56 +0000 (17:17 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

11 years agoindentation
eap [Thu, 16 May 2013 17:16:44 +0000 (17:16 +0000)]
indentation

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 17:15:56 +0000 (17:15 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  case 4137:     // BIQUADRATIC TRIANGLE

Support all types of elements in DAT format files

11 years ago+ void ClearLastCreated() raises (SALOME::SALOME_Exception);
eap [Thu, 16 May 2013 17:14:15 +0000 (17:14 +0000)]
+    void ClearLastCreated() raises (SALOME::SALOME_Exception);

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 17:14:04 +0000 (17:14 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

+    FT_ConnectedElements,

+  interface ConnectedElements : Predicate {

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 17:13:13 +0000 (17:13 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+    Entity_BiQuad_Triangle,

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 17:12:43 +0000 (17:12 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+ mesh_biquad_triangle.png \

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 17:12:15 +0000 (17:12 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

11 years agountabify
eap [Thu, 16 May 2013 17:09:28 +0000 (17:09 +0000)]
untabify

11 years ago0022195: EDF SMESH: Mesh using existing elements.
eap [Thu, 16 May 2013 17:08:45 +0000 (17:08 +0000)]
0022195: EDF SMESH: Mesh using existing elements.

11 years ago0022195: EDF SMESH: Mesh using existing elements.
eap [Thu, 16 May 2013 17:06:42 +0000 (17:06 +0000)]
0022195: EDF SMESH: Mesh using existing elements.

In Compute() call assure the source mesh is loaded:
_sourceHyp->GetGroups(/*loaded=*/true);

In getMaps(), do not clear n2n map to assure sharing nodes on EDGEs
for adjacent FACEs

11 years ago0022195: EDF SMESH: Mesh using existing elements.
eap [Thu, 16 May 2013 17:02:10 +0000 (17:02 +0000)]
0022195: EDF SMESH: Mesh using existing elements.

To load the mesh owning source groups

-  const std::vector<SMESH_Group*>& GetGroups() const;
+  const std::vector<SMESH_Group*>& GetGroups(bool loaded=false) const;

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 16:58:08 +0000 (16:58 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

+#include "SMESH_MeshAlgos.hxx"

11 years ago+ subMeshOfSolid->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
eap [Thu, 16 May 2013 16:55:53 +0000 (16:55 +0000)]
+      subMeshOfSolid->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:55:14 +0000 (16:55 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

+    def NbBiQuadTriangles(self):

+    def ClearLastCreated(self):

    def GetFilter(self,elementType,
                  CritType=FT_Undefined,
                  Compare=FT_EqualTo,
                  Threshold="",
                  UnaryOp=FT_Undefined,
                  Tolerance=1e-07,
+                 mesh=None):

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:53:18 +0000 (16:53 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:49:03 +0000 (16:49 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  CORBA::Long NbBiQuadTriangles()

11 years ago+#include "SMESH_MeshAlgos.hxx"
eap [Thu, 16 May 2013 16:48:19 +0000 (16:48 +0000)]
+#include "SMESH_MeshAlgos.hxx"

+// A macro used in SMESH_TryCatch.hxx,
+// it re-raises a CORBA SALOME exception thrown by SMESH_MeshEditor_i and caught by SMESH_CATCH
+#define SMY_OWN_CATCH \
+  catch ( SALOME::SALOME_Exception & e ) { throw e; }

+  void ClearLastCreated() throw (SALOME::SALOME_Exception);

11 years ago+ void ClearLastCreated() throw (SALOME::SALOME_Exception);
eap [Thu, 16 May 2013 16:46:57 +0000 (16:46 +0000)]
+  void ClearLastCreated() throw (SALOME::SALOME_Exception);

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 16:46:26 +0000 (16:46 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

+  class SMESH_I_EXPORT ConnectedElements_i: public virtual POA_SMESH::ConnectedElements,
+                                            public virtual Predicate_i

+    ConnectedElements_ptr     CreateConnectedElements();

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 16:45:34 +0000 (16:45 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:44:02 +0000 (16:44 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:41:58 +0000 (16:41 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  aFilter->RegisterCellsWithType(VTK_BIQUADRATIC_TRIANGLE);

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:41:30 +0000 (16:41 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

decompose bi-quadratic elements using the central node of face

11 years ago1) Remove writing into stdout
eap [Thu, 16 May 2013 16:39:55 +0000 (16:39 +0000)]
1) Remove writing into stdout
2) Support all types of elements

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:38:48 +0000 (16:38 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 16:36:26 +0000 (16:36 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

+#include "SMESH_MeshAlgos.hxx"

+    class SMESHCONTROLS_EXPORT ConnectedElements: public virtual Predicate

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 16:35:18 +0000 (16:35 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

Move SMESH_ElementSearcher to from SMESH/SMESH_MeshEditor.hxx SMESHUtils/SMESH_MeshAlgos.hxx
in order to make SMESH_ElementSearcher accessible from Controls/SMESH_Controls.cxx

+ SMESH_MeshAlgos.cxx

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:33:34 +0000 (16:33 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

Fix AddNode() for the case if a node already in

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:32:39 +0000 (16:32 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

-  void SetNodeInVolume(SMDS_MeshNode * aNode, const TopoDS_Shell & S);
+  void SetNodeInVolume(const SMDS_MeshNode * aNode, const TopoDS_Shell & S);

-  void MoveNode(const SMDS_MeshNode *, double x, double y, double z);
+  virtual void MoveNode(const SMDS_MeshNode *, double x, double y, double z);

+  // biquadratic triangle of 7 nodes
+  virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3,
+                                       int n12,int n23,int n31, int nCenter, int ID);

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:30:18 +0000 (16:30 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:29:56 +0000 (16:29 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  inline void AddBiQuadTriasWithID(SMDS_Mesh* theMesh,
+                                   SMESH::log_array_var theSeq,
+                                   CORBA::Long theId)

11 years agoarrange #include
eap [Thu, 16 May 2013 16:29:29 +0000 (16:29 +0000)]
arrange #include

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:28:40 +0000 (16:28 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  const SMDS_MeshNode* GetCentralNode(const SMDS_MeshNode* n1,
+                                      const SMDS_MeshNode* n2,
+                                      const SMDS_MeshNode* n3,
+                                      const SMDS_MeshNode* n12,
+                                      const SMDS_MeshNode* n23,
+                                      const SMDS_MeshNode* n31,
+                                      bool                 force3d);

11 years ago1) 0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:27:06 +0000 (16:27 +0000)]
1) 0022100: EDF 2413 SMESH: Take into account TRIA7

2) 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

Move SMESH_ElementSearcher to from SMESH/SMESH_MeshEditor.hxx SMESHUtils/SMESH_MeshAlgos.hxx
in order to make SMESH_ElementSearcher accessible from Controls/SMESH_Controls.cxx

-struct SMESH_NodeSearcher
-{
-struct SMESH_ElementSearcher
-{
-  SMESH_NodeSearcher* GetNodeSearcher();
-  SMESH_ElementSearcher* GetElementSearcher();
-  SMESH_ElementSearcher* GetElementSearcher( SMDS_ElemIteratorPtr elemIt );
-  static bool IsOut( const SMDS_MeshElement* element, const gp_Pnt& point, double tol );
-  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );
-  static const SMDS_MeshElement* FindFaceInSet(const SMDS_MeshNode*    n1,

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:23:11 +0000 (16:23 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  int NbBiQuadTriangles() const throw(SALOME_Exception);

11 years ago0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
eap [Thu, 16 May 2013 16:22:25 +0000 (16:22 +0000)]
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

Move SMESH_ElementSearcher to from SMESH/SMESH_MeshEditor.hxx SMESHUtils/SMESH_MeshAlgos.hxx
in order to make SMESH_ElementSearcher accessible from Controls/SMESH_Controls.cxx

-  static bool FaceNormal(const SMDS_MeshElement* F, gp_XYZ& normal, bool normalized=true);
-  static std::vector< const SMDS_MeshNode*> GetCommonNodes(const SMDS_MeshElement* e1,
-                                                           const SMDS_MeshElement* e2);

11 years ago- virtual SMDS_ElemIteratorPtr nodesIteratorToUNV() const;
eap [Thu, 16 May 2013 16:17:16 +0000 (16:17 +0000)]
-  virtual SMDS_ElemIteratorPtr nodesIteratorToUNV() const;
-  virtual SMDS_ElemIteratorPtr interlacedNodesElemIterator() const;
+  virtual SMDS_NodeIteratorPtr nodesIteratorToUNV() const;
+  virtual SMDS_NodeIteratorPtr interlacedNodesIterator() const;

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:16:22 +0000 (16:16 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

Now  SMDS_VtkCellIteratorToUNV inherits from SMDS_NodeIterator and
hence next() returns a node

-class SMDS_VtkCellIteratorToUNV: public SMDS_VtkCellIterator
+class SMDS_VtkCellIteratorToUNV: public SMDS_NodeIterator, protected SMDS_VtkCellIterator
 {
 public:
   SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCellId, SMDSAbs_EntityType aType);
+  virtual const SMDS_MeshNode* next();
+  virtual bool more();
   virtual ~SMDS_VtkCellIteratorToUNV();
 };

11 years agoMake IsFreeFace() fast, the old implementation of IsFreeFace() is renamed -> IsFreeFa...
eap [Thu, 16 May 2013 16:14:01 +0000 (16:14 +0000)]
Make IsFreeFace() fast, the old implementation of IsFreeFace() is renamed -> IsFreeFaceAdv()

   bool IsFreeFace(  int faceIndex, const SMDS_MeshElement** otherVol=0 ) const;
-  // Check that all volumes built on the face nodes lays on one side
+  // Fast check that only one volume is built on nodes of a given face
+  // otherVol returns another volume sharing the given facet
+
+  bool IsFreeFaceAdv(  int faceIndex, const SMDS_MeshElement** otherVol=0 ) const;
+  // Thorough check that all volumes built on the face nodes lays on one side

+  bool IsPoly() const { return myPolyedre; }

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:11:35 +0000 (16:11 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

11 years ago- SMDS_ElemIteratorPtr interlacedNodesElemIterator() const;
eap [Thu, 16 May 2013 16:10:37 +0000 (16:10 +0000)]
-  SMDS_ElemIteratorPtr interlacedNodesElemIterator() const;

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:08:36 +0000 (16:08 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  int NbBiQuadTriangles() const { return myNbBiQuadTriangles; }

11 years ago- virtual SMDS_ElemIteratorPtr nodesIteratorToUNV() const;
eap [Thu, 16 May 2013 16:08:00 +0000 (16:08 +0000)]
-  virtual SMDS_ElemIteratorPtr nodesIteratorToUNV() const;

+  virtual SMDS_NodeIteratorPtr nodeIterator() const;
+  virtual SMDS_NodeIteratorPtr interlacedNodesIterator() const;
+  virtual SMDS_NodeIteratorPtr nodesIteratorToUNV() const;

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:06:21 +0000 (16:06 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
+                                 const SMDS_MeshNode * n2,
+                                 const SMDS_MeshNode * n3,
+                                 const SMDS_MeshNode * n12,
+                                 const SMDS_MeshNode * n23,
+                                 const SMDS_MeshNode * n31,
+                                 const SMDS_MeshNode * nCenter);

+  virtual void MoveNode(const SMDS_MeshNode *n, double x, double y, double z);

11 years agoindentation
eap [Thu, 16 May 2013 16:04:50 +0000 (16:04 +0000)]
indentation

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:04:30 +0000 (16:04 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+      _cellDimension[VTK_BIQUADRATIC_TRIANGLE] = 2;

11 years ago0022100: EDF 2413 SMESH: Take into account TRIA7
eap [Thu, 16 May 2013 16:04:10 +0000 (16:04 +0000)]
0022100: EDF 2413 SMESH: Take into account TRIA7

+  SMDSEntity_BiQuad_Triangle,

11 years agospecification des unités de chordal deviation
pnoyret [Thu, 16 May 2013 13:31:34 +0000 (13:31 +0000)]
specification des unités de chordal deviation

11 years agoPour prise en compte de la bonne valeur par defaut du chordal deviation
pnoyret [Thu, 16 May 2013 13:24:39 +0000 (13:24 +0000)]
Pour prise en compte de la bonne valeur par defaut du chordal deviation

11 years ago0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons V7_2_0 V7_2_0_public V7_2_0rc2
eap [Mon, 29 Apr 2013 14:18:32 +0000 (14:18 +0000)]
0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons

Fix notifyListenersOnEvent() for the case of removing an EventListener (attempt No.2)

11 years ago0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
eap [Mon, 29 Apr 2013 12:00:40 +0000 (12:00 +0000)]
0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons

Fix notifyListenersOnEvent() for the case of removing an EventListener

11 years agoRegression of SMESH_TEST/Grids/smesh/imps7/H6
eap [Fri, 26 Apr 2013 15:53:34 +0000 (15:53 +0000)]
Regression of SMESH_TEST/Grids/smesh/imps7/H6

Unreachable deep idea

           bool subComputed = false, subFailed = false;
           if (!algo->OnlyUnaryInput()) {
-            if ( event == COMPUTE &&
-                 ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() ))
+            if ( event == COMPUTE /*&&
+                 ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )*/)
               shape = getCollection( gen, algo, subComputed, subFailed );
             else
               subComputed = SubMeshesComputed( & subFailed );

11 years agoRegression of SMESH_TEST/Grids/smesh/imps7/H5
eap [Fri, 26 Apr 2013 14:43:46 +0000 (14:43 +0000)]
Regression of SMESH_TEST/Grids/smesh/imps7/H5

Fix position of medium nodes that are set to FACE by
StdMeshers_Projection_2D, since EDGEs are discreteized later than FACE.

11 years agoRegression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
eap [Fri, 26 Apr 2013 11:47:26 +0000 (11:47 +0000)]
Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6

Fix the ensuring stability of SMESH_MeshEditor::makeWalls().

11 years agoRegression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
eap [Fri, 26 Apr 2013 11:46:58 +0000 (11:46 +0000)]
Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6

Fix the ensuring stability of SMESH_MeshEditor::makeWalls(). Allow
storing both nodes and cells in one map sorted by ID.

struct TIDCompare {
   bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
-  { return e1->GetID() < e2->GetID(); }
+  { return e1->GetType() == e2->GetType() ? e1->GetID() < e2->GetID() : e1->GetType() < e2->GetType(); }

11 years ago0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
eap [Fri, 26 Apr 2013 10:21:24 +0000 (10:21 +0000)]
0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons

-  for ( int iF = 1; iF < faceToSolids.Extent(); ++iF )
+  for ( int iF = 1; iF <= faceToSolids.Extent(); ++iF )

11 years agoCall 'Location' with correct indices only to avoid exception.
akl [Wed, 24 Apr 2013 13:25:21 +0000 (13:25 +0000)]
Call 'Location' with correct indices only to avoid exception.

11 years agoFix to avoid dependence of mesh on itself (it leaded to cycle in 'SetRemovedFromStudy').
akl [Wed, 24 Apr 2013 13:13:40 +0000 (13:13 +0000)]
Fix to avoid dependence of mesh on itself (it leaded to cycle in 'SetRemovedFromStudy').

11 years agoRegression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
eap [Wed, 24 Apr 2013 12:59:33 +0000 (12:59 +0000)]
Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6

To assure stability of makeWalls(), use maps sorted by ID, that are
declared in SMESH_TypeDefs.hxx

-typedef map<const SMDS_MeshElement*, list<const SMDS_MeshNode*> >    TElemOfNodeListMap;
-typedef map<const SMDS_MeshElement*, list<const SMDS_MeshElement*> > TElemOfElemListMap;

11 years agoRegression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
eap [Wed, 24 Apr 2013 12:56:57 +0000 (12:56 +0000)]
Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6

 typedef std::map<const SMDS_MeshElement*,
-                 std::list<const SMDS_MeshElement*> >             TElemOfElemListMap;
+                 std::list<const SMDS_MeshElement*>, TIDCompare > TElemOfElemListMap;

11 years ago-algo=smesh.xxxx ==> algo.smeshBuilder.xxxx
eap [Wed, 24 Apr 2013 12:13:36 +0000 (12:13 +0000)]
-algo=smesh.xxxx  ==> algo.smeshBuilder.xxxx
+algo=smesh.xxxx  ==> algo=smeshBuilder.xxxx

11 years agoCheck for null object was added. V7_2_0rc1
akl [Mon, 22 Apr 2013 10:37:55 +0000 (10:37 +0000)]
Check for null object was added.

11 years agoIndexation of OCC sequence is started from 1, but not 0.
akl [Mon, 22 Apr 2013 10:36:36 +0000 (10:36 +0000)]
Indexation of OCC sequence is started from 1, but not 0.

11 years agoUpdate translations
gdd [Thu, 18 Apr 2013 09:07:26 +0000 (09:07 +0000)]
Update translations

11 years agoCorrection after the proof reading
eap [Thu, 18 Apr 2013 07:58:41 +0000 (07:58 +0000)]
Correction after the proof reading

11 years agoPR: correction due to refactoring
prascle [Wed, 17 Apr 2013 20:33:51 +0000 (20:33 +0000)]
PR: correction due to refactoring

11 years agoUpdate documentation for 7.2.0
vsr [Wed, 17 Apr 2013 16:20:21 +0000 (16:20 +0000)]
Update documentation for 7.2.0

11 years agoCorrection because of 'geompyDC' refactoring.
akl [Wed, 17 Apr 2013 11:34:31 +0000 (11:34 +0000)]
Correction because of 'geompyDC' refactoring.

11 years agoCorrection because of 'smeshDC' refactoring.
akl [Wed, 17 Apr 2013 10:15:09 +0000 (10:15 +0000)]
Correction because of 'smeshDC' refactoring.

11 years agoCorrection of script because of 'geompyDC' refactoring.
akl [Wed, 17 Apr 2013 06:21:15 +0000 (06:21 +0000)]
Correction of script because of 'geompyDC' refactoring.

11 years agoPR: relax constraints on node distances on StdMeshers_import_1D
prascle [Tue, 16 Apr 2013 16:47:43 +0000 (16:47 +0000)]
PR: relax constraints on node distances on StdMeshers_import_1D

11 years agoPR: Spelling
prascle [Tue, 16 Apr 2013 14:07:03 +0000 (14:07 +0000)]
PR: Spelling

11 years agoPR: Deprecation Warning more precise
prascle [Tue, 16 Apr 2013 13:50:10 +0000 (13:50 +0000)]
PR: Deprecation Warning more precise

11 years agoFix make distcheck problem
vsr [Tue, 16 Apr 2013 07:37:02 +0000 (07:37 +0000)]
Fix make distcheck problem

11 years agoRegression of already fixed
eap [Mon, 15 Apr 2013 10:48:46 +0000 (10:48 +0000)]
Regression of already fixed
0021406: EDF 1975 NETGENPLUGIN: Submesh hypothesis not taken into account

Correct the patch for
0021556: EDF 2222 SMESH: 3D mesh after projection impossible

-        smWithAlgoSupportingSubmeshes[0].push_back( shDim2smIt->second );
+        smWithAlgoSupportingSubmeshes[3].push_back( shDim2smIt->second );

11 years agoFix test script
vsr [Mon, 15 Apr 2013 07:25:40 +0000 (07:25 +0000)]
Fix test script

11 years agoPR: improve documentation on scripts adaptation to V7
prascle [Sat, 13 Apr 2013 19:48:28 +0000 (19:48 +0000)]
PR: improve documentation on scripts adaptation to V7