Salome HOME
modules/smesh.git
12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Thu, 26 Jan 2012 16:03:40 +0000 (16:03 +0000)]
0021338: EDF 1926 SMESH: New controls and filters

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Thu, 26 Jan 2012 16:02:10 +0000 (16:02 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
     Return all nodes from sub-mesh and group

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Thu, 26 Jan 2012 15:58:58 +0000 (15:58 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
+  class SMESH_I_EXPORT EqualNodes_i: public virtual POA_SMESH::EqualNodes,
+  class SMESH_I_EXPORT EqualEdges_i: public virtual POA_SMESH::EqualEdges,
+  class SMESH_I_EXPORT EqualFaces_i: public virtual POA_SMESH::EqualFaces,

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Thu, 26 Jan 2012 15:57:56 +0000 (15:57 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
    Correctly set mesh modified at transformations

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Thu, 26 Jan 2012 15:56:22 +0000 (15:56 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
+    /*!
+     * \brief Class used to detect mesh modification: IsMeshModified() returns
+     * true if a mesh has changed since last calling IsMeshModified()
+     */
+    class SMESHCONTROLS_EXPORT TMeshModifTracer

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Thu, 26 Jan 2012 15:32:57 +0000 (15:32 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
   Call myPredicate->SetMesh( GetMesh() ) in order to let him update
   his data according to a changed mesh

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Thu, 26 Jan 2012 15:31:11 +0000 (15:31 +0000)]
0021338: EDF 1926 SMESH: New controls and filters

12 years agoFix removal of free nodes
eap [Thu, 26 Jan 2012 11:24:22 +0000 (11:24 +0000)]
Fix removal of free nodes

12 years agoFix RemoveOrphanNodes() to return valid nb of removed nodes
eap [Thu, 26 Jan 2012 11:06:16 +0000 (11:06 +0000)]
Fix RemoveOrphanNodes() to return valid nb of removed nodes

12 years ago0021484: EDF 2087 SMESH: Problem projection
eap [Wed, 25 Jan 2012 12:19:58 +0000 (12:19 +0000)]
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);

12 years ago0021484: EDF 2087 SMESH: Problem projection
eap [Wed, 25 Jan 2012 12:18:02 +0000 (12:18 +0000)]
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);

12 years ago0021484: EDF 2087 SMESH: Problem projection
eap [Wed, 25 Jan 2012 07:37:32 +0000 (07:37 +0000)]
0021484: EDF 2087 SMESH: Problem projection
  Check orientation of faces after simple cases of projection as well

12 years ago0021481: [CEA 538] autoconf and med 3
vsr [Tue, 24 Jan 2012 14:59:27 +0000 (14:59 +0000)]
0021481: [CEA 538] autoconf and med 3

12 years ago0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
eap [Tue, 24 Jan 2012 13:01:34 +0000 (13:01 +0000)]
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
  In ~TPreviewMesh(), nullify _myMeshDS after destruction

12 years ago0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
eap [Tue, 24 Jan 2012 13:00:47 +0000 (13:00 +0000)]
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
  In RemoveMesh(), do not erase an iterator pointing to map.end()

12 years ago0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
eap [Tue, 24 Jan 2012 12:59:44 +0000 (12:59 +0000)]
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
  In destructor, delete all data and delete mesh DS in a thread

12 years ago0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
eap [Tue, 24 Jan 2012 12:58:12 +0000 (12:58 +0000)]
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;

12 years ago0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
eap [Tue, 24 Jan 2012 12:57:05 +0000 (12:57 +0000)]
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
+ $(BOOST_LIB_THREAD)  \

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Tue, 24 Jan 2012 06:41:04 +0000 (06:41 +0000)]
0021338: EDF 1926 SMESH: New controls and filters

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Mon, 23 Jan 2012 16:15:27 +0000 (16:15 +0000)]
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;

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Mon, 23 Jan 2012 16:15:07 +0000 (16:15 +0000)]
0021338: EDF 1926 SMESH: New controls and filters

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Mon, 23 Jan 2012 16:15:00 +0000 (16:15 +0000)]
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;

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Mon, 23 Jan 2012 16:14:27 +0000 (16:14 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
+ -I$(srcdir)/../SMESHUtils

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Mon, 23 Jan 2012 16:13:53 +0000 (16:13 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
    in SMESH_SubMeshObj::UpdateFunctor() set a part of mesh to eCoincident* functors

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Mon, 23 Jan 2012 16:12:32 +0000 (16:12 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
+   eCoincidentNodes, eCoincidentElems1D, eCoincidentElems2D, eCoincidentElems3D };

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Mon, 23 Jan 2012 16:10:55 +0000 (16:10 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
+    class SMESHCONTROLS_EXPORT CoincidentElements: public Predicate {
+    class SMESHCONTROLS_EXPORT CoincidentNodes: public Predicate {

12 years ago0021338: EDF 1926 SMESH: New controls and filters
eap [Mon, 23 Jan 2012 16:10:06 +0000 (16:10 +0000)]
0021338: EDF 1926 SMESH: New controls and filters
+ mesh_equal_edge.png \
+ mesh_equal_face.png \
+ mesh_equal_node.png \
+ mesh_equal_volume.png \

12 years ago0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
eap [Mon, 23 Jan 2012 08:02:02 +0000 (08:02 +0000)]
0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
   Read/write CS and units. Use vector instead of map as TDataSet

12 years ago0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
eap [Mon, 23 Jan 2012 08:00:37 +0000 (08:00 +0000)]
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)

12 years ago0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
eap [Mon, 23 Jan 2012 08:00:05 +0000 (08:00 +0000)]
0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files

12 years ago0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
eap [Wed, 18 Jan 2012 12:42:06 +0000 (12:42 +0000)]
0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
  fix GetMediumPos() to return EDGE instead of FACE for 2 VERTEXes

12 years agoAdd "const char* name" argument to consrtucctor of SMESH_subMeshEventListener
eap [Wed, 18 Jan 2012 12:07:14 +0000 (12:07 +0000)]
Add "const char* name" argument to consrtucctor of  SMESH_subMeshEventListener

12 years ago0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
eap [Wed, 18 Jan 2012 12:02:44 +0000 (12:02 +0000)]
0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
  fix GetOrderedNodes() to work if not all edges are meshed

12 years ago0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
eap [Wed, 18 Jan 2012 12:01:40 +0000 (12:01 +0000)]
0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
  fix merging new and old nodes in case if not all edges are meshed

12 years ago0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
eap [Wed, 18 Jan 2012 12:00:29 +0000 (12:00 +0000)]
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

12 years ago0021468: EDF 2073 SMESH: Body-fitting algo creates elements in hole
eap [Tue, 17 Jan 2012 13:17:19 +0000 (13:17 +0000)]
0021468: EDF 2073 SMESH: Body-fitting algo creates elements in hole

12 years agoFix for the bug IPAL22854: preview is wrong for Create a new mesh
ana [Mon, 16 Jan 2012 15:14:07 +0000 (15:14 +0000)]
Fix for the bug IPAL22854: preview is wrong for Create a new mesh

12 years ago0021469: EDF 2074 SMESH: Body fitting algo leads to crash of salome
eap [Mon, 16 Jan 2012 13:53:29 +0000 (13:53 +0000)]
0021469: EDF 2074 SMESH: Body fitting algo leads to crash of salome
   fix RemoveExcessIntPoints()

12 years agoFix for the bug IPAL22851: Sub-shapes spelling
ana [Fri, 13 Jan 2012 15:11:09 +0000 (15:11 +0000)]
Fix for the bug IPAL22851: Sub-shapes spelling

12 years agoFix for the bug IPAL22851: Sub-shapes spelling
ana [Fri, 13 Jan 2012 14:51:43 +0000 (14:51 +0000)]
Fix for the bug IPAL22851: Sub-shapes spelling

12 years agoFix for the bug IPAL22851: Sub-shapes spelling
ana [Fri, 13 Jan 2012 14:37:34 +0000 (14:37 +0000)]
Fix for the bug IPAL22851: Sub-shapes spelling

12 years agoMantis issue 0021455: [CEA] internal test fails.
jfa [Fri, 13 Jan 2012 11:18:46 +0000 (11:18 +0000)]
Mantis issue 0021455: [CEA] internal test fails.

12 years ago0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with...
eap [Wed, 11 Jan 2012 14:14:58 +0000 (14:14 +0000)]
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

12 years agocosmetic changes
eap [Wed, 11 Jan 2012 14:11:39 +0000 (14:11 +0000)]
cosmetic changes

12 years ago0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with...
eap [Wed, 11 Jan 2012 09:50:28 +0000 (09:50 +0000)]
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

12 years ago0021330: EDF 1919 SMESH: Convert to quadratic gives wrong elements
eap [Wed, 11 Jan 2012 08:43:41 +0000 (08:43 +0000)]
0021330: EDF 1919 SMESH: Convert to quadratic gives wrong elements
    fix convertElemToQuadratic()

12 years ago0021270: EDF 1870 SMESH: ExtrusionAlongPathObjX + Merge nodes remove 3D elements
eap [Wed, 11 Jan 2012 08:15:48 +0000 (08:15 +0000)]
0021270: EDF 1870 SMESH: ExtrusionAlongPathObjX + Merge nodes remove 3D elements
    in MergeNodes(), fix detection of replaced nodes of an elem

12 years agoRename "Delete Groups" into "Delete Groups with Contents"
gdd [Tue, 10 Jan 2012 14:55:02 +0000 (14:55 +0000)]
Rename "Delete Groups" into "Delete Groups with Contents"

12 years ago0021457: [CEA] import check_mesh stability
eap [Tue, 10 Jan 2012 14:36:48 +0000 (14:36 +0000)]
0021457: [CEA] import check_mesh stability
    in Transform(), reverse elements only if needed

12 years agoPorting to OCCT development version: Standard_PI -> M_PI
jfa [Mon, 26 Dec 2011 13:07:08 +0000 (13:07 +0000)]
Porting to OCCT development version: Standard_PI -> M_PI

12 years agofix the previous integration
eap [Fri, 16 Dec 2011 17:13:39 +0000 (17:13 +0000)]
fix the previous integration

12 years agonot to dump GetMeshOrder()
eap [Fri, 16 Dec 2011 16:16:27 +0000 (16:16 +0000)]
not to dump GetMeshOrder()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 16:14:25 +0000 (16:14 +0000)]
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

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:34:33 +0000 (09:34 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:32:19 +0000 (09:32 +0000)]
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):

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:31:47 +0000 (09:31 +0000)]
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()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:30:53 +0000 (09:30 +0000)]
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

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:30:05 +0000 (09:30 +0000)]
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"

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:29:06 +0000 (09:29 +0000)]
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

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:26:40 +0000 (09:26 +0000)]
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

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:22:06 +0000 (09:22 +0000)]
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()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:21:35 +0000 (09:21 +0000)]
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()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:14:54 +0000 (09:14 +0000)]
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);

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:14:18 +0000 (09:14 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:13:11 +0000 (09:13 +0000)]
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

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:11:16 +0000 (09:11 +0000)]
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

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:09:24 +0000 (09:09 +0000)]
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

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:07:56 +0000 (09:07 +0000)]
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:06:23 +0000 (09:06 +0000)]
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;

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:05:48 +0000 (09:05 +0000)]
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)

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:05:14 +0000 (09:05 +0000)]
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()

