Commit Graph

167 Commits

Author SHA1 Message Date
eap
3a821b48ba GPUSPHGUI: add Offset transformation 2018-02-09 22:41:01 +03:00
rnv
7a3ecab720 Merge 'master' branch into 'V9_dev' branch. 2018-01-18 19:31:08 +03:00
rnv
7a713be33b Merge eap/23491 branch. 2018-01-15 15:48:20 +03:00
rnv
10191484fe Merge changes from 'master' branch. 2017-12-29 16:20:32 +03:00
eap
04f9972521 Typo-fix by Kunda
http://www.salome-platform.org/forum/forum_9/22126441
2017-12-28 14:28:17 +03:00
rnv
985eaf1925 Merge ASERIS development. 2017-12-19 18:56:16 +03:00
rnv
90e0893c89 Merge V8_4_BR branch. 2017-12-13 12:18:31 +03:00
eap
05318c85be typo-fix by Kunda + minor changes 2017-11-28 14:15:48 +03:00
eap
50d4798371 23491: EDF 15591 - Duplicate Elements / Nodes
Make AffectedElemGroupsInRegion() universal, make it available in Duplicate dialog
2017-11-14 21:15:33 +03:00
eap
54d669640d GPUSPHGUI: add FillHole() operation
which is needed for NETGEN 2D remesher
2017-10-17 16:18:05 +03:00
vsr
9d73526fbc Clean-up deprecated OCCT-related code 2017-09-25 16:12:08 +03:00
eap
223c5b7f5d IPAL54303: CGNS export problems 2017-08-25 16:45:03 +03:00
rnv
8a9d91b414 Merge branch 'master' into V9_dev 2017-07-20 12:00:49 +03:00
mnt
4fa5fdbd44 Porting to DEV version of OCCT. 2017-07-07 12:09:54 +03:00
eap
ab008b333b 0023444: EDF 14244 - Viscous Layer
+ 54237: Invalid viscous layers (in Grids/smesh/viscous_layers_02/A3)
+ Improve viscous layers performance
     - by avoiding unnecessary intersection checks
     - by using std::vector instead of std::set in SMESH_ElementSearcher
+ Fix minor errors in ObjectPool which is now used in SMESH_ElementSearcher
2017-06-19 18:42:49 +03:00
rnv
264eeb2edd Merge multi-study removal branch. 2017-06-13 13:01:10 +03:00
eap
86ca561170 Fix regression of doc/salome/examples/prism_3d_algo.py 2017-05-31 15:12:32 +03:00
eap
020e13d9f1 Fix unstable failure of SALOME_TESTS/Grids/smesh/bugs_05/F0 2017-05-23 20:19:15 +03:00
eap
3dcb8f1e04 IPAL054122: Bad quality prismatic mesh
Fix applying the boundary error in StdMeshers_Sweeper by using
StdMeshers_Delaunay
2017-04-25 13:41:21 +03:00
eap
f6b5d2f920 54122: Bad quality prismatic mesh
Extract class Delaunay from class Morph

+ Print warning when creating an algorithm with unexpected arguments
  (expected ones are algo type and geometry) -- smeshBuilder.py
2017-04-20 14:16:23 +03:00
eap
e2ed82ab76 Fix SIGSEGV at SALOME termination after performing SALOME_TESTS/Grids/smesh/imps_05/F0 2017-03-29 14:05:00 +03:00
eap
9dd045b97c 23258: [CEA 1804] Do not merge the middle nodes of quadratic elements
Add AvoidMakingHoles argument in MergeNodes()

+ Save mesh name in STL file
+ Fix binary STL export after change of sizeof(Standard_Boolean)
+ Add Import menu to mesh component popup
2017-03-14 15:43:27 +03:00
eap
b3c311b4d9 Re: Patch modules/smesh.git for Doxygen typos/grammar + misc. typos
http://www.salome-platform.org/forum/forum_10/652417125/447386016
2017-03-02 21:41:15 +03:00
eap
e74c29b786 Patch modules/smesh.git for Doxygen typos/grammar + misc. typos
http://www.salome-platform.org/forum/forum_10/652417125
2017-03-02 19:51:35 +03:00
eap
913aaa14de Fix crash of SALOME_TESTS/Grids/smesh/bugs_13/N9
(SMDS_VolumeTool.cxx)

