Commit Graph

1922 Commits

Author SHA1 Message Date
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
a26c2ead1f 0021338: EDF 1926 SMESH: New controls and filters
+	mesh_equal_edge.png \
+	mesh_equal_face.png \
+	mesh_equal_node.png \
+	mesh_equal_volume.png \
2012-01-23 16:10:06 +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
ana
61b2416dce Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 14:37:34 +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