12 years ago0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
eap [Fri, 16 Dec 2011 09:02:39 +0000 (09:02 +0000)]
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,

12 years agornc: EDF 2050 -> documentation added to explain the way to work with objects fecthed...
gdd [Thu, 15 Dec 2011 17:01:55 +0000 (17:01 +0000)]
rnc: EDF 2050 -> documentation added to explain the way to work with objects fecthed from GUI in the Python console

12 years agoAdditional fix for the bug 0020944: EDF 1464 SMESH: detection of over-constrained...
ana [Thu, 15 Dec 2011 14:35:34 +0000 (14:35 +0000)]
Additional fix for the bug 0020944: EDF 1464 SMESH: detection of over-constrained elements of a mesh.

12 years agoFix for the bug IPAL22828 TC6.4.0: Displayed entities are wrong
ana [Thu, 15 Dec 2011 13:32:32 +0000 (13:32 +0000)]
Fix for the bug IPAL22828 TC6.4.0: Displayed entities are wrong

12 years ago0021440: EDF 2040 SMESH: Bug translation of a mesh
eap [Tue, 13 Dec 2011 07:19:41 +0000 (07:19 +0000)]
0021440: EDF 2040 SMESH: Bug translation of a mesh
   do not initialize mesh to translate when specifying 2 points

