Commit Graph

615 Commits

Author SHA1 Message Date
eap
063116fae2 bos #26432 [CEA 26431] import/export SAUV removal 2021-11-05 14:09:11 +03:00
vsr
c9deeb6535 Merge branch 'occ/new_mg_licnese' 2021-09-24 11:54:11 +03:00
eap
c65cc4a053 bos #20643 EDF 22805 - Pb Viscous Layer
3d step:
* inflate along noShrink shapes
* not periodic FACEs if shrink EDGEs are of different length

+ memory leak in SMESH_Gen_i
+ avoid error in Hex(ijk) with VL
2021-08-23 17:59:57 +03:00
Anthony Geay
3d7a8eccb8 Fix error introduced in 465e5be442 2021-08-19 08:17:07 +02:00
Anthony Geay
01fd8ef506 Memory leak hunting 2021-08-17 10:25:20 +02:00
Anthony Geay
465e5be442 Memory leak hunting 2021-08-17 10:07:11 +02:00
Anthony Geay
8d185cc9e6 Fix Bug9100_DumpComputePosition.py in SSL mode 2021-08-13 16:43:29 +02:00
eap
db3a0bbde4 BoostTxtArchive minor changes 2021-08-12 17:26:25 +03:00
eap
ce0f1ae8e9 Bug: boost::archive::text_iarchive fails if archive created by newer version
of boost::archive library
2021-08-06 15:41:33 +03:00
eap
6b5dcfe000 Suppress memory leak when using Kernel_Utils::decode()
+ some code cleanup
2021-08-05 15:53:09 +03:00
eap
3dd9e6ddb3 regression with bos #24400 [CEA] Option in SALOME for not storing in med files the indices (number of nodes)
Store number in study, else IDs of elements change