Add "Show IDs" check box to Mesh Information dlg

Avoid warning in Choose Entity dialog when no entities are selected,
disable [OK] button instead
2017-02-10 21:20:38 +03:00
eap
4b9725e701 23404: EDF 14011 - Problem with Quadrangle (Medial Axis projection) algorithm
(SMESH_MAT2d.cxx)

+ IPAL53878: Quadrangle: Medial Axis Projection algorithm fails
   (StdMeshers_QuadFromMedialAxis_1D2D.cxx)
2017-01-12 15:13:47 +03:00
eap
2ba55546bd IPAL53716: Body Fitting - cavities in mesh mismatch cavities in geometry 2016-12-21 19:46:09 +03:00
eap
831b40eb01 23395: EDF 13855 - Crash SALOME when creating a mesh
+ sort objects in Clipping plane dlg
2016-12-13 20:30:15 +03:00
eap
cf35807108 Optimize ConvertToQuadratic
avoid computing octree->getHeight() upon each FindClosestTo() in SMESH_MesherHelper::FixQuadraticElements()
2016-11-16 16:48:50 +03:00
eap
f08f994ee3 DOC: explain the semantics of the precision preference parameters
Describe meaning of attributes in StdMeshers.xml

Fix regression of SALOME_TESTS/Grids/smesh/3D_mesh_NETGEN_02/C4
  SMESH_MesherHelper.cxx

Fix SALOME crash on a case of #http://www.salome-platform.org/forum/forum_10/47659287
  SMESH_MAT2d.cxx
2016-10-06 14:11:45 +03:00
eap
4bbb63cfb9 23348: EDF 12916 - SALOME crashes when generating pyramids 2016-09-09 14:34:29 +03:00
ana
93fdd14707 Windows compatibility 2016-08-31 12:05:44 +03:00
ana
6553469e65 windows compatibility 2016-08-30 12:28:59 +03:00
eap
83b0c984cc 53539: 0D Element
1) Extract SMESHUtils/SMESH_ControlPnt.* from Hexotic
2) Minor doc changes
3) fix  53539: 0D Element (SMDS_MeshCell.hxx, SMESHGUI_AddMeshElementDlg.cxx)
4) Regressions
- bugs_06/G9 ( SMESH_DumpPython.cxx, SMESH_PythonDump.hxx )
- bugs_13/N8 ( StdMeshers_Regular_1D.cxx )
2016-08-24 17:04:22 +03:00
eap
0f9ed6f02c Minor doc changes
+ fix meshing progress (SMESH_subMesh.cxx)
2016-07-08 22:22:13 +03:00
eap
ab2525d905 23295: [CEA 1870] Impossible to mesh the inside of the 2D skin of an object meshed with quadrangles 2016-07-05 13:52:55 +03:00
eap
afb6b35047 IPAL53401: BelongToGeom is very long on multiple lines
Use octree of classifiers
2016-06-21 19:42:11 +03:00
eap
ef3921b2af IPAL52980: Wire Discretization with Table density fails
fix this problem for all 1D hypotheses (StdMeshers_Regular_1D.cxx)
  Bug report: http://www.salome-platform.org/forum/forum_10/636759606

Fix compilation warnings:
  - unused function
  - missing virtual destructor
  - variable set but not used
2016-06-10 20:47:53 +03:00
eap
8d3d2084b7 BUG: impossible to import a med file of size more than MAX_INT (~2.1 Gb)
(SMESH_File.*)

Fix an error of porting to OCCT-7
  (StdMeshers_Cartesian_3D.cxx)

