Commit Graph

1689 Commits

Author SHA1 Message Date
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
eap
577f41d12d improve comment 2011-10-28 12:46:32 +00:00
eap
7dc21166b6 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+    <hypothesis type="CartesianParameters3D"
+                label-id="Body Fitting Parameters"
+                icon-id="mesh_hypo_length.png"
+                dim="3"/>
+

+    <algorithm type="Cartesian_3D"
+               label-id="Body Fitting"
+               icon-id="mesh_algo_hexa.png"
+               hypos="CartesianParameters3D"
+               support-submeshes="false"
+               dim="3"/>
2011-10-28 12:30:20 +00:00
eap
e53afe57b7 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+  interface StdMeshers_CartesianParameters3D : SMESH::SMESH_Hypothesis
+  interface StdMeshers_Cartesian_3D : SMESH::SMESH_3D_Algo
2011-10-28 12:29:43 +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
vsr
c17a5bee7b 0021410: EDF 2007 SMESH: Problem with the formula of aspect ratio 3D 2011-10-26 11:51:35 +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