Commit Graph

259 Commits

Author SHA1 Message Date
eap
0b3661cda0 in SetMeshOrder(), fix python dump in case of many groups of sub-meshes 2014-05-05 13:28:14 +04:00
eap
fd6f0fdf57 Regression bugs_00/A3
More protection from access to a closed study
2014-04-30 18:33:20 +04:00
eap
e2c7e8b8f4 Remove useless traces 2014-04-30 15:04:46 +04:00
eap
2107fb0fba SALOME_TESTS/Grids/smesh/bugs_09/J9
In CreateMeshFrom*(), throw an exception if the file does not exist
2014-04-30 14:22:37 +04:00
eap
896b180efc regression SALOME_TESTS/Grids/smesh/bugs_05/F1
Avoid access to a closed study
2014-04-30 13:06:15 +04:00
eap
99baeb9583 22526: SMESH 2864 - Projection and Extrusion
fix dump
2014-04-07 17:24:24 +04:00
rnv
df5faa3c63 Compilation on Windows platform. 2014-03-28 15:41:31 +04:00
eap
e09cefb492 22308: EDF 2572 SMESH: Can't import a file with a non ascii character in the path
Replace OSD_Path, which does not support non-ascii coding, by SMESH_File
2014-03-21 14:53:47 +04:00
eap
9ab3722c1b 22487: EDF 2778 SMESH: Add a GUI for the flat elements generation 2014-03-19 18:29:49 +04:00
eap
d58cd4792a 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed
Fix an introduced bug
2014-03-13 21:57:29 +04:00
eap
7cf31f46c4 ILMAB: export GEOM fields to MED file
Write INT fields as FLOAT ones
2014-03-13 19:40:00 +04:00
eap
460317455e 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed
Treat a more difficult case: the main shape is modified and a group contents changed
2014-03-12 15:15:57 +04:00
eap
ef9be98a84 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed
update map of CORBA groups
2014-03-07 16:04:33 +04:00
eap
be0348c630 022501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed 2014-03-07 14:51:17 +04:00
eap
dc749f7053 ILMAB: export GEOM fields to MED file
Re-implement addition of 0D elements w/o modification of SMESHDS_Mesh
2014-03-05 19:37:55 +04:00
eap
97787812e2 ILMAB: export GEOM fields to MED file 2014-03-05 17:42:42 +04:00
eap
3556420099 Bugs in CopyMesh()
1) Assure the mesh is loaded before copying
2) Fix wrong copying polyhedra
2014-02-26 12:55:21 +04:00
eap
f34590a67f 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
1) Some optimization
2) Implement StdMeshers_Prism_3D::IsApplicable()
2014-02-25 18:54:34 +04:00
imn
6aea23b893 0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
0022365: EDF SMESH: Create Mesh dialog box improvement: hide algorithms depending on a mesh type
2014-02-21 12:25:11 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
fad37730ee Fix error description passed via exception 2014-02-18 13:56:25 +04:00
eap
7a732fc9d1 do not catch CORBA exceptions thrown by SMESH_Mesh_i 2014-02-17 17:10:11 +04:00
eap
bf7367a22f fix AddFrom() for an undefined filter as argument 2014-02-17 17:08:46 +04:00
eap
86aa8ad014 22359: Body Fitting algorithm: grid orientation 2014-02-14 16:09:40 +04:00
eap
53fcb605c1 0022367: EDF SMESH: Notification on concurrent algorithms/hypotheses 2014-02-14 16:05:31 +04:00
eap
cc9e7d5442 22358: EDF SMESH: Body Fitting algorithm: origin point of grid defined by spacing 2014-02-04 15:51:49 +00:00
eap
cd3ffac3fa 22359: Body Fitting algorithm: grid orientation
22358: Body Fitting algorithm: origin point of grid defined by spacing
2014-02-04 13:02:26 +00:00
eap
c94d606fe3 22316: EDF 2719 SMESH: Split hexas into prisms
Make Python API be equal to IDL API
2014-01-21 16:37:16 +00:00
eap
67dba15dfd 22244: [CEA] Method to compute the normal to a mesh face
-    double_array GetFaceNormal(in long faceId);
+    double_array GetFaceNormal(in long faceId, in boolean normalized);
2014-01-20 17:42:20 +00:00
eap
ffa5254282 22316: EDF 2719 SMESH: Split hexas into prisms
+    GeometryType GetElementShape( in long id )
+      raises (SALOME::SALOME_Exception);
2014-01-20 10:32:14 +00:00
eap
f500e5a8b6 22316: EDF 2719 SMESH: Split hexas into prisms 2014-01-20 10:31:23 +00:00
vsr
f7aba4830d Merge from BR_imps_2013 14/01/2014 2014-01-15 09:41:17 +00:00
vsr
2cd148d066 Merge from V7_3_BR branch 18/12/2013 2013-12-18 15:08:18 +00:00
kga
7e624b26fa 22314: EDF 2594 SMESH: Preview "Union of triangles" result 2013-11-20 09:12:48 +00:00
eap
68cf640188 do not add a reference to useCaseBuilder twice 2013-11-18 10:53:13 +00:00
eap
2ec7f35ace Regression of SALOME_TESTS/Grids/smesh/imps_08/I8 2013-11-15 15:24:18 +00:00
eap
b7eee22ba4 Regression of SALOME_TESTS/Grids/smesh/dump_study_00/B7
In CheckObjectPresence(), skip print statement
2013-11-15 12:44:42 +00:00
eap
66f244f657 Enable canceling Compute 2013-11-14 14:25:12 +00:00
eap
d51efe3933 Move BelongToGeom and LyingOnGeom classes to src/Controls/SMESH_Controls* 2013-11-14 09:15:23 +00:00
eap
7b33bc39fd 22355: EDF SMESH: New 1D hypothesis "Adaptive" 2013-11-11 11:07:44 +00:00
rnv
e33e8e2029 WIN32 compilation of the SMESH module:
1) Fix common WIN32 compilation errors.
2) Replace WNT deprecated macro definition by the WIN32.
3) Remove unnecessary test executables.
4) Make MEFISTO2D algorithm optional: try to determine f2c generator and generate C code from Fortran, otherwise MEFISTO2D is unavailable.
2013-10-18 13:29:00 +00:00
vsr
5651bafb1c Merge from V7_siman 11/10/2013 2013-10-11 12:58:32 +00:00
rnv
1bd4ba8acd Porting SALOME SMESH module to the CMake build system: initial version. 2013-10-10 12:57:42 +00:00
eap
51e8f347ad Fix multi-file dump 2013-10-09 16:25:36 +00:00
eap
db4fd22d08 untabify 2013-09-26 08:44:08 +00:00
eap
35fbc09ef7 0022318: [CEA] Problems with study dump in SMESH
WNT porting
2013-09-20 15:35:08 +00:00
eap
d217545eec 0022318: [CEA] Problems with study dump in SMESH
Restore
  Swap "aFilterManager.CreateFilter()" and "smesh.GetFilterFromCriteria(criteria)"
