]> SALOME platform Git repositories - modules/smesh.git/log
Salome HOME
modules/smesh.git
12 years ago0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
eap [Thu, 6 Sep 2012 13:49:43 +0000 (13:49 +0000)]
0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes

+  // return true if given order of sub-meshes is OK
+  bool IsOrderOK( const SMESH_subMesh* smBefore,
+                  const SMESH_subMesh* smAfter ) const;

12 years agoPR: correction bug EDF 2299.
prascle [Thu, 6 Sep 2012 13:27:46 +0000 (13:27 +0000)]
PR: correction bug EDF 2299.

12 years agoWin32 compilation.
rnv [Wed, 5 Sep 2012 14:31:04 +0000 (14:31 +0000)]
Win32 compilation.

12 years agoAs OCCT issue 0022809 has been fixed, remove temporary workaround in the Cartesian...
vsr [Wed, 5 Sep 2012 09:23:09 +0000 (09:23 +0000)]
As OCCT issue 0022809 has been fixed, remove temporary workaround in the Cartesian 3d algorithm

12 years ago0021826: EDF 2367 SMESH : Hexaedron failure
eap [Tue, 4 Sep 2012 14:42:17 +0000 (14:42 +0000)]
0021826: EDF 2367 SMESH : Hexaedron failure

  fix the prev integration

12 years agoPR: tools for crack meshing : when building pyramids on complex shapes, orientation...
prascle [Tue, 4 Sep 2012 14:06:32 +0000 (14:06 +0000)]
PR: tools for crack meshing : when building pyramids on complex shapes, orientation detection is difficult (concavities) and can be helped if a group of faces correctly oriented is provided. (check the presence of a group named "skinFaces")

12 years agoPR: tools for crack meshing : when importing a mesh, use a tolerance relative to...
prascle [Tue, 4 Sep 2012 14:00:14 +0000 (14:00 +0000)]
PR: tools for crack meshing : when importing a mesh, use a tolerance relative to the edge size.

12 years agoPR: tools for crack meshing
prascle [Tue, 4 Sep 2012 13:58:46 +0000 (13:58 +0000)]
PR: tools for crack meshing

12 years agoPR: tools for crack meshing : take into account surfaces detected as only GeomAbs_C0...
prascle [Tue, 4 Sep 2012 13:57:12 +0000 (13:57 +0000)]
PR: tools for crack meshing : take into account surfaces detected as only GeomAbs_C0 but still OK for meshing

12 years agoPR: tools for crack meshing : detection of elements affected by node duplication...
prascle [Tue, 4 Sep 2012 13:54:50 +0000 (13:54 +0000)]
PR: tools for crack meshing : detection of elements affected by node duplication, identification of elements near a geom shape, to create a hole, creation of the skin of the future hole

12 years agoPR: tools for crack meshing : detection of elements affected by node duplication
prascle [Tue, 4 Sep 2012 13:47:56 +0000 (13:47 +0000)]
PR: tools for crack meshing : detection of elements affected by node duplication

12 years ago0021826: EDF 2367 SMESH : Hexaedron failure
eap [Tue, 4 Sep 2012 13:40:43 +0000 (13:40 +0000)]
0021826: EDF 2367 SMESH : Hexaedron failure

  fix errors of GCPnts_UniformAbscissa

12 years ago0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
eap [Mon, 3 Sep 2012 08:30:23 +0000 (08:30 +0000)]
0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic

   1) Add to Init() a flag controlling the state of "Insert filter in viewer"
   2) Fix setting a selection mode

12 years ago0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
eap [Mon, 3 Sep 2012 08:29:24 +0000 (08:29 +0000)]
0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic

   Add to Init() a flag controlling the state of "Insert filter in viewer"

12 years ago0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
eap [Mon, 3 Sep 2012 08:26:53 +0000 (08:26 +0000)]
0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic

   Change behavior of CoplanarFaces: normals of neighboring faces
   are compared and not that of the selected face and candidate faces

