Commit Graph

944 Commits

Author SHA1 Message Date
mpa
7f8cbff034 CMake: Update path and version variables for current build system 2013-11-07 11:30:33 +00:00
rnc
2d9205e89f Japanese translations update 2013-11-05 15:26:19 +00:00
rnv
706f4f7e51 Fix for the "0022345: EDF 2754 SMESH: Select pyramids in Mesh Information" issue. 2013-11-05 11:26:07 +00:00
mpa
91b5b91616 CMake:
Edit documentation. Use salome macros to set the environment for sphinx run.
2013-11-01 10:44:42 +00:00
vsr
e8f2021b3a Add missing link dependency (libcgns depends on hdf5 but does not link against libhdf5 on Linux) 2013-10-31 10:17:43 +00:00
vsr
5bd4251de9 Workaround about SWIG_ADD_MODULE bug: remove duplicates in include directories 2013-10-29 07:31:44 +00:00
rnc
02dc428b77 Small correction in the doc of FindCoincidentNodes, MergeNodes, MergeElements ... The type of object returned or taken as an argument by these methods has been detailed with more accuracy 2013-10-28 15:32:04 +00:00
ana
74493f3fdb Fix compilation on WIN64 in Release mode 2013-10-25 13:31:17 +00:00
rnv
1e17e9ef94 Win32 compilation. 2013-10-24 12:05:53 +00:00
rnv
01488106b7 Generate documentation only if corresopnding option is swiched on. 2013-10-24 12:05:10 +00:00
rnv
5c7170a3e6 Add dll import/export on WIN32 platform. 2013-10-24 12:04:17 +00:00
rnv
7cf5e26857 Use WIN32 CMake variable instead deprecated WINDOWS variable. 2013-10-24 12:03:15 +00:00
eap
58d829687d 22355: EDF SMESH: New 1D hypothesis "Adaptive"
Make all fields protected
2013-10-21 13:07:09 +00:00
vsr
716b8a81b9 Give proper permissions to Python scripts 2013-10-21 11:21:11 +00:00
vsr
be6e7300b2 Give proper permissions to Python scripts 2013-10-21 11:11:39 +00:00
eap
c34100e8f8 22355: EDF SMESH: New 1D hypothesis "Adaptive"
Make myBox protected
2013-10-21 08:21:05 +00:00
rnv
2b4292d02d Small correction. 2013-10-18 14:32:33 +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
d726924388 Manage concurrent hypotheses sets properly 2013-10-18 11:05:26 +00:00
eap
ed55bd5c25 22355: EDF SMESH: New 1D hypothesis "Adaptive"
make getChildIndex() static
2013-10-17 12:48:25 +00:00
eap
0d3dd80ac2 22332: EDF 2725 SMESH: Convert to bi-quadratic failure after hexotic meshing
In GetCentralNode(), check UV of corner nodes
2013-10-16 14:24:20 +00:00
rnv
824f011cef First step for the "21793: [CEA 625] Clipping : from coordinates or from bounding box" issue. 2013-10-16 12:56:06 +00:00
inv
fcec7fb454 RNV: Fix compilation in the WITHOUT GUI mode. 2013-10-15 06:49:00 +00:00
rnc
b9cd996c20 REG: Verima / Build procedure: Updated the CMake build procedure and removed some files previously added by mistake 2013-10-14 15:02:25 +00:00
rnc
2d16118826 IMP: Verima / New Plugin: Added a plugin for meshers quality testing (work done at EDF by Pascale Noyret and Bruno Clement) 2013-10-14 13:27:09 +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
48653b1aec -#if OCC_VERSION_LARGE > 0x06010000
OCC_CATCH_SIGNALS;
-#endif
2013-10-10 10:29:42 +00:00
eap
a6a734f166 catch exceptions in "rate = algo->GetProgress();" 2013-10-10 10:26:03 +00:00
eap
51e8f347ad Fix multi-file dump 2013-10-09 16:25:36 +00:00
eap
2bdf78860b Fix
1) SALOME Forum bug http://www.salome-platform.org/forum/forum_14/610436714
2) Regressions of SALOME_TESTS/Grids/smesh/imps_09/K0
2013-10-09 16:06:33 +00:00
rnv
a39c405c68 Implementation of the "0021709: [CEA 583] Toolbar preferences" issue. 2013-10-04 14:02:16 +00:00
eap
f5c4ae89eb 0022172: [CEA 790] create the groups corresponding to domains (note 0016221)
A better fix for Clear() for the mesh w/o shape
2013-10-04 10:12:56 +00:00
eap
ad501c420b 0022172: [CEA 790] create the groups corresponding to domains (note 0016221)
Fix Clear() for the mesh w/o shape
2013-10-04 10:08:21 +00:00
eap
53bf890d48 Fix doxycomments 2013-09-27 07:57:23 +00:00
eap
8b3847f1af Fix warning
unused variable 'ielem'
2013-09-27 07:54:54 +00:00
eap
95ac4b3747 Fix warning
no return statement in function returning non-void
2013-09-27 07:51:07 +00:00
eap
db4fd22d08 untabify 2013-09-26 08:44:08 +00:00
eap
5cdebf6f36 For PPGP: in GetAlgoState() remove INFOS( "None algorithm attached" ) since hyp
definition errors are reported now in both gui and tui modes
2013-09-25 08:16:55 +00:00
eap
59e7d429a0 Fix for SMESH::FT_BallDiameter 2013-09-23 08:23:40 +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
fab1d896c8 Fix omniORB::fatalException at SALOME termination after creating a Mesh in Python
do not call mesh.Register() as this prevents mesh servant deletion at closing study
2013-09-19 12:44:24 +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
0e557488d2 fix getSubmeshIDForCopiedMesh() 2013-09-18 12:57:26 +00:00
rnv
519f45e495 Implementation of the "0022102: EDF 1496 SMESH : Displaying of discrete elements in SMESH relating to their attribute (diameter)" issue. 2013-09-13 10:00:15 +00:00
vsr
535d13a0f8 Fix memory leaks: another attempt 2013-09-13 06:58:16 +00:00
vsr
7b4622715b Fix memory leaks 2013-09-13 06:35:30 +00:00
vsr
39b656bb9f 0022221: [CEA 819] Error "'NoneType' object is not callable" at Salome closure 2013-09-12 14:18:54 +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
vsr
1940817a98 Fix linkage problem 2013-09-12 07:29:50 +00:00
vsr
29dba0dc2d Fix linkage problem 2013-09-12 07:16:32 +00:00
vsr
6a962cf2a3 Fix linkage problem 2013-09-12 07:06:31 +00:00
vsr
9be2f33e68 Fix linkage problem 2013-09-12 06:56:51 +00:00
vsr
491bee0132 Fix linkage problem 2013-09-12 06:38:25 +00:00
fahed
d557d034ee Correction of a spelling mistake :
"bynary" becomes "binary"
2013-09-11 12:41:25 +00:00
fahed
721565eb5e Correction of the documentation about GMF import/export. 2013-09-11 12:22:01 +00:00
eap
49eb7d1c5f again: Avoid SIGSEGV in debug mode if CheckNbEdges() is called w/o calling Compute() 2013-09-11 10:34:33 +00:00
eap
03ec1eff31 Avoid SIGSEGV in debug mode if CheckNbEdges() is called w/o calling Compute() 2013-09-10 14:28:13 +00:00
eap
c81123c27b 22170: [CEA 704] Redirect NETGEN outup in a log file
restore cout possibly redirected by algo
2013-09-10 13:52:57 +00:00
barate
b0382c4298 Fix boost_filesystem usage 2013-09-06 16:13:23 +00:00
eap
3efca6d10c Progress bar. Increase difference between computeCost of EDGE and FACE 2013-09-03 15:48:57 +00:00
eap
8a85c65b1e Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A6
TTElemOfElemListMap and TElemOfVecOfNnlmiMap must use same comparator
for correct work of makeWalls()
2013-09-03 11:38:19 +00:00
vsr
82a6b20865 0022308: EDF 2572 SMESH: Can't import a file with a non ascii character in the path 2013-09-03 10:58:47 +00:00
eap
c50bee3b04 1) Use transformation for projection from bottom to top
2) Improve performance of TPCurveOnHorFaceAdaptor::Value() by avoiding
creation of PCurves on planar faces
3) Report a meaningful error in case of missing 1D algo
2013-09-03 10:42:36 +00:00
eap
24a2dcb5a8 enable ComputeParameters() to find a better solution in hard cases
(concave faces)