2013-09-20 15:34:52 +00:00
eap
7384d881f7 Fix omniORB::fatalException at SALOME termination after creating a Mesh in Python
Deactivate CORBA object in destructor
2013-09-19 12:40:41 +00:00
eap
7ba6caead5 22318: [CEA] Problems with study dump in SMESH
Memory usage and performance optimization: do not make a script from
lines and than split it back into lines several times.
2013-09-19 12:34:44 +00:00
eap
ab30aac8c8 0022318: [CEA] Problems with study dump in SMESH
Memory needed for SMESH_2smeshpy::ConvertScript() reduced by 3 times
2013-09-12 11:11:52 +00:00
eap
ab9af27445 Bug: preview works correctly only once, other times preview shows the same
as at the 1st time.

Ensure clearing of tmp mesh
2013-09-03 09:42:04 +00:00
eap
bbcc474cc2 fix leaks of SALOMEDS_UseCaseBuilder_i 2013-08-28 12:10:59 +00:00
eap
6428930b1f fix SIGSEGV in Save() on an empty mesh, after the previous optimization 2013-08-28 11:58:22 +00:00
eap
059b9c819d small imp 2013-08-28 11:56:36 +00:00
vsr
47da75254e Fix crash in salome_test.py 2013-08-28 11:00:25 +00:00
eap
b76d2e608e SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Re-fix "Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6"
previously fixed by revision 1.23.2.9.
Use TElemOfElemListMap with new comparator TIDTypeCompare instead of
TElemOfElemListMap declared in SMESH_TypeDefs.hxx which uses
TIDCompare (whose behavior has been just restored)

