Commit Graph

1874 Commits

Author SHA1 Message Date
rnc
a1c4092296 Update error message about not supported types of elements. All quadratic quadrangles and hexaedra can now be written in .mesh format 2013-02-25 10:36:44 +00:00
rnc
25dbdaf408 Used new Keyword GmfExtraVerticesAt .. for reading and writing tetra and hexa quadratic meshes in GMF format 2013-02-25 10:34:59 +00:00
eap
6f79204fcf -#define __myDEBUG
+//#define __myDEBUG
2013-02-22 13:16:07 +00:00
eap
4a40272838 SALOME Forum: viscous layers builder: failed at the very first inflation step
http://www.salome-platform.org/forum/forum_10/537530484
2013-02-22 13:04:17 +00:00
eap
ab9600ccf0 0022134: DriverGMF : reading quadratic meshes
BEGINNING OF
  The way of storage of quadratic elements has been corrected
2013-02-22 08:22:12 +00:00
akl
2770bdc924 0022123: EDF 2558 SMESH: Group creation crashs with the filter "Free faces":
using reject() slot instead of closeEvent() and hideEvent().
2013-02-21 12:10:00 +00:00
eap
469f938766 0022130: EDF 2579 SMESH: Issue with Viscous Layer
fix detection of the closed EDGE
2013-02-20 16:06:58 +00:00
eap
f35cfb87a0 0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been generated
SMESH_Algo::IsReversedSubMesh() is moved to SMESH_MesherHelper
2013-02-20 08:47:05 +00:00
eap
bb00f9a545 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)
2013-02-20 08:46:42 +00:00
eap
98e6b6eb53 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
2013-02-20 08:45:49 +00:00
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
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
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
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
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
eap
2949f1214b fix GetPreviewData() for the case of only nodes in edition result 2013-01-28 11:10:54 +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
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