Commit Graph

1477 Commits

Author SHA1 Message Date
eap
61915a66ed Fix removal of free nodes 2012-01-26 11:24:22 +00:00
eap
b4e2459e13 Fix RemoveOrphanNodes() to return valid nb of removed nodes 2012-01-26 11:06:16 +00:00
eap
a7d76b7825 0021484: EDF 2087 SMESH: Problem projection
fix search of initial vertex association for group of FACEs

+  TopoDS_Shape getOuterEdge( const TopoDS_Shape theShape1, SMESH_Mesh& mesh )

-  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
-                             const TopoDS_Shape& edgeContainer,
-                             SMESH_Mesh&         mesh);
+  static TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape& edgeContainer,
+                                     const SMESH_Mesh&   mesh);
2012-01-25 12:19:58 +00:00
eap
cbd52f6644 0021484: EDF 2087 SMESH: Problem projection
-  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
-                             const TopoDS_Shape& edgeContainer,
-                             SMESH_Mesh&         mesh);
+  static TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape& edgeContainer,
+                                     const SMESH_Mesh&   mesh);
2012-01-25 12:18:02 +00:00
eap
40a14effec 0021484: EDF 2087 SMESH: Problem projection
Check orientation of faces after simple cases of projection as well
2012-01-25 07:37:32 +00:00
vsr
8ed51b18ba 0021481: [CEA 538] autoconf and med 3 2012-01-24 14:59:27 +00:00
eap
1ef48564e5 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In ~TPreviewMesh(), nullify _myMeshDS after destruction
2012-01-24 13:01:34 +00:00
eap
6a0dd162a9 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In RemoveMesh(), do not erase an iterator pointing to map.end()
2012-01-24 13:00:47 +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
b630c0858f 0021338: EDF 1926 SMESH: New controls and filters 2012-01-24 06:41:04 +00:00
eap
12c12edac4 0021338: EDF 1926 SMESH: New controls and filters
-typedef pair< const SMDS_MeshNode*, const SMDS_MeshNode* >   NLink;
+typedef std::pair< const SMDS_MeshNode*, const SMDS_MeshNode* >   NLink;
2012-01-23 16:15:27 +00:00
eap
8e8c7bd49e 0021338: EDF 1926 SMESH: New controls and filters 2012-01-23 16:15:07 +00:00
eap
ffb69e815c 0021338: EDF 1926 SMESH: New controls and filters
+          case 6028:
+            aControl = SMESH_Actor::eCoincidentNodes;
+            break;
+          case 6029:
+            aControl = SMESH_Actor::eCoincidentElems1D;
+            break;
+          case 6030:
+            aControl = SMESH_Actor:: eCoincidentElems2D;
+            break;
+          case 6031:
+            aControl = SMESH_Actor::eCoincidentElems3D;
2012-01-23 16:15:00 +00:00
eap
a286422371 0021338: EDF 1926 SMESH: New controls and filters
+	-I$(srcdir)/../SMESHUtils
2012-01-23 16:14:27 +00:00
eap
0d35811cbb 0021338: EDF 1926 SMESH: New controls and filters
in SMESH_SubMeshObj::UpdateFunctor() set a part of mesh to eCoincident* functors
2012-01-23 16:13:53 +00:00
eap
c573d1fae4 0021338: EDF 1926 SMESH: New controls and filters
+   eCoincidentNodes, eCoincidentElems1D, eCoincidentElems2D, eCoincidentElems3D };
2012-01-23 16:12:32 +00:00
eap
3ce7e67ad8 0021338: EDF 1926 SMESH: New controls and filters
+    class SMESHCONTROLS_EXPORT CoincidentElements: public Predicate {
+    class SMESHCONTROLS_EXPORT CoincidentNodes: public Predicate {
2012-01-23 16:10:55 +00:00
eap
5b637a30b4 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
Read/write CS and units. Use vector instead of map as TDataSet
2012-01-23 08:02:02 +00:00
eap
83219fd4b2 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
+  inline std::string read_line(std::ifstream& in_stream, const bool next=true)
2012-01-23 08:00:37 +00:00
eap
1b141b0cb9 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files 2012-01-23 08:00: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
eap
8a81427a0c 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix GetOrderedNodes() to work if not all edges are meshed
2012-01-18 12:02:44 +00:00
eap
4f5cf5faab 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix merging new and old nodes in case if not all edges are meshed
2012-01-18 12:01:40 +00:00
eap
025e264849 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
1)
+  struct EventProparatorToEdges : public SMESH_subMeshEventListener
2)
+  struct UnsetterOfEventProparatorToEdges
3)
+    // check that all nodes are shared by faces generated on F
2012-01-18 12:00:29 +00:00
eap
5c991bb2b7 0021468: EDF 2073 SMESH: Body-fitting algo creates elements in hole 2012-01-17 13:17:19 +00:00
ana
2633709b28 Fix for the bug IPAL22854: preview is wrong for Create a new mesh 2012-01-16 15:14:07 +00:00
eap
fcf879a78b 0021469: EDF 2074 SMESH: Body fitting algo leads to crash of salome
fix RemoveExcessIntPoints()
2012-01-16 13:53:29 +00:00
ana
253807f5b3 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 15:11:09 +00:00
ana
2bcd50a8b6 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 14:51:43 +00:00
jfa
53a497b9c8 Mantis issue 0021455: [CEA] internal test fails. 2012-01-13 11:18:46 +00:00
eap
3cdf7352b9 0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with NameError exception
1) In _pyMesh::Process(), move submesh creation from the script end
      to the place before its removal
   2) In _pyMesh::Flush(), add indentation to a generated command creating algorithm