12 years agoimprove readability a bit
eap [Mon, 3 Sep 2012 08:13:28 +0000 (08:13 +0000)]
improve readability a bit

12 years agoSalome Forum http://www.salome-platform.org/forum/forum_10/350978231
eap [Mon, 3 Sep 2012 08:12:37 +0000 (08:12 +0000)]
Salome Forum http://www.salome-platform.org/forum/forum_10/350978231

Move restoring SMESH_Mesh::_isModified from SMESH_Gen_i to SMESH_PreMeshInfo

12 years agoSalome Forum http://www.salome-platform.org/forum/forum_10/350978231
eap [Mon, 3 Sep 2012 08:00:12 +0000 (08:00 +0000)]
Salome Forum http://www.salome-platform.org/forum/forum_10/350978231

Clear AddHypothesis(geom,hyp) command when RemoveHypothesis(geom,hyp)
encounters iff both geom and hyp are same

12 years ago+\image html show_bad_mesh.png
eap [Fri, 31 Aug 2012 14:08:19 +0000 (14:08 +0000)]
+\image html show_bad_mesh.png
+<em>Too close nodes causing meshing failure are shown in magenta using <b>Show
+    bad Mesh</b> button</em>

12 years agominor change
eap [Fri, 31 Aug 2012 12:32:53 +0000 (12:32 +0000)]
minor change

12 years ago0021823: [CEA 649] Compute failed without any errors
eap [Fri, 31 Aug 2012 12:08:42 +0000 (12:08 +0000)]
0021823: [CEA 649] Compute failed without any errors

  Fix reporting a warning if no elements are assigned to a sub-shape

12 years ago0021823: [CEA 649] Compute failed without any errors
eap [Fri, 31 Aug 2012 12:07:45 +0000 (12:07 +0000)]
0021823: [CEA 649] Compute failed without any errors

   bool checkComputeError(SMESH_Algo*         theAlgo,
+                         const bool          theComputeOK,
                          const TopoDS_Shape& theShape=TopoDS_Shape());

12 years ago0021825: Error in the example of "Projection Algorithms" in the user's guide
eap [Fri, 31 Aug 2012 12:04:11 +0000 (12:04 +0000)]
0021825: Error in the example of "Projection Algorithms" in the user's guide

 check if MakeComputed() is really OK

12 years ago0021825: Error in the example of "Projection Algorithms" in the user's guide
eap [Fri, 31 Aug 2012 12:03:32 +0000 (12:03 +0000)]
0021825: Error in the example of "Projection Algorithms" in the user's guide

 In MakeComputed(), check if gen->Compute() is really OK

12 years ago0021825: Error in the example of "Projection Algorithms" in the user's guide
eap [Fri, 31 Aug 2012 12:01:15 +0000 (12:01 +0000)]
0021825: Error in the example of "Projection Algorithms" in the user's guide

  fix order of SetVertexAssociation() calls

12 years agoUnify usage of capital letters
eap [Fri, 31 Aug 2012 08:20:12 +0000 (08:20 +0000)]
Unify usage of capital letters

12 years ago0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
vsr [Thu, 30 Aug 2012 13:57:33 +0000 (13:57 +0000)]
0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
(Fix problem with Object browser updating)
- Revert fix made for issue "0021515: EDF 2169 SMESH: groups not in OB" - it is no more required since actual problem is solved by fix for issue 0020749.

12 years agoAdd table of contents
eap [Thu, 30 Aug 2012 10:29:39 +0000 (10:29 +0000)]
Add table of contents

12 years ago0021825: Error in the example of "Projection Algorithms" in the user's guide
eap [Thu, 30 Aug 2012 10:26:51 +0000 (10:26 +0000)]
0021825: Error in the example of "Projection Algorithms" in the user's guide

  update to reflect introduction of StdMeshers_ShapeShapeBiDirectionMap
  instead of TopTools_DataMapOfShapeShape

