Commit Graph

2222 Commits

Author SHA1 Message Date
eap
9c8fdf5101 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.
2013-02-19 12:04:39 +00:00
eap
3060a379b0 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
2013-02-19 12:02:54 +00:00
akl
54195af1ae Improve tui examples way of documenting by specifying doxygen alias 2013-02-18 13:09:16 +00:00
prascle
4713843820 PR: EDF 2569, correction Gerald Nicolas 2013-02-18 13:05:07 +00:00
eap
0397dbe729 - int _type; // enum hypothesis_type
+  hypothesis_type _type;  // enum hypothesis_type
2013-02-18 12:59:33 +00:00
eap
12443c9c47 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 );
2013-02-18 12:58:39 +00:00
vsr
779bf3653a Fix pb with 'make installcheck' 2013-02-18 10:13:29 +00:00
vsr
13131aa892 Replace 'make check' by 'make installcheck' 2013-02-15 08:56:29 +00:00
akl
2a8e9d667e Fix path to 'am2cmake.py' as soon as it was moved into 'deprecated' subdir. 2013-02-14 14:32:46 +00:00
vsr
0548026166 Fix hangup of make check due to problem with SALOME session killing 2013-02-14 07:00:36 +00:00
akl
9b15df25fd Move into standalone group scripts that depend on plugins. This group is not used during 'make check'. 2013-02-13 14:21:21 +00:00
vsr
1aed2f5d07 Fix bugs in unitary tests 2013-02-13 14:13:20 +00:00
akl
46ecd4169e 0021895: EDF 2372 GEOM SMESH : Generate the doc examples from real python scripts 2013-02-08 14:11:14 +00:00
jfa
aea880cf9e 0021840: [CEA 655] Scalar bar: using a logarithmic scale 2013-02-08 12:40:16 +00:00
eap
86a9f36ce4 0022091: [CEA 760] Regression on test test check_mesh_stability.py
care of quadratic elements
2013-02-06 13:05:09 +00:00
eap
9016043d99 0022091: [CEA 760] Regression on test test check_mesh_stability.py
+  void SetIgnoreMediumNodes(bool toIgnore);
2013-02-06 13:04:40 +00:00
eap
5ea0315b7f 0022091: [CEA 760] Regression on test test check_mesh_stability.py
In Compute(), call aHelper.FixQuadraticElements() only if everything is OK
2013-02-06 13:04:18 +00:00
eap
6e5ef9a043 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
2013-02-04 14:25:07 +00:00
eap
5b40fe7dff 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
fix GetLayersTransformation(): use EDGEs in a right order
2013-02-04 14:24:34 +00:00
eap
1263fe9d1b 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
find the source FACE by local 1D hyps
2013-02-04 12:18:16 +00:00
eap
fae3ba8fdd 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
fix ~faceQuadStruct() as same side can repeat in vector< StdMeshers_FaceSide*>
2013-02-04 11:41:26 +00:00
eap
4167c89c41 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
fix reversion myC3dAdaptor's
2013-02-04 11:40:07 +00:00
eap
f607610b9c explanation of file name origin 2013-02-01 15:10:26 +00:00
eap
968f45c0b0 minor change 2013-02-01 13:54:45 +00:00
eap
ed7d4ac971 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
2013-02-01 10:52:04 +00:00
eap
a4a38b2fb4 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
Clear StdMeshers_Quadrangle_2D::myQuadStruct before usage

+      algo->myQuadStruct.reset();
2013-01-30 11:34:32 +00:00
eap
76fc32823a 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm 2013-01-30 11:28:41 +00:00
eap
cac74c04ae typo 2013-01-30 07:37:51 +00:00
eap
83b9e1e926 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;
2013-01-29 15:14:57 +00:00
ctn
aed57dc296 EDF 2196 SMESH: Update doc for creating all the groups in an extrusion operation 2013-01-28 12:37:10 +00:00
eap
2949f1214b fix GetPreviewData() for the case of only nodes in edition result 2013-01-28 11:10:54 +00:00
eap
af68a622d3 minor 2013-01-28 08:54:11 +00:00
eap
0cd977f8bf 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
arg theFirstVertex of SMESH_Block::GetOrderedEdges() became optional
2013-01-28 08:35:50 +00:00
eap
212d7fc62e 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;
2013-01-28 08:35:01 +00:00
eap
9f2f0a0c1a 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
StdMeshers_ProjectionUtils::Count() moved to SMESH_MesherHelper::Count()
2013-01-28 08:32:01 +00:00
eap
53b3b75be6 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()
2013-01-28 08:31:47 +00:00
eap
09024c777c more comments 2013-01-28 08:31:21 +00:00
eap
1fff018cb3 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm 2013-01-28 08:29:47 +00:00
eap
7643656ed3 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
Use SMESH_MesherHelper::IsSameElemGeometry()
2013-01-28 08:29:36 +00:00
eap
c8d7fe2beb 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
2013-01-28 08:29:06 +00:00
eap
4b17835d08 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
arg theFirstVertex of SMESH_Block::GetOrderedEdges() became optional
2013-01-28 08:27:35 +00:00
eap
b605589582 fix typo: geomerty -> geometry 2013-01-28 08:25:07 +00:00
eap
a3768a4bc0 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
+struct faceQuadStruct; // defined in StdMeshers_Quadrangle_2D.hxx
+typedef boost::shared_ptr<faceQuadStruct> TFaceQuadStructPtr;
2013-01-28 08:21:38 +00:00
eap
bde9f2c7ae 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
Make arg theFirstVertex of GetOrderedEdges() optional
2013-01-28 08:21:16 +00:00
eap
d89bbd5095 typo: geomerty -> geometry 2013-01-28 08:20:18 +00:00
eap
154b1ad73e 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
Make SubMeshesComputed() public

Make getDependsOnIterator() const
2013-01-28 08:19:29 +00:00
eap
907db98bc4 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);
2013-01-28 08:17:43 +00:00
eap
6cc402aa1b 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; }
2013-01-28 08:16:00 +00:00
eap
6390e82888 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
+  SMESH_Gen*  GetGen() const { return (SMESH_Gen*) _gen; }
2013-01-28 08:13:58 +00:00
eap
9b0f684048 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
Use aGlobIgnoAlgo->NeedLowerHyps( dim ) in checkConformIgnoredAlgos()
2013-01-28 08:13:42 +00:00