12 years ago0021440: EDF 2040 SMESH: Bug translation of a mesh
eap [Mon, 12 Dec 2011 11:00:48 +0000 (11:00 +0000)]
0021440: EDF 2040 SMESH: Bug translation of a mesh
   GetMediumNode(): use Force3D=true if projection on EDGE fails

12 years agoMerge from V6_4_BR 05/12/2011
vsr [Mon, 5 Dec 2011 11:03:04 +0000 (11:03 +0000)]
Merge from V6_4_BR 05/12/2011

12 years agoFix make distcheck error (merge from V6_4_BR branch)
vsr [Wed, 2 Nov 2011 13:24:06 +0000 (13:24 +0000)]
Fix make distcheck error (merge from V6_4_BR branch)

12 years agoReverse the function of guihelper in smeshstudytool
boulant [Fri, 28 Oct 2011 17:00:01 +0000 (17:00 +0000)]
Reverse the function of guihelper in smeshstudytool

12 years agosmall fix
boulant [Fri, 28 Oct 2011 16:58:35 +0000 (16:58 +0000)]
small fix

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured V6_4_0a1
eap [Fri, 28 Oct 2011 13:44:03 +0000 (13:44 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
 fix SetParametersByDefaults()

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:57:18 +0000 (12:57 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:55:48 +0000 (12:55 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

+  static std::string CheckExpressionFunction( const std::string& expr,
+                                              const int          convMode)
+    throw (SALOME_Exception);

12 years agouse new method SMESH_subMesh::GetAlgo()
eap [Fri, 28 Oct 2011 12:55:08 +0000 (12:55 +0000)]
use new method SMESH_subMesh::GetAlgo()

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:53:31 +0000 (12:53 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

+ StdMeshers_CartesianParameters3D.hxx \
+ StdMeshers_Cartesian_3D.hxx

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:52:43 +0000 (12:52 +0000)]
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)

12 years ago+ operator<<(const SMESH::string_array& theArg);
eap [Fri, 28 Oct 2011 12:51:17 +0000 (12:51 +0000)]
+    operator<<(const SMESH::string_array& theArg);

12 years agountabify
eap [Fri, 28 Oct 2011 12:50:34 +0000 (12:50 +0000)]
untabify

12 years ago+ bool IsUsedHypothesis(const SMESHDS_Hypothesis * H) const;
eap [Fri, 28 Oct 2011 12:49:19 +0000 (12:49 +0000)]
+  bool IsUsedHypothesis(const SMESHDS_Hypothesis * H) const;

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:48:56 +0000 (12:48 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
1) catch SMESH_ComputeError thrown by algo->Compute()
2)
+  SMESH_Algo* GetAlgo() const;

12 years agospeed up NotifySubMeshesHypothesisModification()
eap [Fri, 28 Oct 2011 12:47:11 +0000 (12:47 +0000)]
speed up NotifySubMeshesHypothesisModification()

+  if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
+    return;

12 years agoimprove comment
eap [Fri, 28 Oct 2011 12:46:32 +0000 (12:46 +0000)]
improve comment

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:30:20 +0000 (12:30 +0000)]
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"/>

12 years ago0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
eap [Fri, 28 Oct 2011 12:29:43 +0000 (12:29 +0000)]
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured

+  interface StdMeshers_CartesianParameters3D : SMESH::SMESH_Hypothesis
+  interface StdMeshers_Cartesian_3D : SMESH::SMESH_3D_Algo

12 years agoMerge from V6_3_BR branch (Windows porting) 27/10/2011
vsr [Thu, 27 Oct 2011 15:33:35 +0000 (15:33 +0000)]
Merge from V6_3_BR branch (Windows porting) 27/10/2011

12 years agoIMP: add a guihelper.py module in SMESH_PY (package salome.smesh) for managing the...
boulant [Thu, 27 Oct 2011 13:45:47 +0000 (13:45 +0000)]
IMP: add a guihelper.py module in SMESH_PY (package salome.smesh) for managing the selection of mesh objects in the object browser.

12 years ago0021410: EDF 2007 SMESH: Problem with the formula of aspect ratio 3D
vsr [Wed, 26 Oct 2011 11:51:35 +0000 (11:51 +0000)]
0021410: EDF 2007 SMESH: Problem with the formula of aspect ratio 3D

12 years ago0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
eap [Mon, 24 Oct 2011 13:13:13 +0000 (13:13 +0000)]
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
   SetMesh() to the filter and not to the predicate

12 years agoin PublishGroup(), for the standalone groups, set full ot empty icon
eap [Mon, 24 Oct 2011 13:12:22 +0000 (13:12 +0000)]
in PublishGroup(), for the standalone groups, set full ot empty icon
depending on availability of elements of type of the group in the mesh