-  TElemOfElemListMap aHystory;
+  ::SMESH_MeshEditor::TTElemOfElemListMap aHystory;
2013-08-23 13:36:28 +00:00
eap
38cff1d727 In Save(), no need to push nodes and elements in the map to sort them
by ID after SMDS redesign
2013-08-23 13:35:56 +00:00
eap
616481f67a 0022301: [CEA] Problems with study dump in SMESH (PPGP large study)
1) fix CheckObjectPresence() to check presence of not only published
objects but also of e.g. mesh editors etc.
2) Avoid adding empty strings cleared by CheckObjectPresence()
3) Optimize performance of search of myKeepAgrCmdsIDs in commands by
 - using _pyStringFamily
 - preventing addition of Groups to myKeepAgrCmdsIDs
2013-08-22 12:06:57 +00:00
eap
8e84b443fc In ExportToMEDX() use SMESH_TRY to normally transfer exceptions from the driver 2013-08-14 12:35:03 +00:00
vsr
fa3a593199 0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI 2013-08-08 15:17:00 +00:00
eap
fc5cad90e2 Fix regression of GetNumberOfNodes( true ) 2013-08-08 13:56:33 +00:00
eap
18efd0cad1 sort includes 2013-08-07 14:06:20 +00:00
eap
f3ae24b365 Regression of SMESH_SRC/doc/salome/examples/measurements_ex01.py
Do not store temporary SMESH_IDSource created by MakeIDSource()
2013-08-07 14:05:44 +00:00
eap
221416d251 untabify 2013-08-07 11:11:09 +00:00
eap
eb3f817bc6 simplify createHypothesis() 2013-08-07 11:10:59 +00:00
eap
6db4726fc4 0022291: EDF 2712 SMESH: Bad dump of QuadrangleParameters 2013-08-07 11:10:47 +00:00
vsr
c23ba6b3e4 Fix crash (found by make installcheck) - temporary solution 2013-08-05 16:47:42 +00:00
vsr
f3171e5c4e Fix crash (found by make installcheck) 2013-08-05 15:45:22 +00:00
akl
7a89c82974 Correction to avoid memory leaks (links to 0021708: [CEA 586]). 2013-08-01 14:04:27 +00:00
akl
3d0eb30949 Insert SMESH object into use case builder according to the given entry (if it is) instead of simply append it at the end of list. 2013-08-01 08:54:43 +00:00
eap
d50d493408 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
In createSubMesh() fix getting a sub-mesh ID for a a sub-mesh on group
2013-07-25 09:00:54 +00:00
eap
b8a3fc622b 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-    aStudyName = ( (char*)SALOMEDS_Tool::GetNameFromPath( myCurrentStudy->URL() ).c_str() );
+    CORBA::String_var url = myCurrentStudy->URL();
2013-07-25 08:59:30 +00:00
eap
45953e0114 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-  SALOMEDS::UseCaseBuilder_var useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
+  SALOMEDS::UseCaseBuilder_wrap useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
2013-07-24 12:43:34 +00:00
eap
eeba8f9c90 Fix treatment of filters after starting usage of AddArgCmd() 2013-07-23 11:41:20 +00:00
eap
60b71b1c6c SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Avoid leaks of CORBA objects at calling TPythonDump() << _this()
Avoid leaks of SMESH_MeshEditor_i
2013-07-22 15:25:50 +00:00
eap
c9d7623239 Avoid leaks of CORBA objects at calling TPythonDump() << _this() 2013-07-22 14:42:25 +00:00
eap
74d40c014d SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
2013-07-22 14:40:00 +00:00
eap
5b15666f93 untabify 2013-07-22 14:38:09 +00:00
eap
eb3c0cb3a3 SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Fix loading a group on filter:

+                filter->UnRegister();
2013-07-22 14:37:06 +00:00
eap
26d878fd9f SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
in SetCriteria():

