Commit Graph

332 Commits

Author SHA1 Message Date
akl
f89c0586c1 Copyrights update 2013 2013-03-29 08:57:56 +00:00
eap
b3cac3834a 0051789: TC7.2.0: NoteBook cannot update study
Fix approach to storage of NoteBook variables.
Before the fix: names of variables are stored in PythonDump commands
and nothing is stored in the Study.
Problem: after variable removal, the PythonDump script becomes invalid.
Fix: names of variables are stored in the Study, PythonDump commands
store indices of variables within "StringAttribute".

class SMESH_Gen_i {
...
-  void UpdateParameters(/*CORBA::Object_ptr theObject,*/ const char* theParameters);
+  void UpdateParameters(CORBA::Object_ptr theObject, const char* theParameters);

+  const std::vector< int >&  GetLastParamIndices() const;
+  std::vector< std::string > GetAllParameters(const std::string& theObjectEntry) const;
2013-03-28 15:23:34 +00:00
eap
634ea8043b fix CheckGeomGroupModif() for the case of a mesh on a geom group 2013-03-22 15:33:42 +00:00
eap
19ddff45f9 PPGP issue.
Make a script valid even if some involved object are not published:
eliminate SetName() and object removal from the scrip

SMESH_2smeshpy::
   ConvertScript(const TCollection_AsciiString&            theScript,
                 Resource_DataMapOfAsciiStringAsciiString& theEntry2AccessorMethod,
                 Resource_DataMapOfAsciiStringAsciiString& theObjectNames,
+                std::set< TCollection_AsciiString >&      theRemovedObjIDs,
                 SALOMEDS::Study_ptr&                      theStudy,
                 const bool                                theHistoricalDump);
2013-03-07 08:37:57 +00:00
eap
23d265a7a7 PPGP issue. Fix dump of not published SMESH_IDSource's. As a result
DumpStudy command fails.
2013-03-06 16:30:42 +00:00
eap
4b7538ca03 0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
+    operator<<(const SMESH::EntityType& theArg);
2013-03-06 08:30:04 +00:00
eap
d1d0695ce5 0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
Add exceptions

+  void           ConvertToBiQuadratic(CORBA::Boolean            theForce3d,
+                                      SMESH::SMESH_IDSource_ptr theObject)

+  void convertToQuadratic(CORBA::Boolean            theForce3d,
+                          CORBA::Boolean            theToBiQuad,
+                          SMESH::SMESH_IDSource_ptr theObject = SMESH::SMESH_IDSource::_nil())
2013-03-06 08:29:43 +00:00
eap
caef356842 0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
+  class SMESH_I_EXPORT ElemEntityType_i: public virtual POA_SMESH::ElemEntityType,
+                                         public virtual Predicate_i
2013-03-06 08:28:25 +00:00
eap
8f6c844ca6 0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
+  operator<<(const SMESH::EntityType& theArg)
2013-03-06 08:22:55 +00:00
eap
ee2ad1063a 0021859: SMESH : Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27
1) Treat SMESH.FT_EntityType criterion type
2) ConvertToBiQuadratic(...) -> ConvertToQuadratic(...,True)
2013-03-06 08:22:30 +00:00
eap
b5d9b2799b 1) Treat GMF import/export
2) Fix RemoveArgs() not to clear the whole command if it is like "(res1,res2) = meth(arg)"
2013-02-28 14:28:04 +00:00
jfa
aea880cf9e 0021840: [CEA 655] Scalar bar: using a logarithmic scale 2013-02-08 12:40:16 +00:00
eap
2949f1214b fix GetPreviewData() for the case of only nodes in edition result 2013-01-28 11:10:54 +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
eap
414745da0e 0021948]: EDF SMESH : Memory is not freed when deleting a mesh
Move declaration of GEOM::GEOM_Object_wrap form
  GEOMBase/GEOM_GenericObjPtr.h to GEOM_I/GEOM_wrap.hxx as GEOMBase is
  a part of GUI