12 years agoCTN: EDF 1729 SMESH : Example of a script using Projection1D2D => Update documentation
gdd [Thu, 30 Aug 2012 08:33:36 +0000 (08:33 +0000)]
CTN: EDF 1729 SMESH : Example of a script using Projection1D2D => Update documentation

12 years ago0021823: [CEA 649] Compute failed without any errors
eap [Thu, 30 Aug 2012 07:50:03 +0000 (07:50 +0000)]
0021823: [CEA 649] Compute failed without any errors

report a warning if no elements are assigned to a sub-shape

12 years ago0021823: [CEA 649] Compute failed without any errors
eap [Thu, 30 Aug 2012 07:43:07 +0000 (07:43 +0000)]
0021823: [CEA 649] Compute failed without any errors

+    COMPERR_NO_MESH_ON_SHAPE // no mesh elements assigned to sub-mesh

12 years agountabify
eap [Thu, 30 Aug 2012 07:42:51 +0000 (07:42 +0000)]
untabify

12 years ago0021823: [CEA 649] Compute failed without any errors
eap [Thu, 30 Aug 2012 07:42:34 +0000 (07:42 +0000)]
0021823: [CEA 649] Compute failed without any errors

+        <source>COMPERR_NO_MESH_ON_SHAPE</source>
+        <translation>No mesh elements assigned to a Sub-shape</translation>

12 years ago0021823: [CEA 649] Compute failed without any errors
eap [Thu, 30 Aug 2012 07:42:09 +0000 (07:42 +0000)]
0021823: [CEA 649] Compute failed without any errors

report a warning if no elements are assigned to a sub-shape

12 years ago-#include "SMESH_*D_Algo.hxx"
eap [Wed, 29 Aug 2012 16:45:51 +0000 (16:45 +0000)]
-#include "SMESH_*D_Algo.hxx"
+#include "SMESH_Algo.hxx"

12 years agountabify
eap [Wed, 29 Aug 2012 16:44:07 +0000 (16:44 +0000)]
untabify

12 years agoRemove useless files, declarations and implementations of constructors
eap [Wed, 29 Aug 2012 16:43:11 +0000 (16:43 +0000)]
Remove useless files, declarations and implementations of constructors
of classes are moved to SMESH.Algo.*xx

SMESH_*D_Algo.*xx

12 years ago0021815: EDF 2347 SMESH : Error when meshing vertices
vsr [Wed, 29 Aug 2012 14:45:18 +0000 (14:45 +0000)]
0021815: EDF 2347 SMESH : Error when meshing vertices
Update documentation: add explanation about meaning of "3D", "2D", "1D" and "0D" pages in "Create mesh" dialog box.

12 years agoImport .dat file
eap [Wed, 29 Aug 2012 09:07:18 +0000 (09:07 +0000)]
Import .dat file
http://www.salome-platform.org/forum/forum_10/504470444

Remove "Import DAT" menu

12 years agoImport .dat file
eap [Wed, 29 Aug 2012 09:06:20 +0000 (09:06 +0000)]
Import .dat file
http://www.salome-platform.org/forum/forum_10/504470444

Precision about DAT format

12 years agohttp://www.salome-platform.org/forum/forum_10/984341981
eap [Tue, 28 Aug 2012 14:08:33 +0000 (14:08 +0000)]
http://www.salome-platform.org/forum/forum_10/984341981

Fix UV of nodes on the FACE

12 years ago0021815: EDF 2347 SMESH : Error when meshing vertices
eap [Mon, 27 Aug 2012 13:25:36 +0000 (13:25 +0000)]
0021815: EDF 2347 SMESH : Error when meshing vertices

Enable ceation of nodes on a COMPOUND of VERTEXes

12 years ago0021806: [CEA 637] Wrap error message on Mesh Computation Failed Dialog
vsr [Mon, 27 Aug 2012 11:51:25 +0000 (11:51 +0000)]
0021806: [CEA 637] Wrap error message on Mesh Computation Failed Dialog

12 years agoimprove comments
eap [Fri, 24 Aug 2012 13:51:54 +0000 (13:51 +0000)]
improve comments