Remove useless MESSAGE's
2016-06-09 14:22:37 +03:00
mpa
e77162f42f Migration to OCCT 7.0 2016-05-25 18:57:32 +03:00
eap
65c1beab50 Fix regressions
1) 2D_mesh_QuadranglePreference_01/B5 ( StdMeshers_Quadrangle_2D.cxx )
2) viscous_layers_01/B2, B8 ( StdMeshers_ViscousLayers.cxx )

+ Fix compilation warning "variable may be used uninitialized"
2016-05-19 20:50:08 +03:00
eap
bfe40dc738 23078: [CEA 1498] Sewing of meshes without having to set the nodes ids
Debug for note 21002
2016-05-12 15:01:20 +03:00
eap
bc95c31002 23207: EDF 11232 SMESH: viscou layers builder fails at the very fist inflation
23190: EDF 11636 - Problem of viscous layer
Regression of SALOME_TESTS/Grids/smesh/viscous_layers_01/B2 - shrink fails
2016-05-11 16:55:05 +03:00
vsr
7eda9ca931 Copyright update: 2016 2016-03-18 20:10:28 +03:00
eap
3ae5846f24 IPAL52974: Find Element by Point shows nodes that do not belong to current group 2016-03-18 15:42:33 +03:00
eap
4ed74ad3da 52976: Find Elements by Point - All does not find Ball element
+ minor changes in sample scripts
2016-03-17 21:47:21 +03:00
eap
3da8fefe9c 23239: [CEA 1739] Regression : crash trying to create mesh
(StdMesher_Prism_3D.cxx)

+ minor changes
2016-02-17 20:36:53 +03:00
eap
20248b6e76 23237: EDF 12367 - SIGSEGV with Remove group
(SMESH_Gen_i_1.cxx)

IPAL53059: Not all solids are highlighted by magenta
  (SMESHGUI_ComputeDlg.cxx)

+ remove "using namespace std" from headers
2016-02-15 15:08:20 +03:00
eap
3c33b14157 0023212: EDF 12054 - Problem with a pyramidal layer 2016-01-20 16:02:17 +03:00
eap
59627b07d7 Fix compilation errors using gcc-5.X relating to explicit stream::operator bool()
+ Fix compilation warnings
2016-01-13 16:47:35 +03:00
eap
25b7d7ffe7 Compilation error on Mageia 5
(DriverMED_W_SMESHDS_Mesh.cxx)

+ small changes for 23190: EDF 11636 - Problem of viscous layer
   (not yet fixed)
2015-11-25 13:53:04 +03:00
eap
831ca6c828 IPAL52980: Wire Discretization with Table density fails
(StdMeshers_Regular_1D.cxx)

+ Compilation warnings

+ WIN specific errors
   (StdMeshers_Adaptive1D.cxx)