-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
2012-12-24 13:58:17 +00:00
eap
c6270448c0 untabify 2012-12-20 15:35:56 +00:00
eap
c8c3c7ed5d Add a method comment 2012-12-20 15:34:53 +00:00
eap
8951167c87 - TCollection_AsciiString aSavedTrace (oldValue.out());
+  TCollection_AsciiString aSavedTrace (oldValue.in());
2012-12-20 15:31:28 +00:00
vsr
1e288edaa1 Imp: show element position in a mesh information dialog box 2012-12-20 05:59:39 +00:00
eap
338eab651c - TCollection_AsciiString oldScript (oldValue.out());
+  TCollection_AsciiString oldScript (oldValue.in());
2012-12-18 12:57:39 +00:00
eap
7085686b04 Add missing throw (SALOME::SALOME_Exception) 2012-12-17 15:39:59 +00:00
eap
bd7cecec9a Add missing try/catch using SMESH_TryCatch.hxx 2012-12-17 15:39:30 +00:00
eap
c3597c66f0 + /*!
+   * \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 );
+  }
2012-12-17 15:38:09 +00:00
eap
dfe68f4de1 - smeshpy.py 2012-12-17 15:10:44 +00:00
eap
62cf47f6ed useless file 2012-12-17 15:09:43 +00:00
eap
7abb1c93b4 Use SMESH_TryCatch.hxx 2012-12-17 14:14:18 +00:00
eap
6cafe5cc9f 22010: [CEA 731] "CreateDimGroup" creates some faces not belonging to volumes's skin
Re-implenent CreateDimGroup()
2012-12-17 14:12:40 +00:00
vsr
b70f27b542 Imp: use file name as default mesh name when publishing data coming from SAUV or STL file 2012-12-17 12:38:17 +00:00
eap
11e1059f3e 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  static void ForgetAllData( SMESH_Mesh_i* mesh );
2012-12-14 13:35:19 +00:00
eap
ee00100fa4 21948: EDF SMESH : Memory is not freed when deleting a mesh
Elimenate memory leaks on CORBA objects, servants of SALOMEDS objects etc
2012-12-14 13:34:34 +00:00
eap
09a87fd9f2 21948: EDF SMESH : Memory is not freed when deleting a mesh
+  static bool               IsTemporaryIDSource( SMESH::SMESH_IDSource_ptr& idSource );
2012-12-14 13:34:18 +00:00
eap
04a91a7190 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();
2012-12-14 13:33:47 +00:00
vsr
13ff1c4641 Merge from V6_6_BR (V6_6_0rc2) 11/12/2012 2012-12-11 13:23:39 +00:00
vsr
c5698502cc 0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the hdf file 2012-10-16 08:28:43 +00:00
eap
c53c4defde Convert ExportGMF() 2012-10-15 14:38:40 +00:00
eap
252161f517 Fix dump of ExportGMF() and ExportCGNS() 2012-10-15 14:35:51 +00:00
eap
8944375f22 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
In FindEqualElements(), use idSourceToSet()
2012-10-15 14:34:23 +00:00
eap
e9a46da8ca 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
enable reporting lack of a node on a vertex
2012-10-15 14:32:14 +00:00
eap
afd264a070 0021897: EDF 1495 SMESH : Problem with groups when building a compound with medballs
Make control variable of for different in outer (on meshes) and
   inner (on groups) loops.
2012-10-09 14:02:38 +00:00
eap
c5c930fa65 0021891: EDF 2398 : Error when dumping a study with non historical mode
Fix bug that AddHypothesis() + RemoveHypothesis() pair was cleared in
  the historical mode if a hypothesis was removed
2012-10-09 13:53:34 +00:00
eap
bc65599349 0021891: EDF 2398 : Error when dumping a study with non historical mode
AddHypothesis() + RemoveHypothesis() pair was not cleared in
  snap-shot mode if a hypothesis was removed
2012-10-08 12:45:03 +00:00
gdd
f312847d16 Fix dump of ExportCGNS, ExportGMF, CreateMeshesFromUNV and CreateMeshesFromGMF 2012-10-04 09:21:50 +00:00
vsr
b86b991075 Windows compatibility 2012-09-26 06:16:59 +00:00
eap
87b989815b 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  void ExportGMF(SMESH::SMESH_IDSource_ptr meshPart,
+                 const char*               file) throw (SALOME::SALOME_Exception);
+  SMESH::ComputeError* ImportGMFFile( const char* theFileName )
2012-09-24 11:31:39 +00:00
eap
bbc0ed28d2 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  SMESH::SMESH_Mesh_ptr CreateMeshesFromGMF( const char*             theFileName,
+                                             SMESH::ComputeError_out theError)
2012-09-24 11:31:06 +00:00
eap
ff7d2479be 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+   * \brief Returns description of an error/warning occured during the last operation
+   */
+  SMESH::ComputeError* GetLastError();
2012-09-17 10:22:42 +00:00
eap
c651365140 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
extract SMESH_MeshPartDS.hxx from SMESH_MeshEditor_i.cxx
2012-09-17 10:22:02 +00:00
eap
ab9945d2b0 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Return newly detected concurrent sub-meshes in the order they are
  computed w/o imposed order of sub-meshes
2012-09-06 14:13:38 +00:00
eap
a438b8cfa9 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Use SMESH_Gen::GetPluginXMLPaths()
2012-09-06 14:08:48 +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