+  aResPredicate->UnRegister();
2013-07-22 14:36:12 +00:00
inv
5bdade8015 RNV: Fix link errors. 2013-07-22 12:59:01 +00:00
eap
85aae58ead 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
1) New general mechanism to avoid dump of functors not used later as arguments
2) Use the New general mechanism to filters and sub-meshes
3) Erase the 1st incarnation of re-created objects.
A re-created object appears e.g. as follows:
- create a mesh
- remove the mesh
- save and re-open the study
- create another mesh -> ( two meshes have same Entry ) == ( the 1st mesh is re-created )
2013-07-17 14:27:42 +00:00
akl
7c7b4b0636 0021708: [CEA 586] Object browser sort only children:
+ Add Use Case browser data tree management
+ Add "Sort children" contextual menu popup item
+ Update user documentation
2013-07-09 08:32:08 +00:00
eap
ed5bf36e41 1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
+  static CORBA::Long*       GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
+  virtual SMESH::long_array* GetNbElementsByType();
2013-07-03 16:06:14 +00:00
eap
89edbafa37 1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
+  static CORBA::Long*       GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
2013-07-03 16:05:46 +00:00
eap
69da5c7991 1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
+  virtual SMESH::long_array* GetNbElementsByType();

+  static SMDS_ElemIteratorPtr GetElements(SMESH::SMESH_IDSource_ptr obj,
+                                          SMESH::ElementType        type);

2) Compute Progress bar

+  CORBA::Double GetComputeProgress();
2013-07-03 16:05:28 +00:00
eap
95a58b5ecf 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
+  virtual SMESH::long_array* GetNbElementsByType();
2013-07-03 16:04:07 +00:00
eap
38e26e89c3 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
interface SMESH_IDSource
   {
+    long    NbSatisfying( in SMESH::SMESH_IDSource obj );

  interface NumericalFunctor: Functor
  {
+    Histogram GetLocalHistogram( in short nbIntervals, in boolean isLogarithmic,
+                                 in SMESH::SMESH_IDSource obj );
2013-07-03 16:03:14 +00:00
eap
35035f1212 0022238: Study dump produced by SMESH refers to undefined variable names
void fixFunctorType()
{
+      ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined );
2013-07-02 14:27:15 +00:00
eap
1d05754e58 0022238: Study dump produced by SMESH refers to undefined variable names
Fix CheckObjectPresence() again

+  ASSERT( thePartIndex > 0 );
2013-07-02 13:39:05 +00:00
eap
06ef82c3a7 0022238: Study dump produced by SMESH refers to undefined variable names
Remove "aStudyBuilder.RemoveObjectWithChildren(SO)" for SO whose
creation command was removed or commented
2013-07-02 12:02:33 +00:00
eap
c5add157d7 CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists
2013-06-25 11:56:05 +00:00
eap
d0aa6dbc4a CoTech decision: move MEDWrapper from MED to SMESH
+#include "MED_Factory.hxx"
2013-06-24 10:09:43 +00:00
eap
4fa06a6894 CoTech decision: move MEDWrapper from MED to SMESH
+	-I$(srcdir)/../MEDWrapper/Base \
+	-I$(srcdir)/../MEDWrapper/Factory \

-	$(MED_LDFLAGS) \
-	-lMEDWrapper \
-	-lMEDWrapper_V2_2 \
-        -lSalomeIDLMED \
2013-06-24 10:08:26 +00:00
eap
25008e4a96 21952: EDF 2383 SMESH : Add an option to write planar meshes as 3D meshes in MED files
Correct position of autoDimension in ExportMED()
2013-06-11 11:51:44 +00:00
eap
4fecefcc2b 0021952: Add an option to write planar meshes as 3D meshes in MED files 2013-06-05 15:13:53 +00:00
eap
bd8276e43f avoid compilation warnings in release mode 2013-06-05 09:49:03 +00:00
eap
708660afc3 "import python files corresponding to plugins" is not needed (since long time) 2013-05-30 14:32:41 +00:00
inv
a29849f24b Compatibility with gcc 4.1 (centos 5) 2013-05-30 08:02:04 +00:00
eap
557a9b549c 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
-      if ( myGen.Compute( myLocMesh, myLocShape, false, aDim, &shapeIds ) )
+      if ( myGen.Compute( myLocMesh, myLocShape, false, false, aDim, &shapeIds ) )

The 3-d parameter aShapeOnly added to SMESH_Gen::Compute()
2013-05-29 15:31:16 +00:00