2015-11-19 14:29:23 +03:00
mkr
a0487332cf Run tests on Windows platform. 2015-11-03 14:52:10 +03:00
eap
512d3547bc 23179: EDF 11603 - Problem with extrusion when path is not well oriented
HYDRO module: Feature #523: river, channel, embankment meshing
2015-10-09 17:47:17 +03:00
eap
a0880e7c36 23179: EDF 11603 - Problem with extrusion when path is not well oriented
IPAL52909: TC7.7.0: edges selection provides incorrect nodes IDs
IPAL52895: TC7.7.0: Incorrect behaviour of the "Move Node" dialog.
IPAL52910: TC7.7.0: mesh is not updated at Apply click in Smoothing dialog
2015-10-07 18:06:26 +03:00
eap
67909c435c IPAL52868: Confusing error message when computing an imported mesh w/o algo assigned
IPAL52888: Pattern Mapping fails to load from a face just after study loading
2015-10-05 14:51:57 +03:00
eap
674c0d8b9d 23173: EDF 11552 - Problem using Add 0D element function
IPAL52875: Extrusion along a path: the buttons are not active if the path is closed
IPAL52882: Hexahedron (i,j,k) makes a wrong mesh on a block with composite sides
2015-09-29 19:25:32 +03:00
eap
11bba48d41 23081: [CEA 1496] Control merge nodes behaviour: set fixed nodes
Change dlg layout by request of http://salome.mantis.opencascade.com/view.php?id=23081#c20415
2015-09-24 19:17:33 +03:00
eap
fd96feab4b Debug 23078: [CEA 1498] Sewing of meshes without having to set the nodes ids 2015-09-23 17:47:26 +03:00
eap
02ac54c6f3 IMP 23078: [CEA 1498] Sewing of meshes without having to set the nodes ids 2015-09-18 17:10:34 +03:00
eap
27c5228fcf 23142: EDF 11419 SMESH: Details about extrusion methods
Debug of [HYDRO module - Feature #523] river, channel, embankment meshing

+ Wrong meshing progress if an algo calls SMESH_Gen::Compute()
2015-08-25 20:15:49 +03:00
eap
741a54331a 52780: Wrong mesh after STL re-import of a concave polygonal element 2015-08-14 20:14:27 +03:00
eap
21ea791049 Fix 17 regressions 2015-08-14 13:31:06 +03:00
eap
24fe0efaab IPAL52827: Very few filtering criteria available in filter dialog called from Remove Elements dialog
IPAL52831: Veeery long awaiting for Mesh Information dialog appearance
IPAL52822: Find Elements By Point does not find coincident nodes
IPAL52821: Find Elements By Point dialog: no types available for search if there are only nodes in the mesh
IPAL52823: mesh.GetSubMeshElementsId( subShape ) works wrong if subShape is retrieved indirectly
2015-07-16 20:52:26 +03:00
eap
38f832b912 23072: [CEA 1500] Split biquadratic elements into linear elements 2015-07-09 12:41:53 +03:00
eap
b22e182dd1 23080: [CEA 1497] Do not merge a middle node in quadratic with the extreme nodes of a segment 2015-07-01 14:59:24 +03:00
eap
fe7d1d5767 23070: [CEA 1502] Create the 2D mesh from the 1D mesh with one mesh face for each geom face 2015-06-30 15:14:46 +03:00
eap
23d90107ac 0023064: [CEA 1471] Create and support quadratic polygons in SMESH 2015-06-24 12:17:07 +03:00
ana
3c0d0df848 Windows compatibility 2015-06-17 18:16:00 +03:00
vsr
28230317bf Fix misprint 2015-06-16 12:25:19 +03:00
eap
6dcb33ab2f [HYDRO module - Feature #523] river, channel, embankment meshing 2015-06-15 21:31:23 +03:00
eap
53a2fb6d67 IPAL52726: Hypotheses are missing from Object Browser after re-assignement
Fix addReference() in SMESH_Gen_i_1.cxx

IPAL52649: Irregular mesh created by Extrusion 3D algo
  Add projectQuads() (not used so far) in StdMeshers_Projection_2D.cxx

Fix errors detected by PVS-Studio as reported in www.viva64.com/en/b/0322/
2015-05-05 15:47:33 +03:00
eap
6c4a9f32ed IMP 22792: EDF 8159 SMESH: Multi-dimensional extrusion/extrusion along a path/revolution
+ Pre-open MED file to speed-up reading/writing (following 22349)
+ Clock-cursor in Display Entity dlg
+ In Filter dlg, do not perform filtering if it's not needed
+ In Group dlg, store a user-given name of a new group
+ Clock-cursor after hypothesis modif as mesh clearing can be long
+ Treat selected object right at opening of Measure dlgs
+ Allow removal of elements in a not shown mesh
+ Make filter work on a not shown mesh
+ Don't leave orphan nodes at RemoveGroupWithContents
+ Avoid crash when exporting a group + fields
2015-03-17 15:06:56 +03:00
ana
0e01b1efdf Windows compatibility 2015-03-04 16:56:54 +03:00
vsr
5e086fb537 Fix-up dependencies 2015-02-24 11:24:33 +03:00
akl
251f8c052d Copyrights update 2015. 2015-02-13 12:38:36 +04:00
eap
b385a0679d 52499: Prismatic mesh is not computed on a prismatic shape
22701: EDF SMESH: Crash when creating mesh

 1) Search of transformation using a least-square approximation
 2) Compute internal prism nodes using the found transformation