+  void refineParametersOnFace( const gp_Pnt& thePoint, gp_XYZ& theParams, int theFaceID );
2013-09-03 10:33:38 +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
rnc
234f898030 IMP: SMESH / Yams plug-in: Some more updates for porting to MGSurfOpt 1.1 2013-09-02 11:46:39 +00:00
rnc
3ecdf53dff IMP: SMESH/Yams plug-in: Update to use Meshgems-SurfOpt 1.1 (new name of Yams) 2013-08-30 15:35:06 +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
bourcier
30bb71dac9 Adding the public member IsSelectionActivated() to access the selection status of the widget from dialog boxes implementation. 2013-08-28 09:38:03 +00:00
eap
a27b03972c SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
make smoothAnalyticEdge() work for a circle EDGE in 3D case
2013-08-23 16:27:29 +00:00
eap
b860f3ffbd SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Do not report a compute error if a node on VERTEX is not shared by any
segment because segments on seam EDGE are assigned later
2013-08-23 16:26:29 +00:00
eap
b14fd3f9bd SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Ignore degenerated EDGEs when counting computed sub-meshes
2013-08-23 16:23:57 +00:00
eap
a1c755a149 SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Do not report a compute error if a degenerated EDGE is not computed
2013-08-23 16:22:51 +00:00
eap
cc817cd04f SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Use SMESH_OctreeNode to sew imported elements to pre-existing ones
2013-08-23 13:38:12 +00:00
eap
dd67430f66 typo 2013-08-23 13:36:41 +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
211c8198b3 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)
2013-08-23 13:15:52 +00:00
eap
c4b93d024f SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Fix the problem of element-submesh relation restoring at study loading
in case if some faces have ids lower than segments.