2012-01-11 14:14:58 +00:00
eap
17b10b2960 cosmetic changes 2012-01-11 14:11:39 +00:00
eap
9a55aad5ba 0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with NameError exception
fix _pyGen::FindObject() to restore the lost wrapping of hyp creation
2012-01-11 09:50:28 +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
gdd
dc0cbc90ec Rename "Delete Groups" into "Delete Groups with Contents" 2012-01-10 14:55:02 +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
ee7c5d0f83 fix the previous integration 2011-12-16 17:13:39 +00:00
eap
933c23d9cb not to dump GetMeshOrder() 2011-12-16 16:16:27 +00:00
eap
5638e6783f 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+ prepare to 0021439: Dump of study gives bad geom group and stops with NameError exception
2011-12-16 16:14:25 +00:00
eap
faf45035fc 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:34:33 +00:00
eap
5b191ae5dd 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+    def NbBiQuadQuadrangles(self):
+    def NbTriQuadraticHexas(self):
+    def NbHexagonalPrisms(self):
2011-12-16 09:32:19 +00:00
eap
209f475f91 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+  CORBA::Long NbBiQuadQuadrangles()
+  CORBA::Long NbTriQuadraticHexas()
+  CORBA::Long NbHexagonalPrisms()
2011-12-16 09:31:47 +00:00
eap
32a63e97ee 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

In CopyMesh(), copy free nodes as well
2011-12-16 09:30:53 +00:00
eap
41b91cf1c6 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

-#include "SMDS_VolumeTool.hxx"
2011-12-16 09:30:05 +00:00
eap
11f855c30a 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

print driver messages in debug mode only
2011-12-16 09:29:06 +00:00
eap
14a1f50419 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