2014-09-24 17:38:27 +04:00
skv
d9faba6c84 OCCT dev version porting (6.7.2) 2014-07-09 17:36:23 +04:00
eap
69f064e122 IPAL52444: Viscous Layers and Projection fail 2014-07-07 19:41:18 +04:00
ana
7b2a4147d2 Windows compatibility 2014-06-19 19:54:36 +04:00
eap
440a39776f 22580: EDF 8049 SMESH: Problems with viscous layer
Overcome the problem of thickness limited by radius of curvature of faces
2014-05-28 18:30:52 +04:00
rnv
462fad4cea Fix a problem with the zero file descriptor. 2014-05-05 19:35:24 +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
4edb4666f4 SALOME_TESTS/Grids/smesh/3D_mesh_NETGEN_02/C1
File descriptor 0 is valid
2014-04-29 20:31:59 +04:00
eap
5c5fea746a 22564: EDF SMESH: Regression, FindNodeClosestTo does not return the right node on Salome_master/OCCT_6_7_1_beta
Refix 22511: EDF 2845 SMESH : error with UseExistingFaces
2014-04-17 17:45:55 +04:00
eap
32db05b07f Performance regression on SALOME_TESTS/Grids/smesh/bugs_16/S9 2014-04-01 20:48:00 +04:00
rnv
9acd4347a6 Compilation on Windows platform. 2014-04-01 13:28:48 +04:00
eap
17de6ce8ed 22511: EDF 2845 SMESH : error with UseExistingFaces
Fix regression of SALOME_TESTS/Grids/smesh/bugs_19/X7
2014-03-21 18:42:23 +04:00
eap
99c67a994b 22525: EDF 2863 SMESH : problem between BLSurf with viscous layer and projection
Always check zero UV
2014-03-21 16:27:14 +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
0ea528b07f 22516: [CEA 1075] Quadrangle mapping produces a bad mesh without raising error
Check that no inverted elements generated
2014-03-18 16:38:47 +04:00
eap
7853f15768 22511: EDF 2845 SMESH : error with UseExistingFaces 2014-03-13 19:21:35 +04:00
eap
e8f98d7a50 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
+  /*!
+   * \brief Auto pointer
+   */
+  template <typename TOBJ> struct Deleter
2014-02-25 18:50:48 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
d2c62e114d 22316: EDF 2719 SMESH: Split hexas into prisms
+  double GetDistance( const SMDS_MeshElement* elem, const gp_Pnt& point );
+  double GetDistance( const SMDS_MeshEdge* edge, const gp_Pnt& point );
+  double GetDistance( const SMDS_MeshVolume* volume, const gp_Pnt& point );
2014-01-20 10:35:19 +00:00
vsr
f7aba4830d Merge from BR_imps_2013 14/01/2014 2014-01-15 09:41:17 +00:00
eap
620c78e582 + bool findUVByHalfDivision( const gp_Pnt& thePoint, const gp_XY& theUV,
+                             const TFace& tface, gp_XYZ& theParams);
+  bool findUVAround( const gp_Pnt& thePoint, const gp_XY& theUV,
+                     const TFace& tface, gp_XYZ& theParams, int nbGetWorstLimit );
2013-11-22 13:17:00 +00:00
eap
89eaa44e08 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
+  COMPERR_BAD_PARMETERS    = -13, //!< incorrect hypotheses parameters
2013-11-22 12:35:35 +00:00
eap
58d829687d 22355: EDF SMESH: New 1D hypothesis "Adaptive"
Make all fields protected
2013-10-21 13:07:09 +00:00
eap
c34100e8f8 22355: EDF SMESH: New 1D hypothesis "Adaptive"
Make myBox protected
2013-10-21 08:21:05 +00:00