Commit Graph

1552 Commits

Author SHA1 Message Date
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
gdd
352e0ac1ff rnc: EDF 2050 -> documentation added to explain the way to work with objects fecthed from GUI in the Python console 2011-12-15 17:01:55 +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