Commit Graph

2294 Commits

Author SHA1 Message Date
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
eap
ea7f54796a 021860: EDF 2196 SMESH : Create all the groups in an extrusion operation
-        void Add(const SMDS_MeshElement * theElem);
+        bool Add(const SMDS_MeshElement * theElem);
2013-01-11 11:58:50 +00:00
eap
8ef1551cb0 fix indentation 2013-01-10 11:33:47 +00:00
eap
b48879bb7b 21397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder
fix pattern orientation when projecting to a FACE with seam EDGE
2013-01-10 11:33:12 +00:00
eap
6f564a0788 In RemoveHypothesis() print a WARNING if the hypothesis was not
assigned to the given shape
2013-01-10 11:30:44 +00:00
eap
7f5d1328b1 21397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder
after successful algo->Compute(), send SUBMESH_COMPUTED to all lower sub-meshes if ( !algo->NeedDiscreteBoundary() )
2013-01-10 11:29:37 +00:00
eap
293883f8d4 21397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder
bool Load (SMESH_Mesh*        theMesh,
              const TopoDS_Face& theFace,
              bool               theProject = false,
+             TopoDS_Vertex      the1stVertex=TopoDS_Vertex());
2013-01-10 11:26:34 +00:00
eap
a94078a14b improve comments 2013-01-10 11:25:42 +00:00
eap
9dc2cf2141 name of a reference must be on one line 2013-01-09 09:07:19 +00:00
vsr
577906c7b0 Imp: numbering font preferences 2012-12-29 11:45:10 +00:00
eap
752ad5bd14 untabify 2012-12-28 16:30:38 +00:00
eap
e9bec6bddf missing @param description 2012-12-28 16:26:40 +00:00
eap
163befd6c9 0021397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder 2012-12-28 16:24:50 +00:00
eap
e205108fca 0021397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder 2012-12-28 15:53:47 +00:00
eap
00ac0dfc36 typo 2012-12-28 15:53:01 +00:00