+ In Mesh Info dlg, set size of IDs in the viewer from preference
2021-07-23 18:03:09 +03:00
eap
88ff35ddd4 bos #24400 [CEA] Option in SALOME for not storing in med files the indices (number of nodes)
+ minor changes:
1) unify member field names: avoid _my*, replace by either _* or my*
2) BUG: mesh persistent ID is not unique
3) arguments alignement
4) Add SMESHDS_Hypothesis::SaveString() and LoadString()
5) In mesh construction dlg disable "Mesh Type" if it contains ANY only
6) Add SMESH::printErrorInDebugMode argument of SMESH_CATCH
7) Use static_assert to check completeness of arrays corresponding to enum
8) Add renumber arg to ExportUNV() and ExportDAT()
9) Fix some warnings
2021-07-22 14:10:49 +03:00
Anthony Geay
ef9db08c81 MEDCoupling Memory output from SMESH engine now deal with fields too. 2021-06-23 07:59:19 +02:00
Anthony Geay
12d2ca8ac7 ExportMEDCoupling is now safer 2021-06-11 08:32:36 +02:00
Anthony Geay
f3da1d7f0c Container servant hold information about SSL mode or not 2021-06-09 17:34:21 +02:00
vsr
60bb6273b9 Merge branch 'V9_7_BR' 2021-05-24 17:54:03 +03:00
Anthony Geay
cc54cd4b94 Implementation of ExportMEDCoupling. 2021-05-17 16:09:53 +02:00
rnv
61bac50f78 Fix compilation problems under windows. 2021-04-30 10:40:02 +03:00
eap
a11ec0f515 [bos #24169] [CEA 24168] Error in AffectedElemGroupsInRegion 2021-04-23 14:10:04 +03:00
eap
b093728299 bos #20256: [CEA 18523] Porting SMESH to int 64 bits 2021-04-20 16:04:08 +03:00
eap
03d855b75b bos #24009 Merge gni/adaptation branch (MG-Adapt) 2021-03-26 12:45:00 +03:00
vsr
a274ade365 Copyright update 2021 2021-03-23 17:44:29 +03:00
vsr
13e344b872 Revert wrongly integrated merge
This reverts commit a463e46431, reversing
changes made to 1c35693208.
2021-03-22 10:19:31 +03:00
eap
a463e46431 #23999 EDF 22760 - integration of dev in SMESH (from branch 'gni/adaptation') 2021-03-20 16:01:14 +03:00
Anthony Geay
9851a42aa9 Modif for salome gui without neither NS nor other servers. 2021-02-26 07:17:41 +01:00
Anthony Geay
ded5e634c9 Forward medcoupling exception thrown in case of problem of conversion 2021-02-17 22:22:22 +01:00
Gérald NICOLAS
4c3cd911ff Message d'erreur en l'absence de fichier 2021-02-09 17:05:33 +01:00
Gérald NICOLAS
f6eed752d8 Mise à jour 2021-02-09 14:53:06 +01:00
Gérald NICOLAS
96c02d08b9 récupération 2021-02-09 12:24:42 +01:00
Gérald NICOLAS
ed49807f17 Merge branch 'master' into gni/adaptation 2021-02-09 12:24:02 +01:00
GERALD NICOLAS
36e723d3d3 Remplacement des taquets de tabulations paor des espaces 2021-02-03 15:55:16 +01:00
Anthony Geay
b8cc25cce5 2 servant implementations of SMESH::SMESH_GEN. One with Study and ModuleCatalog retrived from NS (like the beginning), another one with Study and ModulCatalog embedded 2021-02-01 20:13:06 +01:00
GERALD NICOLAS
55f658966b Ménage avant intégration 2021-02-01 11:26:34 +01:00
azakir
4002febb8b enable to publish in TUI 2021-01-19 10:30:07 +01:00
azakir
4cd6311d74 little corrections 2021-01-15 12:03:28 +01:00
azakir
43e6429c58 TUI for mg-adapt 2021-01-14 17:00:52 +01:00
azakir
d37a77ee95 maj TUI 2021-01-13 11:01:18 +01:00
azakir
8196d751b1 for MG-adapt TUI 2021-01-12 17:36:13 +01:00
azakir
456850beda Merge branch 'gni/adaptation' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh into gni/adaptation 2021-01-12 14:19:56 +01:00
azakir
6e11711875 TUI first dev 2021-01-12 14:18:03 +01:00
eap
7d57cfe306 Fix typos by Kunda
https://www.salome-platform.org/forum/forum_9/875695368/263950625
2021-01-11 12:42:05 +03:00
jfa
47d2912cb3 Porting to OCCT7.5.0 2020-12-15 13:59:42 +03:00
eap
223210ad12 #20282 EDF 22320 - general compute fails
don't apply 1D-2D algorithms before 1D-2D-3D ones if sub-mesh order says opposite
2020-12-14 16:41:04 +03:00
eap
2f4749af53 #18963 Minimize compiler warnings
fix the rest warnings
2020-12-09 22:12:51 +03:00
SALOME
cb55604f37 #18963 Minimize compiler warnings 2020-12-08 16:46:17 +03:00
eap
4039f267f1 bos #20282 EDF 22320 - general compute fails
1) Compute sub-meshes with prescribed order before the rest ones
2) Save sub-mesh order not as ids but as entries, because ids of groups
   within SMESHDS_Mesh can change at study loading if some group is no
   longer used as a base of sub-mesh of group on geometry