12 years agohttp://www.salome-platform.org/forum/forum_11/800053490
eap [Fri, 24 Aug 2012 13:41:12 +0000 (13:41 +0000)]
http://www.salome-platform.org/forum/forum_11/800053490

1) Fix orientation of new faces on FACEs shared by SOLIDs
2) Create missing segments

12 years agohttp://www.salome-platform.org/forum/forum_11/800053490
eap [Fri, 24 Aug 2012 13:39:50 +0000 (13:39 +0000)]
http://www.salome-platform.org/forum/forum_11/800053490

Fix LoadNodeColumns() for a not implemented case of viscous layers

12 years agocomment out obsolete methods relating to treatment of notebook variables
eap [Fri, 24 Aug 2012 13:33:22 +0000 (13:33 +0000)]
comment out obsolete methods relating to treatment of notebook variables

12 years agoimprove comments
eap [Fri, 24 Aug 2012 13:32:35 +0000 (13:32 +0000)]
improve comments

12 years ago0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis...
eap [Fri, 24 Aug 2012 11:47:21 +0000 (11:47 +0000)]
0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete

read methods (<accumulative-methods>) that don't
change a value of a meshing parameter but add one more value

12 years ago0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis...
eap [Fri, 24 Aug 2012 11:46:38 +0000 (11:46 +0000)]
0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete

read and take into account methods (<accumulative-methods>) that don't
change a value of a meshing parameter but add one more value

12 years ago0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis...
eap [Fri, 24 Aug 2012 11:45:41 +0000 (11:45 +0000)]
0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete

store methods that don't change a value of a meshing parameter but
add one more value

csll _pyHypothesis
{
...
+  std::set< _AString >          myAccumulativeMethods;

12 years agoImprovement of Python API documentation (SMESH and plugins):
vsr [Fri, 24 Aug 2012 05:52:39 +0000 (05:52 +0000)]
Improvement of Python API documentation (SMESH and plugins):
- move base Mesh_Algorithm class to the separate python module

12 years agoImprovement of Python API documentation (SMESH and plugins):
vsr [Fri, 24 Aug 2012 05:32:18 +0000 (05:32 +0000)]
Improvement of Python API documentation (SMESH and plugins):
- move base Mesh_Algorithm class to the separate python module

12 years agoFix wrong display of preferences in Properties window.
gdd [Thu, 23 Aug 2012 13:08:11 +0000 (13:08 +0000)]
Fix wrong display of preferences in Properties window.
Update doc to add MED_BALL elements.

12 years agoAdd classes inheritance diagrams to documentation
vsr [Thu, 23 Aug 2012 07:48:33 +0000 (07:48 +0000)]
Add classes inheritance diagrams to documentation

12 years agoAdd missing docHelper attributes
vsr [Thu, 23 Aug 2012 07:35:00 +0000 (07:35 +0000)]
Add missing docHelper attributes

12 years agoAnother minor correction
vsr [Wed, 22 Aug 2012 13:13:05 +0000 (13:13 +0000)]
Another minor correction

12 years agoAdditional minor changes
vsr [Wed, 22 Aug 2012 11:47:12 +0000 (11:47 +0000)]
Additional minor changes

12 years agosmall correction of generated documentation
vsr [Wed, 22 Aug 2012 10:31:25 +0000 (10:31 +0000)]
small correction of generated documentation

12 years ago0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
vsr [Wed, 22 Aug 2012 07:33:58 +0000 (07:33 +0000)]
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)

12 years ago0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
vsr [Wed, 22 Aug 2012 06:12:24 +0000 (06:12 +0000)]
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)

12 years ago0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
vsr [Wed, 22 Aug 2012 05:45:47 +0000 (05:45 +0000)]
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)

12 years ago021800: EDF 2346 : Bug in the dump of ExtrusionAlongpathX
eap [Tue, 21 Aug 2012 15:50:07 +0000 (15:50 +0000)]
021800: EDF 2346 : Bug in the dump of ExtrusionAlongpathX

