]> SALOME platform Git repositories - modules/smesh.git/log
Salome HOME
modules/smesh.git
11 years ago- TCollection_AsciiString aSavedTrace (oldValue.out());
eap [Thu, 20 Dec 2012 15:31:28 +0000 (15:31 +0000)]
-  TCollection_AsciiString aSavedTrace (oldValue.out());
+  TCollection_AsciiString aSavedTrace (oldValue.in());

11 years ago0021858: EDF 2171 SMESH : Add an information about the groups an element or node...
vsr [Thu, 20 Dec 2012 15:29:39 +0000 (15:29 +0000)]
0021858: EDF 2171 SMESH : Add an information about the groups an element or node belongs to

11 years ago0021858: EDF 2171 SMESH : Add an information about the groups an element or node...
vsr [Thu, 20 Dec 2012 14:44:56 +0000 (14:44 +0000)]
0021858: EDF 2171 SMESH : Add an information about the groups an element or node belongs to

11 years agoFix misprint
vsr [Thu, 20 Dec 2012 12:52:29 +0000 (12:52 +0000)]
Fix misprint

11 years ago- if ( myProjFace.IsDone() && myProjFace.LowerDistance() <= myTol );
eap [Thu, 20 Dec 2012 11:20:35 +0000 (11:20 +0000)]
-  if ( myProjFace.IsDone() && myProjFace.LowerDistance() <= myTol );
+  if ( myProjFace.IsDone() && myProjFace.LowerDistance() <= myTol )

11 years agoFix for 32-bit platforms
eap [Thu, 20 Dec 2012 10:19:51 +0000 (10:19 +0000)]
Fix for 32-bit platforms

-  int          GetElementIds( int* ids ) const;
+  template< typename IDTYPE >
+    int        GetElementIds( IDTYPE* ids ) const
+  {
+    return getElementIds( (void*)ids, sizeof(IDTYPE));
+  }

11 years agoprecision on 2D algo
eap [Thu, 20 Dec 2012 09:48:39 +0000 (09:48 +0000)]
precision on 2D algo

11 years agoImp: show element position in a mesh information dialog box
vsr [Thu, 20 Dec 2012 05:59:39 +0000 (05:59 +0000)]
Imp: show element position in a mesh information dialog box

11 years agoPR: fix previous commit
prascle [Wed, 19 Dec 2012 16:31:35 +0000 (16:31 +0000)]
PR: fix previous commit

11 years agoImp: dump mesh information to file
vsr [Wed, 19 Dec 2012 14:33:24 +0000 (14:33 +0000)]
Imp: dump mesh information to file

11 years agoAdd an arg to Concatenate() specifying a name of a new mesh
eap [Tue, 18 Dec 2012 17:49:25 +0000 (17:49 +0000)]
Add an arg to Concatenate() specifying a name of a new mesh

11 years ago22017: [CEA 739] Get an error code returned by cadsurf_set_param
eap [Tue, 18 Dec 2012 13:33:32 +0000 (13:33 +0000)]
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

11 years ago- TCollection_AsciiString oldScript (oldValue.out());
eap [Tue, 18 Dec 2012 12:57:39 +0000 (12:57 +0000)]
-  TCollection_AsciiString oldScript (oldValue.out());
+  TCollection_AsciiString oldScript (oldValue.in());

11 years agoFix a bug that "Lying on Geom" filter rejects elements whose gravity
eap [Tue, 18 Dec 2012 10:56:35 +0000 (10:56 +0000)]
Fix a bug that "Lying on Geom" filter rejects elements whose gravity
center is outside the shape

11 years agoPR: compilation problem on ubuntu 12.04
prascle [Tue, 18 Dec 2012 09:25:28 +0000 (09:25 +0000)]
PR: compilation problem on ubuntu 12.04

11 years agoImp for Mesh Info dialog box: double click on "connectivity" item switch dialog box...
vsr [Tue, 18 Dec 2012 08:06:25 +0000 (08:06 +0000)]
Imp for Mesh Info dialog box: double click on "connectivity" item switch dialog box to show information of connected nodes/elements

11 years ago- nbElemsLabel = new QLabel(" 0", this );
eap [Mon, 17 Dec 2012 16:42:40 +0000 (16:42 +0000)]
-  nbElemsLabel = new QLabel("              0", this );
+  nbElemsLabel = new QLabel("0", this );

11 years ago22011: [CEA 736] Mesh ends with "Global 2D algorithm is missing"
eap [Mon, 17 Dec 2012 16:37:18 +0000 (16:37 +0000)]
22011: [CEA 736] Mesh ends with "Global 2D algorithm is missing"

  In checkMissing(), check only sub-meshes on meshable shapes (edges,faces,solids)

