Commit Graph

340 Commits

Author SHA1 Message Date
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
752ad5bd14 untabify 2012-12-28 16:30:38 +00:00
eap
9ed5632be0 22017: [CEA 739] Get an error code returned by cadsurf_set_param
Remove "Salome " from "Salome Exception" prefix returned by
  SALOME_Exception::what() while composing an error message
2012-12-18 13:33:32 +00:00
eap
b69677548c 22011: [CEA 736] Mesh ends with "Global 2D algorithm is missing"
In checkMissing(), check only sub-meshes on meshable shapes (edges,faces,solids)
2012-12-17 16:37:18 +00:00
eap
7973c25121 21948: EDF SMESH : Memory is not freed when deleting a mesh
In DeleteEventListener() fix removal of listeners
2012-12-14 13:25:12 +00:00
eap
413fec58c7 21948: EDF SMESH : Memory is not freed when deleting a mesh
Use _id instead of _idDoc

-  _myMeshDS      = theDocument->GetMesh(_idDoc);
+  _myMeshDS      = theDocument->NewMesh(theIsEmbeddedMode,theLocalId);
2012-12-14 13:24:26 +00:00
eap
730908a7f4 21948: EDF SMESH : Memory is not freed when deleting a mesh
-  int                        _idDoc;        // id given by SMESHDS_Document
2012-12-14 13:23:20 +00:00
eap
0d9cd77ceb 21948: EDF SMESH : Memory is not freed when deleting a mesh
minor changes
2012-12-14 13:22:42 +00:00
eap
d3fb998efd 21948: EDF SMESH : Memory is not freed when deleting a mesh
Delete SMESHDS_Document's at destruction
2012-12-14 13:21:56 +00:00
vsr
13ff1c4641 Merge from V6_6_BR (V6_6_0rc2) 11/12/2012 2012-12-11 13:23:39 +00:00
ana
e77525fc4f win32 compatibility 2012-10-17 13:42:00 +00:00
eap
7e1dee49ad 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Fix setEventListener() for a case of a listener found by name
2012-10-16 11:19:06 +00:00
eap
b648205fec 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
1) Fix notifyListenersOnEvent() for the case if a listener is deleted
2) in setEventListener(), use a listener name to find an existing listener
2012-10-15 13:15:55 +00:00
eap
c0f78ed06c + const SMESHDS_SubMesh * GetSubMeshDS() const; 2012-10-15 13:04:17 +00:00
eap
3750df108a 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
Extend the class to store 1D proxy elements
2012-10-15 13:03:16 +00:00
eap
4605267548 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
-void FindEqualElements(set<const SMDS_MeshElement*> & theElements,
+void FindEqualElements(TIDSortedElemSet &        theElements,
                        TListOfListOfElementsID & theGroupsOfElementsID)
2012-10-15 13:01:00 +00:00
prascle
f3d031f77d PR: bug on CreateHoleSkin with groups 2012-10-12 10:59:49 +00:00
eap
798c633011 in ComputeStateEngine(), clear _computeError at certain events only 2012-10-10 10:45:50 +00:00
eap
b02b941bd8 protect GetSubShapeByNode() from SIGSEGV at NULL node 2012-10-10 10:44:55 +00:00
eap
5f62c18c48 Make IsQuadraticMesh() return LINEAR instead of QUADRATIC in an empty mesh 2012-10-01 14:08:42 +00:00
eap
1943d6f613 0021884]: [CEA 679] SALOME crashes when using Netgen 2D without 1D algorithm
Stupid access to NULL object
2012-10-01 13:58:55 +00:00
eap
6162a92b86 Enable searching EventListener by its name
+  const char*  GetName()     const { return myName; }
+  virtual void BeforeDelete(SMESH_subMesh*                  subMesh,
+                            SMESH_subMeshEventListenerData* data)
2012-09-24 11:26:52 +00:00
eap
9586144b53 + EventListenerData* GetEventListenerData(const std::string& listenerName) const; 2012-09-24 11:25:47 +00:00
eap
587ed40d42 Enable Transform() of 0D elements 2012-09-24 11:24:09 +00:00
eap
b59ca5c972 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  SMESH_ComputeErrorPtr GMFToMesh(const char* theFileName);
+  void ExportGMF(const char * file, const SMESHDS_Mesh* mesh);
2012-09-24 11:20:01 +00:00
eap
cc048fe72d Remove this from StudyContextStruct at destructor 2012-09-24 11:19:01 +00:00
eap
2974c0b8ab 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
when setting myName, call myGroupDS->SetStoreName( myName )
2012-09-24 11:17:56 +00:00
eap
dce6fb4fd7 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	-I$(srcdir)/../DriverGMF \
2012-09-24 11:16:52 +00:00
ana
3dfa809507 Win32 compatibility 2012-09-20 08:06:33 +00:00
eap
2077709da4 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+  void force3DOutOfBoundary( SMESH_MesherHelper&    theHelper,
+                             SMESH_ComputeErrorPtr& theError)
2012-09-17 10:18:28 +00:00
eap
12c889c3f6 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Returns description of an error/warning occured during the last mesh edition
2012-09-17 10:18:07 +00:00
eap
7a940415de 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Improve GetAlgo()
2012-09-11 13:20:29 +00:00
eap
118122435c 0021845: EDF 1855 SMESH : A no-regression test fails on RadialQuadrangle meshing
+  static TopAbs_ShapeEnum GetGroupType(const TopoDS_Shape& group,
+                                       const bool          avoidCompound=false);
2012-09-11 09:24:59 +00:00
eap
68b41560cb 0021845: EDF 1855 SMESH : A no-regression test fails on RadialQuadrangle meshing
1) fix getAlgoData()
2) correct detection of concurrent algos in GetAlgo()
2012-09-11 09:24:28 +00:00
prascle
34976cf1e1 PR: bug EDF 2300 2012-09-10 07:04:02 +00:00
prascle
61bc7f8f5f PR: correction bug EDF 2299. 2012-09-08 14:40:53 +00:00
eap
98ad123d21 0021843: [CEA 658] Segmentation fault when using GHS3D on a 2D group
correct fillAncestorsMap() not to miss COMPOUNDs inside a COMPOUND
2012-09-07 08:00:48 +00:00
eap
f8658faa90 0021843: [CEA 658] Segmentation fault when using GHS3D on a 2D group
Avoid "1D global algo is missing" error if it's not really missing
2012-09-07 07:58:38 +00:00
eap
314c0d0977 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Use LDOMParser