Now TIDCompare does not compare types, a new comparator created for this:
+struct TIDTypeCompare {
2013-08-23 13:11:32 +00:00
eap
3c53917e76 SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Don't use BRep_Tool::Degenerated() which sometimes gives a wrong answer,
use SMESH_Algo::isDegenerated() instead
2013-08-23 07:44:07 +00:00
eap
b293f7af31 compact as soon as all elements removed 2013-08-22 15:37:59 +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
rnc
954f7dbf60 Merge from BR_size_maps 2013-08-22 11:45:25 +00:00
vsr
b752ff95e4 0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
- additional improvement for Python API to simplify usage of measure functions
2013-08-20 13:48:54 +00:00
eap
fda116565e enable Tolerance for FT_EqualNodes 2013-08-19 11:52:44 +00:00
eap
4031dc9808 Fix regression of SMESH_TEST/Grids/smesh/imps6/G0
Clear _ImportData::_n2n if it's no more useful
2013-08-15 12:10:20 +00:00
eap
dac0310307 Fix regression of SMESH_TEST/Grids/smesh/imps6/G0
Reset node data when it is removed
+      ((SMDS_MeshNode*) n)->SMDS_MeshElement::init( -1, -1, -1 ); // avoid reuse
2013-08-15 12:08:51 +00:00
eap
8e84b443fc In ExportToMEDX() use SMESH_TRY to normally transfer exceptions from the driver 2013-08-14 12:35:03 +00:00
eap
3939500c74 In ExportMED() use SMESH_TRY to normally transfer exceptions from the driver 2013-08-14 12:34:41 +00:00
eap
fcbb13c72e Fix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3
Avoid having straight continuous sides of a quadrilateral
2013-08-13 16:40:46 +00:00
eap
2d070665a5 Fix regression of SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A3
+  static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );
2013-08-13 16:35:31 +00:00
vsr
4d6cb35b78 Merge from V7_2_BR 09/08/2013 2013-08-12 10:50:36 +00:00
eap
8c589f8585 Suppress SIGSEGV at automatic group creation 2013-08-08 16:45:49 +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