2020-12-02 11:51:19 +03:00
eap
97b0a95536 [bos #20282] EDF 22320 - general compute fails
Correct tree icon of partially computed sub-mesh
2020-11-20 11:26:59 +03:00
eap
d3bb81e560 IPAL54700: TC-9.6.0: 0D Mesh - several items are missed in the OB popup menu 2020-10-22 12:19:01 +03:00
eap
76b3528b3f bos #20244 [CEA 20227] OCCT SIGSEGV - Cutting of quadrangles 2020-10-22 11:33:25 +03:00
eap
d245f797f1 #19926 [CEA 19782] renumbering meshes 2020-10-15 16:57:54 +03:00
eap
981e2bca16 bos #19961 EDF 21858 - ExportMED 2020-10-12 17:15:51 +03:00
eap
222d596e3b #19993 [CEA 17873] Delete group with contents crash 2020-09-28 14:18:24 +03:00
mpv
3632886261 #19919 [CEA] Group of Edges reported as empty
Make mesh marked by ! sign if after breaking link the referenced shape becomes different from the shape used for meshing before.
2020-09-04 17:46:03 +03:00
mpv
338d12a959 #19919 [CEA] Group of Edges reported as empty
Clear shapes-cash in GEOMClient also for sub-meshes objects.
2020-08-24 16:38:41 +03:00
eap
eac64fdf48 In dump script avoid removing missing geom objects 2020-08-10 17:43:45 +03:00
eap
f435fe5c82 Enable simultaneous usage of several StdMeshersGUI_SubShapeSelectorWdg's
Add SMESH_Gen_i::CountInPyDump(text) which is useful for defining uniquely
named variables in dump python scripts
2020-08-07 12:14:55 +03:00
eap
dbbd8a2dbe Protection for the case of python command wrapped over several lines 2020-07-31 20:27:23 +03:00
eap
e85e13ee2a #19765 EDF 21730 - long time to load med file file with huge amount of groups 2020-07-20 10:13:03 +03:00
eap
d55dbe18f5 Merge remote-tracking branch 'origin/V9_5_BR'
Conflicts:
	src/SMESH_I/SMESH_Mesh_i.cxx
2020-07-10 19:33:14 +03:00
eap
1a39b08ad9 #19232 [CEA] overal Mesh quality crash on imported MED
Bug reason: the med file includes polygons based on none of nodes.
Solution: forbid creating such polygons
2020-06-09 15:09:07 +03:00
eap
1deb1c3b7e #19232 [CEA] overal Mesh quality crash on imported MED
Bug reason: the med file includes polygons based on none of nodes.
Solution: forbid creating such polygons
2020-06-09 13:58:21 +03:00
eap
75b15d2531 Cosmetic changes 2020-05-27 20:48:43 +03:00
eap
19720c1ef8 IPAL54678: TC-9.5.0: Sub-mesh priority: not all sub-meshes are displayed in the dialog
+ Small improvement of a mesh context menu:
  * Add "Clear + Compute" for a non-empty mesh
  * Add "Show Compute Errors" for a failed meshing
  * Remove "Compute" for a fully computed mesh
  * Add an icon for "Export" item
2020-05-26 19:20:30 +03:00
eap
bba8dbd724 IPAL54678: TC-9.5.0: Sub-mesh priority: not all sub-meshes are displayed in the dialog 2020-05-26 17:59:55 +03:00
eap
928a9967c9 IPAL0054674: Wrong mesh icon after mesh modification
+ minor doc imp
2020-05-18 21:31:22 +03:00
eap
4b5a9b85ae Unify function headers 2020-05-14 17:26:57 +03:00
eap
54d90bf525 SHAPERSTUDY: Break Link when geometry not changed 2020-05-14 16:40:46 +03:00
eap
4d658cb770 #19078 [CEA] Mesh Group - Group on filter
fix places where component name "GEOM" is used
2020-05-08 19:32:46 +03:00
vsr
0fc0831670 Copyright update 2020 2020-04-15 18:19:44 +03:00
eap
7406f0680a SHAPERSTUDY: fix case of a group containing the main shape 2020-04-11 01:22:43 +03:00
eap
52a5308f7c fix SHAPERSTUDY: when two meshes are on the same geometry 2020-04-08 19:01:46 +03:00
eap
f380991026 fix SHAPERSTUDY bugs 2020-04-08 11:19:56 +03:00
eap
ed5c94eda8 Pb: sub-mesh becomes invalid upon adding fillet to a sketch 2020-04-02 13:01:51 +03:00
eap
230046ed89 Task #3134: Improve the relation between SHAPER and SMESH
Fix pb that sub-mesh loses hypotheses if topology changes
2020-03-17 21:23:13 +03:00
mpv
d07d6a9662 Fix the problem on break link and creation of a mesh on the same geometry:
- In SHAPER, create a part
- Create a sketch with a rectangle
- Extrude it
- Create a group of face with the TOP face
- Create a group of face with the BOTTOM face
- In SMESH, create a mesh with Netgen 1D2D
- Compute the mesh
=> The mesh groups TOP and BOTTOM are created (if "Create all Groups on geometry" is ticked in Create mesh dialog box)
- Call Break link on Extrusion_1_1 under Mesh_1.
- Compute Mesh_1 again (it has been cleared by break link).
- In SHAPER, edit the sketch and add a fillet in a corner
- In SMESH, create another mesh with Netgen 1D2D
- Compute Mesh_2
=> The mesh groups TOP and BOTTOM are created, but they are void and have a warning sign.
2020-03-12 18:02:51 +03:00
eap
4a3d652a69 #18835 Automatically create groups on Geometry in SMESH when the SHAPER result is modified 2020-03-11 19:57:24 +03:00
Pascal Obry
c9c3fe8924 Porting to ParaView 5.8 2020-03-11 14:37:59 +03:00
eap
155c6427af #17336 [CEA 17333] Mesh offset generates a segmentation violation 2020-02-28 16:06:43 +03:00
eap
0e63df0f03 Fix regression of smesh/bugs_14/P7 2020-02-26 11:59:42 +03:00
eap
afef8ccaa7 Restore usage of GenericObject wraper ( _wrap ) 2020-02-21 21:19:12 +03:00
vsr
6472eab132 Merge branch 'occ/shaper2smesh' 2020-02-21 17:00:22 +03:00
eap
48d9b5a07c Fix negative volume of valid but small polyhedron
https://salome-platform.org/forum/forum_10/547695356
2020-02-17 21:34:19 +03:00
eap
66ec81f68d #16522 [CEA 7599] Viscous layers hypothesis: extract layers as a group
1) Fix invalid python dump (missing Compute() before GetGroups())
2) Remove a group if group name changes
3) Remove an actor of a removed group
2020-02-14 18:11:57 +03:00
mpv
59fe51ff7f Correct python dump for the SHAPERSTUDY part of the script 2020-02-14 15:51:40 +03:00
eap
788e2d8114 Fix Break Link called from TUI 2020-02-14 14:16:51 +03:00
mpv
09e4b58983 Fix for the break-link dump into python: also sub-mesh references must be updated. 2020-02-13 19:09:53 +03:00
vsv
800fdf5fdc Do not remove Mesh on geometry change according to request #3134 2020-02-12 16:35:57 +03:00
mpv
4f9b4e3fb3 Make the dead shape correctly referenced by SMESH mesh after loading the python dump script 2020-02-07 15:42:25 +03:00
eap
7cda93af40 Make SetNodeOnEdge() tell a valid range if U is invalid
Inspired by https://salome-platform.org/forum/forum_10/103286584
2020-02-05 18:38:06 +03:00
mpv
2cdec6ec50 Support of python dump in SHAPER STUDY 2020-01-30 19:18:32 +03:00
eap
ab494e654a New mesh icon if geometry changes 2020-01-28 17:14:39 +03:00
eap
c4d4c3be32 Fix exception at Break Link after shaper group modification
Scenario:
- Create a mesh on a box with sub-mesh on a group
- Modify group in shaper
- Switch to SMESH and Break Link ==> SIGSEGV
2020-01-24 21:36:13 +03:00
eap
4cb88409b2 Fix dump for #17845 [EDF] Modifications of Automatic meshing 2020-01-24 19:09:38 +03:00
eap
5dcb2f2b46 #17845 [EDF] Modifications of Automatic meshing 2020-01-24 19:09:38 +03:00
eap
e3019524b4 Fix sub-mesh update upon shaper geometry change 2020-01-21 17:41:22 +03:00
eap
93ac2e8964 fix update of sub-meshes on group in checkGeomModif()
+ make SMESH_Mesh_i::_mainShapeTick persistent, which is needed for the case:
    - open a saved study with shaper data
    - edit an object in the shaper
    - switch to smesh ==> shape modification not detected
2020-01-20 18:57:12 +03:00
eap
81dd629345 Fix sub-mesh creation by selection of mesh element + remove dead actors after BreakLink 2020-01-17 20:43:01 +03:00
eap
af067a707e Update mesh according to geometry modif. Care of actors of removed objects 2020-01-16 16:41:56 +03:00
eap
8df5094ecd Fix SMESH_Mesh_i::ReplaceShape() 2020-01-15 16:13:38 +03:00
eap
d2681a122c #17927: EDF 20035 - perfs of mesh creation 2020-01-10 14:33:42 +03:00