12 years ago0021374: EDF 1898 SMESH: Extrusion of a node to have an edge
eap [Tue, 21 Aug 2012 15:26:19 +0000 (15:26 +0000)]
0021374: EDF 1898 SMESH: Extrusion of a node to have an edge

 Set a filter to select groups and sub-meshes corresponding to a constructor id

12 years ago0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
eap [Tue, 21 Aug 2012 14:26:08 +0000 (14:26 +0000)]
0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D

  set correct type of a new group

12 years ago0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
eap [Tue, 21 Aug 2012 14:14:48 +0000 (14:14 +0000)]
0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D

12 years ago0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
eap [Tue, 21 Aug 2012 14:13:23 +0000 (14:13 +0000)]
0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D

+  SMESH_Group* AddGroup (SMESHDS_GroupBase* groupDS)

12 years ago0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
vsr [Tue, 21 Aug 2012 13:49:35 +0000 (13:49 +0000)]
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)

12 years ago0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
vsr [Tue, 21 Aug 2012 13:15:16 +0000 (13:15 +0000)]
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)

12 years agoFix incorrect doc example
gdd [Mon, 20 Aug 2012 15:02:39 +0000 (15:02 +0000)]
Fix incorrect doc example

12 years agoSALOME Forum: Mesh export to UNV file does not work anymore with Salome 6.5
eap [Mon, 13 Aug 2012 14:19:35 +0000 (14:19 +0000)]
SALOME Forum: Mesh export to UNV file does not work anymore with Salome 6.5
http://www.salome-platform.org/forum/forum_14/379396441

  Fix format at writting

12 years ago0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new...
eap [Mon, 13 Aug 2012 09:05:13 +0000 (09:05 +0000)]
0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new elements into groups

  fix a regression in buildElemPrs()

12 years ago0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new...
eap [Mon, 13 Aug 2012 09:03:54 +0000 (09:03 +0000)]
0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new elements into groups

12 years agoFix crash during preview
gdd [Fri, 10 Aug 2012 14:01:12 +0000 (14:01 +0000)]
Fix crash during preview

12 years ago0021783: EDF 785 SMESH : Bad display of Groups of Volumes
eap [Wed, 8 Aug 2012 14:59:54 +0000 (14:59 +0000)]
0021783: EDF 785 SMESH : Bad display of Groups of Volumes

 fix iteration on types of elements

12 years agocreate myBall in brief mode
eap [Wed, 8 Aug 2012 13:02:22 +0000 (13:02 +0000)]
create myBall in brief mode

12 years ago0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates...
eap [Tue, 7 Aug 2012 09:18:15 +0000 (09:18 +0000)]
0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates bad elements

   Enables fixing node parameters by helper

+        helper.ToFixNodeParameters( true );

12 years ago0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates...
eap [Tue, 7 Aug 2012 09:16:38 +0000 (09:16 +0000)]
0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates bad elements

+   * \brief Enables fixing node parameters on EDGEs and FACEs by
+   * GetNodeU(...,check=true), GetNodeUV(...,check=true), CheckNodeUV() and
+   * CheckNodeU() in case if a node lies on a shape set via SetSubShape().
+   * Default is False
+   */
+  void ToFixNodeParameters(bool toFix);

12 years agoFix small mistake (',' instead of '+')
gdd [Wed, 1 Aug 2012 09:36:50 +0000 (09:36 +0000)]
Fix small mistake (',' instead of '+')

12 years ago0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
eap [Tue, 31 Jul 2012 15:56:39 +0000 (15:56 +0000)]
0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
  Complete the fix

12 years agoUpdate translation files
gdd [Tue, 31 Jul 2012 15:40:13 +0000 (15:40 +0000)]
Update translation files

12 years ago0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
eap [Tue, 31 Jul 2012 15:01:08 +0000 (15:01 +0000)]
0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
  Add recently added types of elements