11 years agoAllow for definition of sweep vector by 3 vector components
eap [Mon, 17 Dec 2012 16:17:54 +0000 (16:17 +0000)]
Allow for definition of sweep vector by 3 vector components

11 years agoImp: allow customization of nodes / cells numbering text properties via preferences
vsr [Mon, 17 Dec 2012 15:48:01 +0000 (15:48 +0000)]
Imp: allow customization of nodes / cells numbering text properties via preferences

11 years agoAdd missing throw (SALOME::SALOME_Exception)
eap [Mon, 17 Dec 2012 15:39:59 +0000 (15:39 +0000)]
Add missing throw (SALOME::SALOME_Exception)

11 years agoAdd missing try/catch using SMESH_TryCatch.hxx
eap [Mon, 17 Dec 2012 15:39:30 +0000 (15:39 +0000)]
Add missing try/catch using SMESH_TryCatch.hxx

11 years ago+ /*!
eap [Mon, 17 Dec 2012 15:38:09 +0000 (15:38 +0000)]
+  /*!
+   * \brief Function used in SMESH_CATCH to convert a caught exception to
+   * SALOME::SALOME_Exception
+   */
+  inline void throwCorbaException(const char* excText)
+  {
+    THROW_SALOME_CORBA_EXCEPTION( excText, SALOME::INTERNAL_ERROR );
+  }

11 years ago- smeshpy.py
eap [Mon, 17 Dec 2012 15:10:44 +0000 (15:10 +0000)]
- smeshpy.py

11 years agouseless file
eap [Mon, 17 Dec 2012 15:09:43 +0000 (15:09 +0000)]
useless file

11 years agoUse SMESH_TryCatch.hxx
eap [Mon, 17 Dec 2012 14:14:18 +0000 (14:14 +0000)]
Use SMESH_TryCatch.hxx

11 years ago+ SMESH_TryCatch.hxx
eap [Mon, 17 Dec 2012 14:14:03 +0000 (14:14 +0000)]
+ SMESH_TryCatch.hxx

11 years ago22010: [CEA 731] "CreateDimGroup" creates some faces not belonging to volumes's skin
eap [Mon, 17 Dec 2012 14:12:40 +0000 (14:12 +0000)]
22010: [CEA 731] "CreateDimGroup" creates some faces not belonging to volumes's skin

 Re-implenent CreateDimGroup()

11 years agoImp: use file name as default mesh name when publishing data coming from SAUV or...
vsr [Mon, 17 Dec 2012 12:38:17 +0000 (12:38 +0000)]
Imp: use file name as default mesh name when publishing data coming from SAUV or STL file