+  -lTKCDF
2012-09-06 14:08:01 +00:00
eap
7f64a1c94a 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
1) +  static std::vector< std::string > GetPluginXMLPaths();
2) In GetAlgo(), choose a concurrent 2D algorithm whose output is
suitable to both different 3D algos on SOLIDs
2012-09-06 14:07:24 +00:00
eap
b2a682e314 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
+  static std::vector< std::string > GetPluginXMLPaths();
2012-09-06 13:50:41 +00:00
eap
2a7bf64d23 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
+  // return true if given order of sub-meshes is OK
+  bool IsOrderOK( const SMESH_subMesh* smBefore,
+                  const SMESH_subMesh* smAfter ) const;
2012-09-06 13:49:43 +00:00
prascle
4cde840048 PR: correction bug EDF 2299. 2012-09-06 13:27:46 +00:00
prascle
fc3530a171 PR: tools for crack meshing : take into account surfaces detected as only GeomAbs_C0 but still OK for meshing 2012-09-04 13:57:12 +00:00
prascle
7446d65dcb PR: tools for crack meshing : detection of elements affected by node duplication, identification of elements near a geom shape, to create a hole, creation of the skin of the future hole 2012-09-04 13:54:50 +00:00
eap
a297fa5cdd 0021823: [CEA 649] Compute failed without any errors
Fix reporting a warning if no elements are assigned to a sub-shape
2012-08-31 12:08:42 +00:00
eap
3cff0381cc 0021823: [CEA 649] Compute failed without any errors
bool checkComputeError(SMESH_Algo*         theAlgo,
+                         const bool          theComputeOK,
                          const TopoDS_Shape& theShape=TopoDS_Shape());
2012-08-31 12:07:45 +00:00
eap
1a1cf7152f 0021823: [CEA 649] Compute failed without any errors
report a warning if no elements are assigned to a sub-shape
2012-08-30 07:42:09 +00:00
eap
36df571332 Remove useless files, declarations and implementations of constructors
of classes are moved to SMESH.Algo.*xx

SMESH_*D_Algo.*xx
2012-08-29 16:43:11 +00:00