Do not write poly elements as standard ones
2011-12-16 09:26:40 +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
eap
2380f80cd3 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:14:18 +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
ana
44a302322a Additional fix for the bug 0020944: EDF 1464 SMESH: detection of over-constrained elements of a mesh. 2011-12-15 14:35:34 +00:00
ana
6665afd414 Fix for the bug IPAL22828 TC6.4.0: Displayed entities are wrong 2011-12-15 13:32:32 +00:00
eap
8191e5eb44 0021440: EDF 2040 SMESH: Bug translation of a mesh
do not initialize mesh to translate when specifying 2 points
2011-12-13 07:19:41 +00:00
eap
d9297961f7 0021440: EDF 2040 SMESH: Bug translation of a mesh
GetMediumNode(): use Force3D=true if projection on EDGE fails
2011-12-12 11:00:48 +00:00
vsr
493747e8ea Merge from V6_4_BR 05/12/2011 2011-12-05 11:03:04 +00:00
vsr
ef8432633e Fix make distcheck error (merge from V6_4_BR branch) 2011-11-02 13:24:06 +00:00
boulant
b441d65e90 Reverse the function of guihelper in smeshstudytool 2011-10-28 17:00:01 +00:00
boulant
fb93a51d7d small fix 2011-10-28 16:58:35 +00:00
eap
d3f04bfe6b 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
fix SetParametersByDefaults()
2011-10-28 13:44:03 +00:00
eap
e0125dc5c3 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured 2011-10-28 12:57:18 +00:00
eap
7a8ade40f7 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+  static std::string CheckExpressionFunction( const std::string& expr,
+                                              const int          convMode)
+    throw (SALOME_Exception);
2011-10-28 12:55:48 +00:00
eap
e182c4b354 use new method SMESH_subMesh::GetAlgo() 2011-10-28 12:55:08 +00:00
eap
2c766c3b15 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+	StdMeshers_CartesianParameters3D.hxx \
+	StdMeshers_Cartesian_3D.hxx
2011-10-28 12:53:31 +00:00
eap
1eedac41d2 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
1) 1st version of "body fitting parameters" - to be improved
  2)