11 years agoFix bug: wrong default color the the group
vsr [Mon, 17 Dec 2012 12:15:09 +0000 (12:15 +0000)]
Fix bug: wrong default color the the group

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:57:37 +0000 (13:57 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

   Elimenate memory leaks on CORBA objects, servants of SALOMEDS objects etc

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:56:22 +0000 (13:56 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

   UnRegister filter manager etc

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:54:34 +0000 (13:54 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

         <source>SMESH_VISU_PROBLEM</source>
+        <translation>Mesh visualization failed</translation>
+    </message>
+    <message>
+        <source>SMESH_VISU_PROBLEM_MEMORY</source>
         <translation>Mesh visualization failed, probably due to lack of memory</translation>

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:54:12 +0000 (13:54 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

+  bool                         myToDeleteInitParamsHypo;

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:49:42 +0000 (13:49 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

   Show nb of nodes and elements in "Compute" dialog

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:44:41 +0000 (13:44 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

    SMESH::RemoveVisualObjectWithActors() at object removal from study

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:42:25 +0000 (13:42 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

  Fix a leak of GEOM_IGroupOperations_i servant

11 years agountabify
eap [Fri, 14 Dec 2012 13:41:32 +0000 (13:41 +0000)]
untabify

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:41:14 +0000 (13:41 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

  Optimize for groups in large meshes

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:40:14 +0000 (13:40 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

  Delete fields in order of their declaration in the header - for easier check

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:37:18 +0000 (13:37 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

 Fix leaks of myPreHighlightActor and myHighlightActor

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:36:23 +0000 (13:36 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

Optimize ElementsOnShape for large meshes

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:35:19 +0000 (13:35 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

+  static void ForgetAllData( SMESH_Mesh_i* mesh );

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:34:34 +0000 (13:34 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

   Elimenate memory leaks on CORBA objects, servants of SALOMEDS objects etc

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:34:18 +0000 (13:34 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

+  static bool               IsTemporaryIDSource( SMESH::SMESH_IDSource_ptr& idSource );

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:33:47 +0000 (13:33 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

Optimize groups on filter for large meshes

+  virtual SMESH::long_array* GetListOfID();
+  virtual SMESH::long_array* GetMeshInfo();

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:25:12 +0000 (13:25 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

In DeleteEventListener() fix removal of listeners

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:24:26 +0000 (13:24 +0000)]
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);

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:23:20 +0000 (13:23 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

-  int                        _idDoc;        // id given by SMESHDS_Document

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:22:42 +0000 (13:22 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

 minor changes

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:21:56 +0000 (13:21 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

 Delete SMESHDS_Document's at destruction

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:19:01 +0000 (13:19 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

Optimize for large meshes

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:17:12 +0000 (13:17 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

 void SMESHDS_SubMesh::Clear()
 {
-  myElements.clear();
-  myNodes.clear();
+  clearVector( myElements );
+  clearVector( myNodes );

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:16:39 +0000 (13:16 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

-        int                  NewMesh(bool theIsEmbeddedMode);
+        SMESHDS_Mesh *       NewMesh(bool theIsEmbeddedMode, int MeshID);

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:15:17 +0000 (13:15 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

pass vector arg by reference, not by value

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:13:00 +0000 (13:13 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

fix leaks of cellLinks: adjuct vtkCellLinks::MaxId

+  void ResizeForPoint(vtkIdType vtkID);

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:09:07 +0000 (13:09 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

fix leaks of cellLinks

class SMDS_EXPORT SMDS_CellLinks: public vtkCellLinks
{
public:
+  void ResizeForPoint(vtkIdType vtkID);

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:08:08 +0000 (13:08 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

fix leaks of cellLinks

void SMDS_MeshNode::init()
{
-  if (myVtkID >= cellLinks->GetLinksSize())
-          cellLinks->ResizeL(myVtkID+SMDS_Mesh::chunkSize);
+  cellLinks->ResizeForPoint( myVtkID );

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:04:42 +0000 (13:04 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

Make clear free as much as possible memory

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 13:02:44 +0000 (13:02 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

+  void clear()

11 years ago21948: EDF SMESH : Memory is not freed when deleting a mesh
eap [Fri, 14 Dec 2012 12:30:59 +0000 (12:30 +0000)]
21948: EDF SMESH : Memory is not freed when deleting a mesh

   Elimenate memory leaks

11 years agoMerge from BR_Qt48_porting (compatibility with Qt4.8) 14/12/2012
vsr [Fri, 14 Dec 2012 10:16:09 +0000 (10:16 +0000)]
Merge from BR_Qt48_porting (compatibility with Qt4.8) 14/12/2012

11 years agoMerge from V6_6_BR (V6_6_0rc2) 11/12/2012
vsr [Tue, 11 Dec 2012 13:23:39 +0000 (13:23 +0000)]
Merge from V6_6_BR (V6_6_0rc2) 11/12/2012

12 years ago0021999: EDF 2480 SMESH : Aspect ratio on a flat mesh
eap [Fri, 23 Nov 2012 14:34:33 +0000 (14:34 +0000)]
0021999: EDF 2480 SMESH : Aspect ratio on a flat mesh

   1) For badly shaped elements, to prevent division by zero and other FP errors, do not use Presicion::Confusion() but 1e-100 and return 1e+100 if this limit is overcome
   2) merge other changes from V6_6_BR

12 years agoRemove unwanted file
gdd [Mon, 12 Nov 2012 09:59:56 +0000 (09:59 +0000)]
Remove unwanted file

12 years agoajout du plugin yams
pnoyret [Mon, 29 Oct 2012 13:06:41 +0000 (13:06 +0000)]
ajout du plugin yams

12 years agominor bugs -)
pnoyret [Mon, 29 Oct 2012 13:02:14 +0000 (13:02 +0000)]
minor bugs -)

12 years agoUpdate translation files
gdd [Tue, 23 Oct 2012 10:03:15 +0000 (10:03 +0000)]
Update translation files

12 years agoGenerating documentation by CMake: small correction V6_6_0a1
ana [Mon, 22 Oct 2012 08:55:16 +0000 (08:55 +0000)]
Generating documentation by CMake: small correction

12 years agoGenerating documentation by CMake
ana [Mon, 22 Oct 2012 08:41:19 +0000 (08:41 +0000)]
Generating documentation by CMake

12 years ago0021339: EDF 1928 SMESH: Create group of 0D elements
eap [Fri, 19 Oct 2012 07:45:39 +0000 (07:45 +0000)]
0021339: EDF 1928 SMESH: Create group of 0D elements

12 years ago0021339: EDF 1928 SMESH: Create group of 0D elements
eap [Thu, 18 Oct 2012 11:44:44 +0000 (11:44 +0000)]
0021339: EDF 1928 SMESH: Create group of 0D elements

12 years agountabify
eap [Thu, 18 Oct 2012 11:44:28 +0000 (11:44 +0000)]
untabify

12 years agofix of comment
eap [Thu, 18 Oct 2012 11:43:55 +0000 (11:43 +0000)]
fix of comment

12 years ago0021339: EDF 1928 SMESH: Create group of 0D elements
eap [Thu, 18 Oct 2012 11:42:50 +0000 (11:42 +0000)]
0021339: EDF 1928 SMESH: Create group of 0D elements

  Enable filtering 0D elements

12 years ago0021339: EDF 1928 SMESH: Create group of 0D elements
eap [Thu, 18 Oct 2012 11:41:56 +0000 (11:41 +0000)]
0021339: EDF 1928 SMESH: Create group of 0D elements

  Enable creation of Balls and 0D elements on all selected nodes, not
  on one node only

12 years ago0021339: EDF 1928 SMESH: Create group of 0D elements
eap [Thu, 18 Oct 2012 11:40:33 +0000 (11:40 +0000)]
0021339: EDF 1928 SMESH: Create group of 0D elements

  Fix ElemGeomType::IsSatisfy() to work automatically with any new type

12 years agowin32 compatibility
ana [Wed, 17 Oct 2012 13:42:00 +0000 (13:42 +0000)]
win32 compatibility

12 years ago0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins...
ana [Wed, 17 Oct 2012 06:21:34 +0000 (06:21 +0000)]
0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods). Porting to CMake.

12 years ago0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import...
vsr [Tue, 16 Oct 2012 16:00:19 +0000 (16:00 +0000)]
0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box

12 years ago0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import...
vsr [Tue, 16 Oct 2012 15:49:48 +0000 (15:49 +0000)]
0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Tue, 16 Oct 2012 11:19:06 +0000 (11:19 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

  Fix setEventListener() for a case of a listener found by name

12 years agoValues of element controls have been added to Mesh info
eap [Tue, 16 Oct 2012 09:56:24 +0000 (09:56 +0000)]
Values of element controls have been added to Mesh info

12 years ago0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the...
vsr [Tue, 16 Oct 2012 08:28:43 +0000 (08:28 +0000)]
0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the hdf file

12 years agowin32 compilation: remove unnecessary definition of dllimport
ana [Tue, 16 Oct 2012 06:35:13 +0000 (06:35 +0000)]
win32 compilation: remove unnecessary definition of dllimport

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:52:18 +0000 (14:52 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

   Add StdMeshers_ViscousLayers2D hypothesis

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:41:16 +0000 (14:41 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

1) Move struct uvPtStruct to SMESH_TypeDefs.hxx
2) Enable work with a SMESH_ProxyMesh

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:39:45 +0000 (14:39 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

+ StdMeshers_ViscousLayers2D.cxx \

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:39:03 +0000 (14:39 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

+    def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor, ignoreEdges=[]):

12 years agoConvert ExportGMF()
eap [Mon, 15 Oct 2012 14:38:40 +0000 (14:38 +0000)]
Convert ExportGMF()

12 years agoFix dump of ExportGMF() and ExportCGNS()
eap [Mon, 15 Oct 2012 14:35:51 +0000 (14:35 +0000)]
Fix dump of ExportGMF() and ExportCGNS()

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:34:23 +0000 (14:34 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

 In FindEqualElements(), use idSourceToSet()

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:32:14 +0000 (14:32 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

enable reporting lack of a node on a vertex

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:30:54 +0000 (14:30 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

move struct uvPtStruct from StdMeshers_FaceSide

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:30:14 +0000 (14:30 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

Derive SMESH_Octree from a template SMESH_Tree

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:29:45 +0000 (14:29 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

Derive SMESH_Octree from SMESH_Tree

+ SMESH_Tree.hxx \
+ SMESH_Quadtree.hxx \

12 years agoAvoid referencing memory of an automatic variable
eap [Mon, 15 Oct 2012 14:27:55 +0000 (14:27 +0000)]
Avoid referencing memory of an automatic variable

   struct StdParam
   {
-    const char* text() const { return myText.toLatin1().constData(); }
+    const char* text() const {
+      ((QByteArray&) myTextAsBytes) = myText.toLatin1(); return myTextAsBytes.constData();
+    }

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 14:25:42 +0000 (14:25 +0000)]
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

-  inline SMESHDS_Mesh *getParent() {return myParent; };
+  SMESHDS_Mesh *GetParent()   { return myParent; }

12 years ago0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
eap [Mon, 15 Oct 2012 13:15:55 +0000 (13:15 +0000)]
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

12 years ago+ const SMESHDS_SubMesh * GetSubMeshDS() const;
eap [Mon, 15 Oct 2012 13:04:17 +0000 (13:04 +0000)]
+  const SMESHDS_SubMesh * GetSubMeshDS() const;