]> SALOME platform Git repositories - modules/smesh.git/log
Salome HOME
modules/smesh.git
11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:34:46 +0000 (08:34 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

Add exceptions

+    void ConvertToBiQuadratic(in boolean        theForce3d,
+                              in SMESH_IDSource theObject)

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:34:11 +0000 (08:34 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

+    FT_EntityType,

+  interface ElemEntityType : Predicate{

+    ElemEntityType    CreateElemEntityType();

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:33:31 +0000 (08:33 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

-      editor.ConvertToQuadratic(/*theForce3d=*/false, tgtFaces);
+      editor.ConvertToQuadratic(/*theForce3d=*/false, tgtFaces, false);

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:32:30 +0000 (08:32 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

-      map< double, int >::reverse_iterator maxLen_i = len2edgeMap.rbegin();
+      multimap< double, int >::reverse_iterator maxLen_i = len2edgeMap.rbegin();

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:31:58 +0000 (08:31 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

-    def ConvertToQuadratic(self, theForce3d, theSubMesh=None):
+    def ConvertToQuadratic(self, theForce3d, theSubMesh=None, theToBiQuad=False):

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:30:04 +0000 (08:30 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

+    operator<<(const SMESH::EntityType& theArg);

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:29:43 +0000 (08:29 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

Add exceptions

+  void           ConvertToBiQuadratic(CORBA::Boolean            theForce3d,
+                                      SMESH::SMESH_IDSource_ptr theObject)

+  void convertToQuadratic(CORBA::Boolean            theForce3d,
+                          CORBA::Boolean            theToBiQuad,
+                          SMESH::SMESH_IDSource_ptr theObject = SMESH::SMESH_IDSource::_nil())

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:28:25 +0000 (08:28 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

+  class SMESH_I_EXPORT ElemEntityType_i: public virtual POA_SMESH::ElemEntityType,
+                                         public virtual Predicate_i

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:22:55 +0000 (08:22 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

+  operator<<(const SMESH::EntityType& theArg)

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:22:30 +0000 (08:22 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

1) Treat SMESH.FT_EntityType criterion type
2) ConvertToBiQuadratic(...) -> ConvertToQuadratic(...,True)

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:14:30 +0000 (08:14 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

+  inline static gp_XY calcTFI(double x, double y, ...
+  void SetIsBiQuadratic(const bool theBuildBiQuadratic);
+  const SMDS_MeshNode* GetCentralNode(const SMDS_MeshNode* n1, ...

+  std::map< TBiQuad, SMDS_MeshNode* > myMapWithCentralNode; // central nodes of faces
+  bool            myCreateBiQuadratic;

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:12:22 +0000 (08:12 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

-  void ConvertToQuadratic(const bool theForce3d);
+  void ConvertToQuadratic(const bool theForce3d, const bool theToBiQuad);

11 years ago0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Wed, 6 Mar 2013 08:11:01 +0000 (08:11 +0000)]
0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

+    class SMESHCONTROLS_EXPORT ElemEntityType: public virtual Predicate{

11 years agomake a picture of central nodes of HEX27
eap [Wed, 6 Mar 2013 08:06:08 +0000 (08:06 +0000)]
make a picture of central nodes of HEX27

11 years agoFix problem of 'make installcheck' - set proper environment for tests
vsr [Tue, 5 Mar 2013 06:07:29 +0000 (06:07 +0000)]
Fix problem of 'make installcheck' - set proper environment for tests

11 years agoRemove "Suspicious continuation in line 85"
eap [Mon, 4 Mar 2013 14:02:27 +0000 (14:02 +0000)]
Remove "Suspicious continuation in line 85"

11 years ago0021859: EDF 2191 SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Mon, 4 Mar 2013 10:13:46 +0000 (10:13 +0000)]
0021859: EDF 2191 SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

11 years ago0021859: EDF 2191 SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
eap [Mon, 4 Mar 2013 10:07:58 +0000 (10:07 +0000)]
0021859: EDF 2191 SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A1
eap [Fri, 1 Mar 2013 16:45:29 +0000 (16:45 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A1

+//   bool isDegenTria( const SMDS_MeshNode * nn[3] )
+//   {

+    // It was an attemp to fix a problem of a zero area face whose all nodes
+    // are on one staight EDGE. But omitting this face makes a hole in the mesh :(
+    // if ( !isDegen && allNodesAreOld )
+    //   isDegen = isDegenTria( nn );

11 years agoa bit more comments
eap [Fri, 1 Mar 2013 16:44:43 +0000 (16:44 +0000)]
a bit more comments

11 years agoa bit more comments
eap [Fri, 1 Mar 2013 14:37:27 +0000 (14:37 +0000)]
a bit more comments

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A1
eap [Fri, 1 Mar 2013 14:37:03 +0000 (14:37 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A1

 Let the helper set nodes on shape to avoid the pb with a medium nodes
 set by mistake to EDGE instead of FACE.
 The case is a triangle whose 3 nodes are on the same EDGE. The worst
 is that in this case the medium node which is logically on FACE falls
 to a straight EDGE, as the triangle is of zero area.

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A1
eap [Fri, 1 Mar 2013 14:32:53 +0000 (14:32 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A1

 Avoid returning EDGE position for 2 nodes on the same EDGE, while the
 medium node should be on FACE. The case is a triangle whose 3 nodes are on
 the same EDGE. The worst is that in this case the medium node which
 is logically on FACE falls to a straight EDGE, as the triangle is of
 zero area (thanks to MEFISTO)

 std::pair<int, TopAbs_ShapeEnum> GetMediumPos(const SMDS_MeshNode* n1,
                                               const SMDS_MeshNode* n2,
+                                              const bool           useCurSubShape=false);

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A0
eap [Fri, 1 Mar 2013 11:11:43 +0000 (11:11 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A0

  Allow assigning "3D Extrusion" algo to a computed 2D mesh w/o
  clearing existing 2D elements

-  void cleanDependsOn( bool keepSupportedsubMeshes = false );
+  void cleanDependsOn( SMESH_Algo* algoRequiringCleaning=0 );

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A0
eap [Fri, 1 Mar 2013 11:10:18 +0000 (11:10 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/mesh_Projection_2D/A0

  Fix IsStructured( SMESH_subMesh* faceSM ) for a cylindrical FACE

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/imps8/I1
eap [Thu, 28 Feb 2013 15:12:29 +0000 (15:12 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/imps8/I1

  Fix cleanDependsOn() which mush do at least CHECK_COMPUTE_STATE even in empty mesh

11 years ago1) Treat GMF import/export
eap [Thu, 28 Feb 2013 14:28:04 +0000 (14:28 +0000)]
1) Treat GMF import/export
2) Fix RemoveArgs() not to clear the whole command if it is like "(res1,res2) = meth(arg)"

11 years ago0022134: DriverGMF : reading quadratic meshes
eap [Thu, 28 Feb 2013 11:36:54 +0000 (11:36 +0000)]
0022134: DriverGMF : reading quadratic meshes

  Fix errors of import/export of meshes including both linear and
  quadratic elements.

11 years ago0022134: DriverGMF : reading quadratic meshes
eap [Thu, 28 Feb 2013 11:36:28 +0000 (11:36 +0000)]
0022134: DriverGMF : reading quadratic meshes

  Fix errors of import/export of meshes including both linear and
  quadratic elements.

+  SMDS_ElemIteratorPtr elementIterator(SMDSAbs_ElementType  type);
+  SMDS_ElemIteratorPtr elementIterator(SMDSAbs_EntityType   type);
+  SMDS_ElemIteratorPtr elementIterator(SMDSAbs_GeometryType type);

11 years ago0022134: DriverGMF : reading quadratic meshes
eap [Thu, 28 Feb 2013 11:33:57 +0000 (11:33 +0000)]
0022134: DriverGMF : reading quadratic meshes

+  inline int NbElements(SMDSAbs_EntityType   type) const { return NbEntities(type); }
+  inline int NbElements(SMDSAbs_GeometryType type) const { return NbElementsOfGeom(type); }
+  inline int NbElementsOfGeom(SMDSAbs_GeometryType geom) const;

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/imps8/I1
eap [Wed, 27 Feb 2013 16:16:52 +0000 (16:16 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/imps8/I1

  Compute stack of simple boxes with structured sides

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/imps7/H5
eap [Wed, 27 Feb 2013 15:32:39 +0000 (15:32 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/imps7/H5

 Synchronize Evaluate() with Compute()

11 years agofix failure of non-regression test SMESH_TEST/Grids/smesh/imps6/G0
eap [Wed, 27 Feb 2013 14:39:34 +0000 (14:39 +0000)]
fix failure of non-regression test SMESH_TEST/Grids/smesh/imps6/G0

in getSubmeshIDForCopiedMesh(), fix invalid index (subIndex==0) for OCCT map in
case if srcMeshDS->GetPersistentId() == 0

11 years agofix failures of non-regression tests
eap [Wed, 27 Feb 2013 13:21:20 +0000 (13:21 +0000)]
fix failures of non-regression tests

 Perform a thorough analysis of mesh on FACEs even in case of 1 SOLID

11 years agofix failures of non-regression tests
eap [Wed, 27 Feb 2013 11:53:02 +0000 (11:53 +0000)]
fix failures of non-regression tests
1) compute the given bottom FACE in StdMeshers_Prism_3D::compute(const TPrismTopo& thePrism)
2) set higher priority to non-quadrilateral computed FACEs over all FACEs having structured mesh

11 years ago0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D
eap [Tue, 26 Feb 2013 10:42:13 +0000 (10:42 +0000)]
0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D

-typedef StdMeshers_ProjectionUtils TAssocTool;
+namespace TAssocTool = StdMeshers_ProjectionUtils;

11 years ago0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D
eap [Tue, 26 Feb 2013 10:41:45 +0000 (10:41 +0000)]
0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D

1) namespace TAssocTool = StdMeshers_ProjectionUtils;
2) Use StdMeshers_ProjectionUtils::SourceNotComputedError()

11 years ago0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D
eap [Tue, 26 Feb 2013 10:40:03 +0000 (10:40 +0000)]
0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D

- class StdMeshers_ProjectionUtils
+ namespace StdMeshers_ProjectionUtils

+  /*!
+   * \brief Returns an error message to show in case if MakeComputed( sm ) fails.
+   */
+  std::string SourceNotComputedError( SMESH_subMesh * sm = 0,
+                                      SMESH_Algo*     projAlgo=0);

11 years ago0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D
eap [Tue, 26 Feb 2013 10:37:45 +0000 (10:37 +0000)]
0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D

  Move struct AlgoData from SMESH_Gen.cxx to struct SMESH_Algo::Features

11 years agoUpdate error message about not supported types of elements. All quadratic quadrangles...
rnc [Mon, 25 Feb 2013 10:36:44 +0000 (10:36 +0000)]
Update error message about not supported types of elements. All quadratic quadrangles and hexaedra can now be written in .mesh format

11 years agoUsed new Keyword GmfExtraVerticesAt .. for reading and writing tetra and hexa quadrat...
rnc [Mon, 25 Feb 2013 10:34:59 +0000 (10:34 +0000)]
Used new Keyword GmfExtraVerticesAt .. for reading and writing tetra and hexa quadratic meshes in GMF format

11 years ago-#define __myDEBUG
eap [Fri, 22 Feb 2013 13:16:07 +0000 (13:16 +0000)]
-#define __myDEBUG
+//#define __myDEBUG

11 years agoSALOME Forum: viscous layers builder: failed at the very first inflation step
eap [Fri, 22 Feb 2013 13:04:17 +0000 (13:04 +0000)]
SALOME Forum: viscous layers builder: failed at the very first inflation step
http://www.salome-platform.org/forum/forum_10/537530484

11 years ago0022134: DriverGMF : reading quadratic meshes
eap [Fri, 22 Feb 2013 08:22:12 +0000 (08:22 +0000)]
0022134: DriverGMF : reading quadratic meshes

  BEGINNING OF
  The way of storage of quadratic elements has been corrected

11 years ago0022123: EDF 2558 SMESH: Group creation crashs with the filter "Free faces":
akl [Thu, 21 Feb 2013 12:10:00 +0000 (12:10 +0000)]
0022123: EDF 2558 SMESH: Group creation crashs with the filter "Free faces":
using reject() slot instead of closeEvent() and hideEvent().

11 years ago0022130: EDF 2579 SMESH: Issue with Viscous Layer
eap [Wed, 20 Feb 2013 16:06:58 +0000 (16:06 +0000)]
0022130: EDF 2579 SMESH: Issue with Viscous Layer

  fix detection of the closed EDGE

11 years ago0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been...
eap [Wed, 20 Feb 2013 08:47:05 +0000 (08:47 +0000)]
0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been generated

  SMESH_Algo::IsReversedSubMesh() is moved to SMESH_MesherHelper

11 years ago0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been...
eap [Wed, 20 Feb 2013 08:46:42 +0000 (08:46 +0000)]
0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been generated

-  SMESH_TNodeXYZ( const SMDS_MeshElement* e)
+  SMESH_TNodeXYZ( const SMDS_MeshElement* e=0)

11 years ago0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been...
eap [Wed, 20 Feb 2013 08:45:49 +0000 (08:45 +0000)]
0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been generated

  SMESH_Algo::IsReversedSubMesh() is fixed and moved to SMESH_MesherHelper

11 years agoFix problem with make distcheck
vsr [Wed, 20 Feb 2013 07:13:59 +0000 (07:13 +0000)]
Fix problem with make distcheck

11 years ago0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D
eap [Tue, 19 Feb 2013 12:04:39 +0000 (12:04 +0000)]
0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D

  Do not call algo->Compute() if !algo->NeedDiscreteBoundary() and
  computing a sub-mesh of the current sub-mesh already failed.

11 years ago0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D
eap [Tue, 19 Feb 2013 12:02:54 +0000 (12:02 +0000)]
0022124: [CEA 763] Projection 1D does not work with Netgen 1D2D

-  bool SubMeshesComputed() const;
+  bool SubMeshesComputed(bool * isFailedToCompute=0) const;

   TopoDS_Shape getCollection(SMESH_Gen * theGen,
                              SMESH_Algo* theAlgo,
                              bool &      theSubComputed,
+                             bool &      theSubFailed);

+  SMESH_Algo *          _algo; // the algorithm found by last *StateEngine() call

11 years agoImprove tui examples way of documenting by specifying doxygen alias
akl [Mon, 18 Feb 2013 13:09:16 +0000 (13:09 +0000)]
Improve tui examples way of documenting by specifying doxygen alias

11 years agoPR: EDF 2569, correction Gerald Nicolas
prascle [Mon, 18 Feb 2013 13:05:07 +0000 (13:05 +0000)]
PR: EDF 2569, correction Gerald Nicolas

11 years ago- int _type; // enum hypothesis_type
eap [Mon, 18 Feb 2013 12:59:33 +0000 (12:59 +0000)]
-  int         _type;  // enum hypothesis_type
+  hypothesis_type _type;  // enum hypothesis_type

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 18 Feb 2013 12:58:39 +0000 (12:58 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

   Not to clear sub-meshes computed by local algos when an
   all-dimensional global algorithm is assigned

-  void cleanDependsOn();
+  void cleanDependsOn( bool keepSupportedsubMeshes = false );

11 years agoFix pb with 'make installcheck'
vsr [Mon, 18 Feb 2013 10:13:29 +0000 (10:13 +0000)]
Fix pb with 'make installcheck'

11 years agoReplace 'make check' by 'make installcheck'
vsr [Fri, 15 Feb 2013 08:56:29 +0000 (08:56 +0000)]
Replace 'make check' by 'make installcheck'

11 years agoFix path to 'am2cmake.py' as soon as it was moved into 'deprecated' subdir.
akl [Thu, 14 Feb 2013 14:32:46 +0000 (14:32 +0000)]
Fix path to 'am2cmake.py' as soon as it was moved into 'deprecated' subdir.

11 years agoFix hangup of make check due to problem with SALOME session killing
vsr [Thu, 14 Feb 2013 07:00:36 +0000 (07:00 +0000)]
Fix hangup of make check due to problem with SALOME session killing

11 years agoMove into standalone group scripts that depend on plugins. This group is not used...
akl [Wed, 13 Feb 2013 14:21:21 +0000 (14:21 +0000)]
Move into standalone group scripts that depend on plugins. This group is not used during 'make check'.

11 years agoFix bugs in unitary tests
vsr [Wed, 13 Feb 2013 14:13:20 +0000 (14:13 +0000)]
Fix bugs in unitary tests

11 years ago0021895: EDF 2372 GEOM SMESH : Generate the doc examples from real python scripts
akl [Fri, 8 Feb 2013 14:11:14 +0000 (14:11 +0000)]
0021895: EDF 2372 GEOM SMESH : Generate the doc examples from real python scripts

11 years ago0021840: [CEA 655] Scalar bar: using a logarithmic scale
jfa [Fri, 8 Feb 2013 12:40:16 +0000 (12:40 +0000)]
0021840: [CEA 655] Scalar bar: using a logarithmic scale

11 years ago0022091: [CEA 760] Regression on test test check_mesh_stability.py
eap [Wed, 6 Feb 2013 13:05:09 +0000 (13:05 +0000)]
0022091: [CEA 760] Regression on test test check_mesh_stability.py

  care of quadratic elements

11 years ago0022091: [CEA 760] Regression on test test check_mesh_stability.py
eap [Wed, 6 Feb 2013 13:04:40 +0000 (13:04 +0000)]
0022091: [CEA 760] Regression on test test check_mesh_stability.py

+  void SetIgnoreMediumNodes(bool toIgnore);

11 years ago0022091: [CEA 760] Regression on test test check_mesh_stability.py
eap [Wed, 6 Feb 2013 13:04:18 +0000 (13:04 +0000)]
0022091: [CEA 760] Regression on test test check_mesh_stability.py

In Compute(), call aHelper.FixQuadraticElements() only if everything is OK

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 4 Feb 2013 14:25:07 +0000 (14:25 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

   1) fix GetLayersTransformation(): use EDGEs in a right order
   2) Find source FACE by a local 1D hyps

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 4 Feb 2013 14:24:34 +0000 (14:24 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

   fix GetLayersTransformation(): use EDGEs in a right order

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 4 Feb 2013 12:18:16 +0000 (12:18 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

   find the source FACE by local 1D hyps

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 4 Feb 2013 11:41:26 +0000 (11:41 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

   fix ~faceQuadStruct() as same side can repeat in vector< StdMeshers_FaceSide*>

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 4 Feb 2013 11:40:07 +0000 (11:40 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

   fix reversion myC3dAdaptor's

11 years agoexplanation of file name origin
eap [Fri, 1 Feb 2013 15:10:26 +0000 (15:10 +0000)]
explanation of file name origin

11 years agominor change
eap [Fri, 1 Feb 2013 13:54:45 +0000 (13:54 +0000)]
minor change

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Fri, 1 Feb 2013 10:52:04 +0000 (10:52 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

In Compute(), do not call Compute() of a more local algo if this
!algo->NeedDiscreteBoundary() also

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Wed, 30 Jan 2013 11:34:32 +0000 (11:34 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

Clear StdMeshers_Quadrangle_2D::myQuadStruct before usage

+      algo->myQuadStruct.reset();

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Wed, 30 Jan 2013 11:28:41 +0000 (11:28 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

11 years agotypo
eap [Wed, 30 Jan 2013 07:37:51 +0000 (07:37 +0000)]
typo

11 years ago0022082: EDF 1891 SMESH: Performance issues in SMESH filters
eap [Tue, 29 Jan 2013 15:14:57 +0000 (15:14 +0000)]
0022082: EDF 1891 SMESH: Performance issues in SMESH filters

In MapCells(SALOME_Actor*,const TColStd_IndexedMapOfInteger& theMap),
move the following code out of the loop on theMap

   UnShrink();
   if(theMapActor->IsShrunk()){
     SetShrinkFactor(theMapActor->GetShrinkFactor());
   }
   myMapIndex = theMap;

11 years agoEDF 2196 SMESH: Update doc for creating all the groups in an extrusion operation
ctn [Mon, 28 Jan 2013 12:37:10 +0000 (12:37 +0000)]
EDF 2196 SMESH: Update doc for creating all the groups in an extrusion operation

11 years agofix GetPreviewData() for the case of only nodes in edition result
eap [Mon, 28 Jan 2013 11:10:54 +0000 (11:10 +0000)]
fix GetPreviewData() for the case of only nodes in edition result

11 years agominor
eap [Mon, 28 Jan 2013 08:54:11 +0000 (08:54 +0000)]
minor

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:35:50 +0000 (08:35 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

arg theFirstVertex of SMESH_Block::GetOrderedEdges() became optional

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:35:01 +0000 (08:35 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

 struct faceQuadStruct
 {
+  void shift( size_t nb, bool keepUnitOri );
+  typedef boost::shared_ptr<faceQuadStruct> Ptr;
 }

-  FaceQuadStruct* CheckNbEdges();
+  FaceQuadStruct::Ptr CheckNbEdges();

+  FaceQuadStruct::Ptr  myQuadStruct;

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:32:01 +0000 (08:32 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

StdMeshers_ProjectionUtils::Count() moved to SMESH_MesherHelper::Count()

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:31:47 +0000 (08:31 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

arg theFirstVertex of SMESH_Block::GetOrderedEdges() became optional

StdMeshers_ProjectionUtils::Count() moved to SMESH_MesherHelper::Count()

11 years agomore comments
eap [Mon, 28 Jan 2013 08:31:21 +0000 (08:31 +0000)]
more comments

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:29:47 +0000 (08:29 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:29:36 +0000 (08:29 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

Use SMESH_MesherHelper::IsSameElemGeometry()

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:29:06 +0000 (08:29 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

-  int NbPoints() const { return myNbPonits; }
+  int NbPoints(const bool update = false) const;

-  int NbSegments() const { return myNbSegments; }
+  int NbSegments(const bool update = false) const;

+  gp_Pnt   Value3d(double U) const;

arg theFirstVertex of SMESH_Block::GetOrderedEdges() became optional

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:27:35 +0000 (08:27 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

arg theFirstVertex of SMESH_Block::GetOrderedEdges() became optional

11 years agofix typo: geomerty -> geometry
eap [Mon, 28 Jan 2013 08:25:07 +0000 (08:25 +0000)]
fix typo: geomerty -> geometry

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:21:38 +0000 (08:21 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

+struct faceQuadStruct; // defined in StdMeshers_Quadrangle_2D.hxx
+typedef boost::shared_ptr<faceQuadStruct> TFaceQuadStructPtr;

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:21:16 +0000 (08:21 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

Make arg theFirstVertex of GetOrderedEdges() optional

11 years agotypo: geomerty -> geometry
eap [Mon, 28 Jan 2013 08:20:18 +0000 (08:20 +0000)]
typo: geomerty -> geometry

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:19:29 +0000 (08:19 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

Make SubMeshesComputed() public

Make getDependsOnIterator() const

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:17:43 +0000 (08:17 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

Improve LoadNodeColumns() to add columns to already loaded ones

+  static bool IsSameElemGeometry(const SMESHDS_SubMesh* smDS,
+                                 SMDSAbs_GeometryType   shape,
+                                 const bool             nullSubMeshRes = true);

+  static bool IsStructured( SMESH_subMesh* faceSM );

+  static int Count(const TopoDS_Shape&    shape,
+                   const TopAbs_ShapeEnum type,
+                   const bool             ignoreSame);

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:16:00 +0000 (08:16 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

+  static bool IsSameElemGeometry(const SMESHDS_SubMesh* smDS,
+                                 SMDSAbs_GeometryType   shape,
+                                 const bool             nullSubMeshRes = true);

+  static bool IsStructured( SMESH_subMesh* faceSM );

+  static int Count(const TopoDS_Shape&    shape,
+                   const TopAbs_ShapeEnum type,
+                   const bool             ignoreSame);

-  void SetElementsOnShape(bool toSet) { mySetElemOnShape = toSet; }
+  bool SetElementsOnShape(bool toSet)
+  { bool res = mySetElemOnShape; mySetElemOnShape = toSet; return res; }

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:13:58 +0000 (08:13 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

+  SMESH_Gen*  GetGen() const { return (SMESH_Gen*) _gen; }

11 years ago0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
eap [Mon, 28 Jan 2013 08:13:42 +0000 (08:13 +0000)]
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm

Use aGlobIgnoAlgo->NeedLowerHyps( dim ) in checkConformIgnoredAlgos()