+    def BodyFitted(self, geom=0):
+        return Mesh_Cartesian_3D(self,  geom)
2011-10-28 12:52:43 +00:00
eap
edba852a43 + operator<<(const SMESH::string_array& theArg); 2011-10-28 12:51:17 +00:00
eap
66bf37ad1a untabify 2011-10-28 12:50:34 +00:00
eap
72f74a3ee1 + bool IsUsedHypothesis(const SMESHDS_Hypothesis * H) const; 2011-10-28 12:49:19 +00:00
eap
41d7b89b3b 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
1) catch SMESH_ComputeError thrown by algo->Compute()
2)
+  SMESH_Algo* GetAlgo() const;
2011-10-28 12:48:56 +00:00
eap
07f1cc8292 speed up NotifySubMeshesHypothesisModification()
+  if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
+    return;
2011-10-28 12:47:11 +00:00
eap
577f41d12d improve comment 2011-10-28 12:46:32 +00:00
vsr
b6174726d9 Merge from V6_3_BR branch (Windows porting) 27/10/2011 2011-10-27 15:33:35 +00:00
boulant
1d2d4e6bdc IMP: add a guihelper.py module in SMESH_PY (package salome.smesh) for managing the selection of mesh objects in the object browser. 2011-10-27 13:45:47 +00:00
eap
0ee1eb8432 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
SetMesh() to the filter and not to the predicate
2011-10-24 13:13:13 +00:00
eap
8801aa27ed in PublishGroup(), for the standalone groups, set full ot empty icon
depending on availability of elements of type of the group in the mesh
2011-10-24 13:12:22 +00:00
eap
5dda5df854 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
fix filter processing
2011-10-24 13:10:19 +00:00
eap
bbb7b25fa6 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
class _pyGen {
+  Handle(_pyObject) FindObject( const _pyID& theObjID ) const;
2011-10-24 13:09:27 +00:00
eap
dee52cd346 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
class _pyGen {
+  Handle(_pyObject) FindObject( const _pyID& theObjID ) const;
2011-10-24 11:57:06 +00:00
eap
fb68cb5a3d 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Pass the mesh of filter to predicate at setting a mesh and a
      predicate to avoid dump of predicate commands when a group is
      created from GUI
2011-10-24 11:56:13 +00:00
prascle
0cc83ae5e2 PR: compilation on KUbuntu 11.10 2011-10-23 11:10:05 +00:00
eap
1c3b8d413b 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
In CleanDependants(), do not call ComputeStateEngine(CLEAN) of a
dependant subMesh if it IsEmpty() in order to prevent infinite CLEAN
via event lesteners
2011-10-17 09:59:32 +00:00
vsr
26bfcad40a 0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM
Avoid endless recursing in FindCoincidentNodes() function (causing crash)
2011-10-14 15:09:47 +00:00
eap
4df44f5a1e Fix a bug reported to SALOME Forum http://www.salome-platform.org/forum/forum_10/372035859
-      if ( helper.IsSubShape( *e, F ) && BRep_Tool::Curve( *e, loc,f,l))
+      if ( helper.IsSubShape( *e, F ) && !BRep_Tool::Curve( *e, loc,f,l).IsNull() )
2011-10-13 13:08:51 +00:00
eap
f95be2abe0 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells
Forbid 3D mesh on the SHELL
2011-10-13 06:35:00 +00:00
eap
cf76763e47 remove excess includes 2011-10-13 06:08:37 +00:00
eap
bb2db66613 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
fix for projection of a group
2011-10-13 05:35:12 +00:00
eap
669d7d6d0f 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm 2011-10-13 05:35:11 +00:00
eap
9091ead47e use helper.GetCommonAncestor() 2011-10-13 05:34:25 +00:00
eap
5036f6282e 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
/*!
+   * \brief Return nodes in the order they encounter while walking along the side.
+    * For a closed side, the 1st point repeats at end
+   */
+  std::vector<const SMDS_MeshNode*> GetOrderedNodes() const;
2011-10-13 05:31:21 +00:00
eap
678e9eaa31 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
+    def Projection1D2D(self, geom=0):
+        return Mesh_Projection2D(self,  geom, "Projection_1D2D")
2011-10-13 05:28:51 +00:00
eap
ce1fe98019 fix a comment 2011-10-13 05:28:23 +00:00
eap
9484b374c3 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
+  static TopoDS_Shape GetCommonAncestor(const TopoDS_Shape& shape1,
+                                        const TopoDS_Shape& shape2,
+                                        const SMESH_Mesh&   mesh,
+                                        TopAbs_ShapeEnum    ancestorType);

+  std::pair<int, TopAbs_ShapeEnum> GetMediumPos(const SMDS_MeshNode* n1,
+                                                const SMDS_MeshNode* n2);
2011-10-13 05:27:59 +00:00
eap
fb7637f099 0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
set a more human readable name to the filter
2011-10-12 18:06:28 +00:00
eap
7133933036 0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
use tolerance computed basing on min linear size of elements to import
2011-10-07 11:36:22 +00:00
eap
1064303dd1 0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
in _Listener::ProcessEvent(), clear n2n and e2e maps at CLEAN event
2011-10-07 11:35:39 +00:00
eap
bf2f45b258 fix Mesh_UseExistingElements.SourceEdges() 2011-10-06 16:02:40 +00:00
eap
eaff026082 0021371: EDF SMESH: The propagation of elements courbure is sometimes wrong in quadratic conversion with nodes on geometry
In FixQuadraticElements(), enhance detection of straight links
2011-10-06 16:01:08 +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
eap
bc5760bd4e untabify 2011-10-06 12:10:14 +00:00
eap
e30e0260ae 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
Redesign to work with composite cube edges

0021369: EDF SMESH: Meshing of a cube in hexas fails
    fix defining orientation of a side in case of reversed wire
2011-10-06 09:46:34 +00:00
eap
1f44408d18 untabify 2011-10-06 09:43:59 +00:00
eap
59786ee5ea 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
+  const std::vector<TopoDS_Edge>& Edges() const { return myEdge; }
2011-10-06 09:43:30 +00:00
eap
9ff48e7e76 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
Redesign LoadNodeColumns() to work with a composite base side
2011-10-06 09:42:51 +00:00
eap
d36c35f9a2 fix comment 2011-10-06 09:39:29 +00:00
vsr
6dce27e43b 0021359: [CEA] Mesh information
Additional minor changes: fix bad layout; fix wrong statement
2011-10-05 08:39:05 +00:00
gdd
2dbfdb63ff Additional information:
Number of underlying nodes => Underlying nodes
2011-10-05 08:37:54 +00:00
gdd
23a8638194 Additional information:
Number of nodes => Number of underlying nodes
2011-10-05 08:28:05 +00:00
eap
f734fda203 0020716: EDF 1229 SMESH : Improvement of reversed edges dialog box
+def FirstVertexOnCurve(edge):
+    def ReversedEdgeIndices(self, reverseList):
2011-10-05 08:15:51 +00:00
gdd
c0ac1b2932 Update French resource file 2011-10-05 06:16:34 +00:00
vsr
f107eb7da4 0021275: EDF 1681 SMESH: Find the number of nodes of any group
0021359: [CEA] Mesh information
2011-10-04 14:19:30 +00:00
eap
fe3063e74b 0021275: EDF 1681 SMESH: Find the number of nodes of any group
remove 100000 limit
2011-10-04 14:01:58 +00:00
vsr
a75dad97e1 0021275: EDF 1681 SMESH: Find the number of nodes of any group
0021359: [CEA] Mesh information
2011-10-04 13:24:48 +00:00
vsr
5d42bfdbec 0021275: EDF 1681 SMESH: Find the number of nodes of any group
0021359: [CEA] Mesh information
2011-10-04 13:14:47 +00:00
eap
4fc70c1e15 in GetCriterion(), check enumeration type of Treshold and CritType 2011-10-04 09:02:21 +00:00
eap
89e2fe991e 0021275: EDF 1681 SMESH: Find the number of nodes of any group
fix GetTic()
2011-10-04 08:53:35 +00:00
eap
c39387f140 untabify 2011-10-04 07:19:13 +00:00
eap
af3090f59b 0021275: EDF 1681 SMESH: Find the number of nodes of any group
+  virtual int GetTic() const;
2011-10-04 07:17:28 +00:00
eap
044576569d 0021275: EDF 1681 SMESH: Find the number of nodes of any group
+    long GetNumberOfNodes();
+    long_array GetNodeIDs();
+    boolean IsNodeInfoAvailable();
2011-10-04 07:17:02 +00:00
rnv
a1f18f175a Additional fix for the "20984: EDF 1566 SMESH: Better visibility of the elements in a shrinked representation" issue. 2011-10-03 07:52:38 +00:00
rnv
3bf038b8b5 Implementation of the issue 20984: EDF 1566 SMESH: Better visibility of the elements in a shrinked representation. 2011-09-28 11:36:47 +00:00
rnv
48a0df2a9e Implementation of the issue 20984: EDF 1566 SMESH: Better visibility of the elements in a shrinked representation. 2011-09-28 08:43:35 +00:00
rnv
6722eec5f5 Implementation of the issue 21285: EDF 1877 SMESH: Color of groups is only visible on one side. 2011-09-26 10:41:06 +00:00
rnv
92675bafdf Implementation of the issue 21276: EDF 1857 SMESH: Order of algorithms in the combobox 2011-09-22 11:56:53 +00:00
rnv
4a818e20d5 Fix for the issue "21356: EDF 1705 SMESH: Extrusion along a path using a mesh w/o geometry". 2011-09-22 07:07:55 +00:00
eap
0f954310b4 0021363: EDF 1957 SMESH: Use of viscous layers with BLSURF
fix up incorrect uv of nodes on the FACE
2011-09-20 08:08:23 +00:00
rnv
d5627df2d4 Additional modifications for the "20494: EDF 1123 KERNEL/GUI : Improvment of 'About' dialog box." issue. 2011-09-16 06:22:33 +00:00
eap
9243678000 0021358: [CEA 500] SMESH HEXAHEDRA from 2D quad skin detect a error
Fix detection of corner nodes for blocks of size 1x1x1
2011-09-14 08:49:33 +00:00
gdd
9b32250146 Convert text to Qt::tr 2011-09-14 08:42:44 +00:00
rnv
9d3b3bf258 Implementation of the "20494: EDF 1123 KERNEL/GUI : Improvment of 'About' dialog box" issue. 2011-09-13 09:03:12 +00:00
gdd
9116958a2b Update Hexotic doc and remove some MESSAGE 2011-09-06 14:40:22 +00:00
eap
efd5d0e9d1 Fix error message for the case of adjacent faces with triangular elements 2011-09-05 07:16:47 +00:00
gdd
55f8593d0d Comment MESSAGE 2011-09-02 14:04:37 +00:00
gdd
03bbe4915a Update wrapping for BLSURFPLUGIN and GHS3DPLUGIN hypothesis 2011-09-02 11:58:22 +00:00
gdd
bff1e1c08e Remove message 2011-09-02 11:57:46 +00:00
gdd
42735de02e Fix and update translation files 2011-09-01 13:40:01 +00:00
eap
6d8aa3f0c8 Fix the bug reported at the SALOME forum http://salome-platform.org/forum/forum_10/510395693
map scale distribution of parameter to edge length
2011-09-01 11:34:43 +00:00
eap
7eb6cc5064 Fix a bug reported at the SALOME forum http://www.salome-platform.org/forum/forum_10/156409406
-  bool ok;
+  bool ok = true;
2011-08-30 10:59:48 +00:00
gdd
b19b5319ed PreCAD: minor change in function doc 2011-08-29 12:57:50 +00:00
eap
dad3caa028 0021348: EDF 1944 SMESH: Problem to assign a3D algorithm on a mixt 2D/3D shape
fix defining shape dimension
2011-08-25 09:25:27 +00:00
eap
48da63cb03 bug of NbElements() which misses nb of SEG2 elements 2011-08-24 17:03:36 +00:00
gdd
852a987961 PreCAD: add wrapping to SetPreCADOptionValue(optin,value) 2011-08-24 08:16:19 +00:00
gdd
0fdb0ecc07 PreCAD 2011-08-23 08:47:39 +00:00
eap
b9a943c613 021346: EDF 1938 SMESH: "Use existing elements" functionality
fix the bug that edges on the seam edges are not created
2011-08-22 08:44:59 +00:00
eap
6f68ffe5b7 021346: EDF 1938 SMESH: "Use existing elements" functionality
fix comments
2011-08-22 08:44:12 +00:00
eap
e7f669eb81 021346: EDF 1938 SMESH: "Use existing elements" functionality
In Load(), call hyp->UpdateAsMeshesRestored() before submesh->ComputeStateEngine(SUBMESH_RESTORED)
2011-08-22 08:43:48 +00:00
eap
01eee42f01 021346: EDF 1938 SMESH: "Use existing elements" functionality
Improve comments
2011-08-22 07:36:31 +00:00
eap
2edfe63af3 0021345: EDF 1936 : Problem in submeshes management
In ProcessEvent(), fix detection of algo removal
2011-08-19 12:38:38 +00:00
eap
2d61b98c65 0021345: EDF 1936 : Problem in submeshes management
+  static std::string AlgoName();
2011-08-19 12:37:32 +00:00
eap
c267141b79 Fix a bug reported to SALOME forum at "Bug: Salome 6.3.1 Auto Tetrahedron meshing" discussion 2011-08-19 12:36:55 +00:00
eap
e8367fb018 Add SMESHUtils to DIST_SUBDIRS 2011-08-17 07:55:17 +00:00
eap
6e690a66ae Fix for platforms where conversion int -> cgsize_t does not work 2011-08-16 07:49:49 +00:00
eap
9358bbf48e - ../Driver/libSMESHUtils.la
+	../SMESHUtils/libSMESHUtils.la
2011-08-16 07:46:26 +00:00
vsr
ca435d2f6b Merge from V6_3_BR 12/08/2011 2011-08-12 15:16:02 +00:00
jfa
33fc29c42a Porting to OCCT6.5.1 2011-08-12 13:12:13 +00:00
rnv
012489a7e9 Win32 compilation. 2011-08-12 08:21:18 +00:00
rnv
d8ff2c2e8b Fix for the bug "IPAL22690 time stamp popup is wrong after work in Mesh". 2011-08-12 08:18:03 +00:00
jfa
d566947c69 Porting to OCCT6.5.1 2011-08-11 13:54:07 +00:00
eap
39841ffadd 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
make CGNS library an optional prerequisite
2011-08-11 11:38:37 +00:00
eap
54d766ea04 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Fix ExportCGNS()
2011-08-10 12:49:49 +00:00
eap
34bcb9e1fb 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported 2011-08-10 12:49:26 +00:00
eap
52749e3d7f 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported 2011-08-10 10:33:38 +00:00
eap
8fd7836b55 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../SMESHDS \
2011-08-10 10:29:41 +00:00
eap
17e2284321 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  SMESH::mesh_array* CreateMeshesFromCGNS( const char* theFileName,
+                                           SMESH::DriverMED_ReadStatus& theStatus )
2011-08-10 10:28:52 +00:00
eap
f1b9e57c55 In StringToFunctorType(), return FT_Undefined for an invalid input 2011-08-10 10:27:45 +00:00
eap
339862d49c 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../DriverCGNS \
+	-I$(srcdir)/../SMESHUtils \
2011-08-10 10:22:48 +00:00
eap
dadf483025 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../SMESHUtils \
2011-08-10 10:21:21 +00:00
eap
77ea3f0fc9 strip trailing white spaces of the object name 2011-08-10 10:21:05 +00:00
eap
418c46e962 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Move general utils independent of SMESH data structures to SMESHUtils
2011-08-10 10:18:40 +00:00
eap
b87bbe0ce5 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	SMESHUtils \
+	DriverCGNS \
2011-08-10 10:18:09 +00:00
eap
4913698067 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  SMESH_Group (SMESHDS_GroupBase* groupDS);
2011-08-10 10:17:44 +00:00
eap
111c7a0cd2 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported 2011-08-10 10:17:29 +00:00
eap
e17197e86b 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Remove stub files

-	DriverUNV_R_SMESHDS_Mesh.cxx \
-	DriverUNV_R_SMESHDS_Document.cxx \
-	DriverUNV_W_SMESHDS_Document.cxx \
-	DriverUNV_W_SMESHDS_Mesh.cxx \
2011-08-10 10:14:20 +00:00
eap
4d40b01642 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../SMESHUtils \
2011-08-10 10:13:50 +00:00
eap
6479700566 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Remove stub files

-	DriverMED_R_SMDS_Mesh.cxx \
-	DriverMED_R_SMESHDS_Document.cxx \
-	DriverMED_W_SMDS_Mesh.cxx \
-	DriverMED_W_SMESHDS_Document.cxx \
2011-08-10 10:13:23 +00:00
eap
f54d16f2aa 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Remove stub files

-	DriverDAT_R_SMESHDS_Mesh.cxx \
-	DriverDAT_R_SMESHDS_Document.cxx \
-	DriverDAT_W_SMDS_Mesh.cxx \
-	DriverDAT_W_SMESHDS_Mesh.cxx \
-	DriverDAT_W_SMESHDS_Document.cxx
2011-08-10 10:12:00 +00:00
eap
75bac8d6f5 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported 2011-08-10 10:10:26 +00:00
eap
ab30ed84d6 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Move SMESH_Controls.hxx from src/Controls to avoid mutual
    dependency between SMESHDS and Controls
2011-08-10 10:10:03 +00:00
eap
6725a9aa57 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  virtual void SetMeshName(const std::string& theMeshName);
+  virtual std::string GetMeshName() const;
+  Status addMessage(const std::string& msg, const bool isFatal=false);
2011-08-10 10:09:22 +00:00
eap
109378a75d 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
more comments
2011-08-10 10:05:12 +00:00
eap
55fc6f9383 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+  // Groups. SMESHDS_Mesh is not an owner of groups
2011-08-10 10:04:47 +00:00
eap
2ddb295e4a 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
-  virtual int Extent();
+  virtual int Extent() const;
2011-08-10 10:04:00 +00:00
eap
4f20185178 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
Move SMESH_Controls.hxx from src/Controls to avoid mutual
    dependency between SMESHDS and Controls
2011-08-10 09:58:51 +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
e062bbd055 0021343: EDF 1930 SMESH: Huge memory occupation when assigning an hypothesis to a big model 2011-08-09 08:39:43 +00:00
vsr
38b9ea6198 0021343: EDF 1930 SMESH: Huge memory occupation when assigning an hypothesis to a big model 2011-08-09 07:46:44 +00:00