12 years ago0021762: EDF 2333 : Bug in composite side algorithm on partition result
eap [Tue, 31 Jul 2012 10:51:50 +0000 (10:51 +0000)]
0021762: EDF 2333 : Bug in composite side algorithm on partition result

fix orientation of EDGEs before calling BRepLProp::Continuity()

12 years agomake SplitVolumesIntoTetra() dump as a method of Mesh
eap [Mon, 30 Jul 2012 07:34:54 +0000 (07:34 +0000)]
make SplitVolumesIntoTetra() dump as a method of Mesh

12 years ago0021759: EDF 1785 SMESH: A group of nodes created by filters is incomplete
eap [Fri, 27 Jul 2012 13:11:14 +0000 (13:11 +0000)]
0021759: EDF 1785 SMESH: A group of nodes created by filters is incomplete

bug: elementsIterator(SMDSAbs_Node) returns nothing

12 years agofix vagrind error at incrementing an iterator pointing to a deleted
eap [Fri, 27 Jul 2012 08:26:18 +0000 (08:26 +0000)]
fix vagrind error at incrementing an iterator pointing to a deleted
map node

12 years ago0021758: [CEA] Internal test fails with Netgen3D
eap [Fri, 27 Jul 2012 07:29:41 +0000 (07:29 +0000)]
0021758: [CEA] Internal test fails with Netgen3D

do not use SMDS_SetIterator for iteration on myCell because
SMDS_SetIterator doesn't allow modification of a container being
iterated

12 years agomore info on GetPointState()
eap [Mon, 23 Jul 2012 08:14:11 +0000 (08:14 +0000)]
more info on GetPointState()

12 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:13:19 +0000 (16:13 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+    if ( _computeCanceled ) return false;

12 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:12:39 +0000 (16:12 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+  COMPERR_CANCELED       = -11  //!< compute canceled

12 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:12:27 +0000 (16:12 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+        <source>COMPERR_CANCELED</source>
+        <translation>Computation canceled</translation>

12 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:12:16 +0000 (16:12 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+      CASE2TEXT( COMPERR_CANCELED      );

12 years ago-#ifdef WITH_SMESH_CANCEL_COMPUTE
eap [Fri, 20 Jul 2012 16:11:59 +0000 (16:11 +0000)]
-#ifdef WITH_SMESH_CANCEL_COMPUTE

12 years agoremove commented obsolete code
eap [Fri, 20 Jul 2012 16:11:41 +0000 (16:11 +0000)]
remove commented obsolete code

12 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:11:12 +0000 (16:11 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+  volatile bool _computeCanceled; //!< is set to True while computing to stop it

12 years agoGeneralize "Cancel Compute" mechanism to be able to report
eap [Fri, 20 Jul 2012 16:10:45 +0000 (16:10 +0000)]
Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+    COMPERR_CANCELED         // compute canceled

12 years ago0021723: EDF SMESH: Calculation of Aspect Ratio
eap [Fri, 20 Jul 2012 11:45:37 +0000 (11:45 +0000)]
0021723: EDF SMESH: Calculation of Aspect Ratio

Verdict Geometric Quality Library is not used for triangles

12 years agoFix compilation on Debian
inv [Fri, 20 Jul 2012 10:14:08 +0000 (10:14 +0000)]
Fix compilation on Debian

-  typedef SMDS_SetIterator< const _QuadFaceGrid&, TChildren::const_iterator > TChildIterator;
+  typedef SMDS_SetIterator< const _QuadFaceGrid&,
+                            TChildren::const_iterator,
+                            SMDS::SimpleAccessor<const _QuadFaceGrid&,TChildren::const_iterator>,
+                            SMDS::PassAllValueFilter<_QuadFaceGrid> >
+    TChildIterator;

12 years ago0021723: EDF SMESH: Calculation of Aspect Ratio
eap [Fri, 20 Jul 2012 09:17:17 +0000 (09:17 +0000)]
0021723: EDF SMESH: Calculation of Aspect Ratio

Formula from The Verdict Geometric Quality Library available within
VTK is used