]> SALOME platform Git repositories - modules/smesh.git/log
Salome HOME
modules/smesh.git
17 years agoPAL16774 (Crash after display of many groups)
eap [Wed, 3 Oct 2007 14:44:12 +0000 (14:44 +0000)]
PAL16774 (Crash after display of many groups)
    implement destructor

17 years agoPAL14858 (The Mesh Info Dialog Box is too slow)
eap [Tue, 2 Oct 2007 12:49:54 +0000 (12:49 +0000)]
PAL14858 (The Mesh Info Dialog Box is too slow)
    fix mesh update

17 years agoPAL17091 ("Mesh Infos" dlg shows wrong number of quadrangles of the computed mesh)
eap [Tue, 2 Oct 2007 12:12:45 +0000 (12:12 +0000)]
PAL17091 ("Mesh Infos" dlg shows wrong number of quadrangles of the computed mesh)
    take into account element type change at merging nodes

17 years agoChange version to 3.2.8 V3_2_8rc1
maintenance team [Fri, 28 Sep 2007 09:11:25 +0000 (09:11 +0000)]
Change version to 3.2.8

17 years agoPAL16567(problem with extrusion 3D, Propagation 2D when the source fase isn't planar)
eap [Wed, 26 Sep 2007 10:01:01 +0000 (10:01 +0000)]
PAL16567(problem with extrusion 3D, Propagation 2D when the source fase isn't planar)
-  int    myFaceIndex = -1;
-  double myFaceParam = 0.;
+  myFaceIndex = -1;
+  myFaceParam = 0.;

17 years agoPAL14858 (The Mesh Info Dialog Box is too slow)
eap [Wed, 26 Sep 2007 09:55:53 +0000 (09:55 +0000)]
PAL14858 (The Mesh Info Dialog Box is too slow)
    fix the previous integration

17 years agoPAL14858 (The Mesh Info Dialog Box is too slow)
eap [Tue, 25 Sep 2007 08:41:04 +0000 (08:41 +0000)]
PAL14858 (The Mesh Info Dialog Box is too slow)
    replace ::SMESH_Mesh::ElementOrder with SMDSAbs_ElementOrder

17 years agoPAL14858 (The Mesh Info Dialog Box is too slow)
eap [Tue, 25 Sep 2007 08:40:02 +0000 (08:40 +0000)]
PAL14858 (The Mesh Info Dialog Box is too slow)
    use SMDS_MeshInfo to nkow nb of entities

17 years agoPAL14858 (The Mesh Info Dialog Box is too slow)
eap [Tue, 25 Sep 2007 08:38:47 +0000 (08:38 +0000)]
PAL14858 (The Mesh Info Dialog Box is too slow)
+  SMDS_MeshInfo          myInfo;

17 years agoPAL14858 (The Mesh Info Dialog Box is too slow)
eap [Tue, 25 Sep 2007 08:37:59 +0000 (08:37 +0000)]
PAL14858 (The Mesh Info Dialog Box is too slow)
+enum SMDSAbs_ElementOrder {
+  ORDER_ANY,          /*! entities of any order */
+  ORDER_LINEAR,       /*! entities of 1st order */
+  ORDER_QUADRATIC     /*! entities of 2nd order */
+};

17 years agoPAL14858 (The Mesh Info Dialog Box is too slow)
eap [Tue, 25 Sep 2007 08:34:52 +0000 (08:34 +0000)]
PAL14858 (The Mesh Info Dialog Box is too slow)
+ SMDS_MeshInfo.hxx

17 years agoPAL16631 (SALOME crash after a mesh computation failed due to lack of memory) T_reliquat_2007
eap [Mon, 24 Sep 2007 13:37:26 +0000 (13:37 +0000)]
PAL16631 (SALOME crash after a mesh computation failed due to lack of memory)

17 years agoPAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
eap [Mon, 24 Sep 2007 13:20:19 +0000 (13:20 +0000)]
PAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
   use SMDS_MemoryLimit in CheckMemory() to know a lower memory limit

17 years agoPAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
eap [Mon, 24 Sep 2007 13:16:09 +0000 (13:16 +0000)]
PAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
+BIN = SMDS_MemoryLimit

17 years agoPAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
eap [Mon, 24 Sep 2007 13:01:13 +0000 (13:01 +0000)]
PAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
-  void Update(const Handle(SALOME_InteractiveObject)& theIO,
+  bool Update(const Handle(SALOME_InteractiveObject)& theIO,

17 years agoPAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
eap [Mon, 24 Sep 2007 12:58:37 +0000 (12:58 +0000)]
PAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
  fix misspelling

17 years ago+ SMDS_Mesh::CheckMemory(); // PAL16631
eap [Mon, 24 Sep 2007 12:56:45 +0000 (12:56 +0000)]
+  SMDS_Mesh::CheckMemory(); // PAL16631

17 years ago+ SMDS_Mesh::CheckMemory(); // PAL16631
eap [Mon, 24 Sep 2007 12:49:24 +0000 (12:49 +0000)]
+  SMDS_Mesh::CheckMemory(); // PAL16631

17 years agoFix for Bug NPAL16771(EDF 556 SMESH : Can't select some groups of nodes in the VTK... T_24092007
mzn [Fri, 14 Sep 2007 13:49:45 +0000 (13:49 +0000)]
Fix for Bug NPAL16771(EDF 556 SMESH : Can't select some groups of nodes in the VTK view).

17 years agoPAL16892 (impossible to create Distribution of Layers hypothesis, for Radial Prism...
eap [Tue, 11 Sep 2007 13:31:46 +0000 (13:31 +0000)]
PAL16892 (impossible to create Distribution of Layers hypothesis, for Radial Prism 3D algorithm)
-  myHypTypes = SMESH::GetAvailableHypotheses( false, 0 );
+  myHypTypes = SMESH::GetAvailableHypotheses( false, 1 );

17 years ago+ // PAL16857(SMESH not conform to the MED convention):
eap [Tue, 11 Sep 2007 06:52:16 +0000 (06:52 +0000)]
+        // PAL16857(SMESH not conform to the MED convention):
+        if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane
+          aMeshDimension = 3;

17 years agoPAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack...
eap [Mon, 10 Sep 2007 14:24:01 +0000 (14:24 +0000)]
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
    Catch exceptions during visualization

17 years agoPAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack...
eap [Mon, 10 Sep 2007 14:22:22 +0000 (14:22 +0000)]
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
    Precise error message

17 years agoPAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack...
eap [Mon, 10 Sep 2007 14:21:47 +0000 (14:21 +0000)]
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
-  bool CheckMemory()
+  int CheckMemory() - return size of free memory

17 years agoPAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack...
eap [Mon, 10 Sep 2007 14:20:27 +0000 (14:20 +0000)]
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
-  void Update( int theIsClear = true );
+  bool Update( int theIsClear = true );

17 years agoPAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack...
eap [Mon, 10 Sep 2007 14:20:09 +0000 (14:20 +0000)]
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
1)
-  void Update( int theIsClear = true );
+  bool Update( int theIsClear = true );
2) Do not catch here

17 years ago- FitAll();
eap [Mon, 10 Sep 2007 13:40:24 +0000 (13:40 +0000)]
-       FitAll();
+       // FitAll(); - PAL16770(Display of a group performs an automatic fit all)

17 years agoPAL16834 (smesh Prism don't work with NETGEN_2D algorithm) T_13901
eap [Thu, 6 Sep 2007 13:06:41 +0000 (13:06 +0000)]
PAL16834 (smesh Prism don't work with NETGEN_2D algorithm)
     fix regression involved by the previous fix

17 years agoPAL16834 (smesh Prism don't work with NETGEN_2D algorithm)
eap [Tue, 4 Sep 2007 08:16:31 +0000 (08:16 +0000)]
PAL16834 (smesh Prism don't work with NETGEN_2D algorithm)
     fix FindMatchingNodesOnFaces() for a sphere meshed by NETGEN_2D_ONLY

17 years agoPAL16773: First display of a group of nodes appears as not selected in VTK.
eap [Mon, 27 Aug 2007 07:02:36 +0000 (07:02 +0000)]
PAL16773: First display of a group of nodes appears as not selected in VTK.
-      myHighlitableActor->SetVisibility(anIsVisible);
       myHighlitableActor->GetExtractUnstructuredGrid()->
  SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::ePoints);
+      myHighlitableActor->SetVisibility(anIsVisible);

17 years agoPAL16753 (selection bug in GUI)
eap [Fri, 24 Aug 2007 13:06:28 +0000 (13:06 +0000)]
PAL16753 (selection bug in GUI)
   enble extrusion of not shown mesh

17 years agoNPAL16631: EDF281: Suppress automatic update if mesh computation failed because of... T32x_16Aug2007_16h00m
jfa [Tue, 14 Aug 2007 10:59:55 +0000 (10:59 +0000)]
NPAL16631: EDF281: Suppress automatic update if mesh computation failed because of lack of memory.

17 years agoNPAL16690: EDF532: 'Add Node' and 'Move Node' coordinates are limited to 3 digits.
jfa [Mon, 13 Aug 2007 07:36:18 +0000 (07:36 +0000)]
NPAL16690: EDF532: 'Add Node' and 'Move Node' coordinates are limited to 3 digits.

17 years agoPAL16713 (mesh.GetElementsByType : 'module' object has no attribute 'SMESH')
eap [Thu, 9 Aug 2007 13:21:34 +0000 (13:21 +0000)]
PAL16713 (mesh.GetElementsByType : 'module' object has no attribute 'SMESH')
+import SMESH # necessary for back compatibility
 from   SMESH import *

17 years agoNPAL16631: EDF281: Crash on update mesh if computation failed because of memory lack.
jfa [Thu, 9 Aug 2007 10:18:19 +0000 (10:18 +0000)]
NPAL16631: EDF281: Crash on update mesh if computation failed because of memory lack.

17 years agoPAL16229 (Issue in order to mesh with Hexahedron algorithms)
eap [Wed, 8 Aug 2007 13:29:22 +0000 (13:29 +0000)]
PAL16229 (Issue in order to mesh with Hexahedron algorithms)
     do not check shape topology in CheckHypothesis()

17 years agoImplementation of Bug PAL13901
maintenance team [Mon, 6 Aug 2007 13:19:44 +0000 (13:19 +0000)]
Implementation of Bug PAL13901
 - EDF PAL 327 : SMESH : name of hypothesis incremental ?

17 years agoCorrected for bug NPAL16567.
skl [Fri, 3 Aug 2007 07:40:38 +0000 (07:40 +0000)]
Corrected for bug NPAL16567.

17 years agofix Mesh.AddHypothesis()
skl [Fri, 3 Aug 2007 06:41:15 +0000 (06:41 +0000)]
fix Mesh.AddHypothesis()

17 years agoCorrected for bug IPAL12571.
skl [Fri, 3 Aug 2007 06:06:22 +0000 (06:06 +0000)]
Corrected for bug IPAL12571.

17 years agoCorrected for bug NPAL16546. T15881
skl [Fri, 27 Jul 2007 07:52:06 +0000 (07:52 +0000)]
Corrected for bug NPAL16546.

17 years agoCorrected for bug NPAL16567.
skl [Fri, 27 Jul 2007 07:51:30 +0000 (07:51 +0000)]
Corrected for bug NPAL16567.

17 years agoPAL16567
eap [Mon, 23 Jul 2007 09:20:51 +0000 (09:20 +0000)]
PAL16567

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:23:00 +0000 (11:23 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
    make QuadranglePreference hypotheses auxiliary

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:21:20 +0000 (11:21 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
    move some code to StdMeshers_FaceSide::GetFaceWires()

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:20:10 +0000 (11:20 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
+  /*!
+   * \brief Return wires of a face as StdMeshers_FaceSide's
+   */
+  static TSideVector GetFaceWires(const TopoDS_Face& theFace,
+                                  SMESH_Mesh &       theMesh,
+                                  const bool         theIgnoreMediumNodes,
+                                  TError &           theError);

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:19:04 +0000 (11:19 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
      export StdMeshers_FaceSide.hxx

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:18:31 +0000 (11:18 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
      algorithm NETGEN_2D added

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:17:03 +0000 (11:17 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
      move declaration of class SMESH_2smeshpy here from
      SMESH_2smeshpy.hxx to remove dependency of SMESH_DumpPython.cxx
      on SMESH_2smeshpy.hxx

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:15:07 +0000 (11:15 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
      catch exceptions in myPattern.Apply( aMesh, fset, theNodeIndexOnKeyPoint1, theReverse );

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:13:33 +0000 (11:13 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
-  TPythonDump() << "if not isDone: print 'Mesh', " << theMesh << ", ': computation failed'";

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:13:12 +0000 (11:13 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
      changes reflection modifications in smesh.py

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:11:03 +0000 (11:11 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
+   * \brief Check if shape is a degenerated edge or it's vertex
+  bool IsDegenShape(const int subShape) const

17 years agoPAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
eap [Fri, 20 Jul 2007 11:09:52 +0000 (11:09 +0000)]
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
    make QuadranglePreference hypothesis auxiliary

17 years agofix setting _computeState of submeshes for algo that !NeedDescretBoundary()
eap [Tue, 26 Jun 2007 11:50:06 +0000 (11:50 +0000)]
fix setting _computeState of submeshes for algo that !NeedDescretBoundary()

17 years agoChange version to 3.2.7 V3_2_7 V3_2_7rc1
jfa [Tue, 26 Jun 2007 07:27:21 +0000 (07:27 +0000)]
Change version to 3.2.7

17 years agoPAL16410 (Import MED : Some groups (ok in the MED file) are missing in the object...
eap [Mon, 25 Jun 2007 12:03:14 +0000 (12:03 +0000)]
PAL16410 (Import MED : Some groups (ok in the MED file) are missing in the object browser)
     treat elements of type ePOINT1

17 years agoPAL16231 (3D Extrusion produced crossing hexahedrons)
eap [Thu, 21 Jun 2007 10:26:23 +0000 (10:26 +0000)]
PAL16231 (3D Extrusion produced crossing hexahedrons)
     performance optimization of StdMeshers_Prism_3D::AddPrisms()

17 years agoGet all sources from module SRC to avoid files duplication.
jfa [Thu, 21 Jun 2007 10:25:12 +0000 (10:25 +0000)]
Get all sources from module SRC to avoid files duplication.

17 years agoPAL16231 (3D Extrusion produced crossing hexahedrons)
eap [Thu, 21 Jun 2007 10:24:29 +0000 (10:24 +0000)]
PAL16231 (3D Extrusion produced crossing hexahedrons)
     use math_FunctionSetWithDerivatives to copmute parameters if a
     simple and fast method fails

17 years agoDocumentation(gui) is updated for bug N7PAL16198.
skl [Thu, 21 Jun 2007 05:09:19 +0000 (05:09 +0000)]
Documentation(gui) is updated for bug N7PAL16198.

17 years agoCorrected for bug N7PAL16198 (change few descriptions for previous corrections).
skl [Thu, 21 Jun 2007 05:07:34 +0000 (05:07 +0000)]
Corrected for bug N7PAL16198 (change few descriptions for previous corrections).

17 years agoPAL16231 (3D Extrusion produced crossing hexahedrons)
eap [Wed, 20 Jun 2007 14:54:20 +0000 (14:54 +0000)]
PAL16231 (3D Extrusion produced crossing hexahedrons)
     always use parameters hint

17 years agoPAL16231 (3D Extrusion produced crossing hexahedrons)
eap [Wed, 20 Jun 2007 14:52:43 +0000 (14:52 +0000)]
PAL16231 (3D Extrusion produced crossing hexahedrons)
     improve copmuting point parameters performance by implementing it
     without math_FunctionSetWithDerivatives usage

17 years agoCorrected for bug N7PAL16198 (add descriptions for previous corrections).
skl [Wed, 20 Jun 2007 08:12:07 +0000 (08:12 +0000)]
Corrected for bug N7PAL16198 (add descriptions for previous corrections).

17 years agoUpdate python interface smesh documentation.
jfa [Wed, 20 Jun 2007 07:54:12 +0000 (07:54 +0000)]
Update python interface smesh documentation.

17 years agoCorrected for bug N7PAL16198.
skl [Wed, 20 Jun 2007 07:42:13 +0000 (07:42 +0000)]
Corrected for bug N7PAL16198.

17 years agoPAL16231 (3D Extrusion produced crossing hexahedrons)
eap [Tue, 19 Jun 2007 16:50:42 +0000 (16:50 +0000)]
PAL16231 (3D Extrusion produced crossing hexahedrons)
     improve copmuting point parameters using parameters hint

17 years agoPAL16231 (3D Extrusion produced crossing hexahedrons)
eap [Tue, 19 Jun 2007 16:49:27 +0000 (16:49 +0000)]
PAL16231 (3D Extrusion produced crossing hexahedrons)
     improve copmuting point parameters by varying square and not
     function and using parameters hint

17 years agoPAL16217 (3D Extrusion produces degenerated hexahedrons)
eap [Mon, 18 Jun 2007 13:50:30 +0000 (13:50 +0000)]
PAL16217 (3D Extrusion produces degenerated hexahedrons)
    fix error message spelling

17 years agoPAL16217 (3D Extrusion produces degenerated hexahedrons)
eap [Mon, 18 Jun 2007 13:44:24 +0000 (13:44 +0000)]
PAL16217 (3D Extrusion produces degenerated hexahedrons)
    fix face association in a block (avoid taking far propagation edge)

17 years agoFix for bugs N7PAL16232, N7PAL16233.
mzn [Mon, 18 Jun 2007 12:27:04 +0000 (12:27 +0000)]
Fix for bugs N7PAL16232, N7PAL16233.

17 years agoNPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
eap [Fri, 15 Jun 2007 09:31:58 +0000 (09:31 +0000)]
NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
   Notify VERTEX sub-meshes about modification

17 years agoNPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
eap [Fri, 15 Jun 2007 09:10:53 +0000 (09:10 +0000)]
NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
   move propagation management from SMESH_Mesh to StdMeshers_Propagation

17 years agoNPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
eap [Fri, 15 Jun 2007 09:09:54 +0000 (09:09 +0000)]
NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
-      GeomAbs_Shape cont = SMESH_Algo::Continuity( edge, eNext );
-      if (cont >= GeomAbs_G1) {
+      if ( SMESH_Algo::IsContinuous( edge, eNext )) {

17 years agoNPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
eap [Fri, 15 Jun 2007 09:08:25 +0000 (09:08 +0000)]
NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
   1) move propagation management to StdMeshers_Propagation
   2) Show exception name when Standard_Failure is caught

17 years agoNPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
eap [Fri, 15 Jun 2007 09:04:58 +0000 (09:04 +0000)]
NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
   move propagation management to StdMeshers_Propagation

17 years agoNPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
eap [Fri, 15 Jun 2007 09:03:11 +0000 (09:03 +0000)]
NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
+  bool IsAny() const { return myPredicates.empty(); }

17 years agoNPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
eap [Fri, 15 Jun 2007 09:02:47 +0000 (09:02 +0000)]
NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
+  static bool IsContinuous(const TopoDS_Edge & E1, const TopoDS_Edge & E2) {

17 years agoCorrected for bug NPAL16170.
skl [Fri, 15 Jun 2007 05:44:11 +0000 (05:44 +0000)]
Corrected for bug NPAL16170.

17 years agoNPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
eap [Wed, 13 Jun 2007 12:25:20 +0000 (12:25 +0000)]
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
   reimplement CheckGeomGroupModif()

17 years agoNPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
eap [Wed, 13 Jun 2007 12:24:12 +0000 (12:24 +0000)]
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
   remove hypotheses directly added to a geom group

17 years agoPAL16099 (Hypothesis modified and Mesh icon is still "Completed")
eap [Fri, 8 Jun 2007 14:09:33 +0000 (14:09 +0000)]
PAL16099 (Hypothesis modified and Mesh icon is still "Completed")
+  void changeLocalId(int localId) { _localId = localId; }
+  friend void SMESH_Mesh_i::CheckGeomGroupModif();

17 years agoNPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
eap [Fri, 8 Jun 2007 14:07:30 +0000 (14:07 +0000)]
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
+  void CheckGeomGroupModif();

17 years agoNPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
eap [Fri, 8 Jun 2007 14:03:35 +0000 (14:03 +0000)]
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
+#include "SMESH_subMesh_i.hxx"

17 years agoNPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
eap [Fri, 8 Jun 2007 13:59:26 +0000 (13:59 +0000)]
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
   CORBA::Boolean SMESH_Gen_i::Compute()
   { ...
+      meshServant->CheckGeomGroupModif();

17 years agoNPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
eap [Fri, 8 Jun 2007 13:55:28 +0000 (13:55 +0000)]
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
+  int  NbSubMeshes() const { return mySubMeshes.size(); }

17 years agoNPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
eap [Fri, 8 Jun 2007 13:52:11 +0000 (13:52 +0000)]
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
   additionannly bind hypotheses directly to a group

17 years agoDo not recompute automatically if a submesh becomes empty
eap [Fri, 8 Jun 2007 12:12:22 +0000 (12:12 +0000)]
Do not recompute automatically if a submesh becomes empty

17 years agoChanges for bug NPAL16098.
skl [Thu, 7 Jun 2007 13:26:14 +0000 (13:26 +0000)]
Changes for bug NPAL16098.

17 years agoPAL16099 (Hypothesis modified and Mesh icon is still "Completed")
eap [Tue, 5 Jun 2007 14:22:00 +0000 (14:22 +0000)]
PAL16099 (Hypothesis modified and Mesh icon is still "Completed")
     new icon for partially computed mesh

17 years agoJoin modifications for CCRT by Jean Rahuel.
jfa [Tue, 5 Jun 2007 09:39:44 +0000 (09:39 +0000)]
Join modifications for CCRT by Jean Rahuel.

17 years agoPAL14921 (memory limitation and Salome freeze)
eap [Fri, 18 May 2007 10:04:16 +0000 (10:04 +0000)]
PAL14921 (memory limitation and Salome freeze)
-  catch ( std::bad_alloc& exc ) {
-    THROW_SALOME_CORBA_EXCEPTION( "Memory allocation problem",
-                                  SALOME::INTERNAL_ERROR );
+  catch ( std::bad_alloc ) {
+    INFOS( "Compute(): lack of memory" );

17 years agoPAL14921 (memory limitation and Salome freeze)
eap [Fri, 18 May 2007 10:03:23 +0000 (10:03 +0000)]
PAL14921 (memory limitation and Salome freeze)
    show only a short message if mesh generation breaks due to lack of memory

17 years agoPAL14921 (memory limitation and Salome freeze)
eap [Fri, 18 May 2007 10:00:28 +0000 (10:00 +0000)]
PAL14921 (memory limitation and Salome freeze)
    clean submesh if mesh generation breaks due to lack of memory

17 years agoPAL14921 (memory limitation and Salome freeze)
eap [Fri, 18 May 2007 09:58:31 +0000 (09:58 +0000)]
PAL14921 (memory limitation and Salome freeze)
+  /*!
+   * \brief Raise an exception if free memory (ram+swap) too low
+    * \param doNotRaise - if true, suppres exception, just return bool
+    * \retval bool - true if there is enough memory
+   */
+  static bool CheckMemory(const bool doNotRaise=false) throw (std::bad_alloc);
+

17 years agoPAL14921 (memory limitation and Salome freeze)
eap [Fri, 18 May 2007 08:38:37 +0000 (08:38 +0000)]
PAL14921 (memory limitation and Salome freeze)
-  Unexpect aCatch(SalomeException);
+  // PAL14921. Enable catching std::bad_alloc and Standard_OutOfMemory outside
+  //Unexpect aCatch(SalomeException);

17 years agoPAL14921 (memory limitation and Salome freeze)
eap [Fri, 18 May 2007 08:36:34 +0000 (08:36 +0000)]
PAL14921 (memory limitation and Salome freeze)
+  bool error(const SMESH_Comment& comment = "")
+  { return error(COMPERR_ALGO_FAILED, comment); }

17 years agobug PAL15961 ("Extrusion 3D" algo does not work )
eap [Thu, 17 May 2007 07:03:11 +0000 (07:03 +0000)]
bug PAL15961 ("Extrusion 3D" algo does not work )
      speed optimization for the bug case

17 years agobug PAL15961 ("Extrusion 3D" algo does not work )
eap [Wed, 16 May 2007 08:57:19 +0000 (08:57 +0000)]
bug PAL15961 ("Extrusion 3D" algo does not work )
      fix SIGSEGV in getRAndNodes()