Commit Graph

2258 Commits

Author SHA1 Message Date
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
eap
3a62786158 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
+  bool NeedLowerHyps(int dim) const { return _neededLowerHyps[ dim ]; }

+  void addBadInputElements(const SMESHDS_SubMesh* sm,
+                           const bool             addNodes=false);

+  bool _neededLowerHyps[4];     // hyp dims needed by algo that !NeedDiscreteBoundary(). Df. FALSE
2013-01-28 08:12:41 +00:00
eap
fef790995d 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm 2013-01-28 08:09:52 +00:00
jfa
2e3f1dc0ff Mantis issue 0020483: EDF 1117 SMESH,VISU: Mesh with descending connectivity is badly read by SMESH and VISU 2013-01-25 13:47:57 +00:00
vsr
097db70a03 0022080: [CEA 756] Regression: error at libMEDMEM_Swig.MESH function call 2013-01-25 09:00:47 +00:00
rnc
af15920c77 added BOOST_LIB_SYSTEM to the linker for support of boost 1.52.0 2013-01-24 10:52:43 +00:00
eap
f5335851f1 fix mesh name at "m = smesh.Mesh(mesh)" 2013-01-22 12:40:21 +00:00
eap
7f2264006b fix exception at "m = smesh.Mesh()" 2013-01-22 12:01:47 +00:00
eap
577999dffd make Mesh.MeshDimension() work in case w/o geometry 2013-01-22 09:08:00 +00:00
inv
44d181bc0e Porting to dev version of OCCT 2013-01-22 07:25:28 +00:00
vsr
08b70d2054 Fix regression in RemoveHypothesis() method (hypothesis is not removed if mesh does not have underlying shape) caused by previous integrations 2013-01-15 12:26:34 +00:00
gdd
f9731f2518 The help document would not open 2013-01-14 17:01:13 +00:00
eap
ab3feed3ba improve default naming of meshes and geometry to mesh 2013-01-11 12:54:18 +00:00
eap
fb1aabb3d1 minor 2013-01-11 12:01:00 +00:00
eap
8d0826c197 021860: EDF 2196 SMESH : Create all the groups in an extrusion operation 2013-01-11 12:00:35 +00:00