Commit Graph

2881 Commits

Author SHA1 Message Date
Yoann Audouin
e0859e6a65 Mesh object not deleted in Python + deleting temporary folder when destructing SMESH_Mesh 2022-10-18 15:02:19 +02:00
Yoann Audouin
3846e0a7e8 Renamming function and files 2022-10-18 15:01:44 +02:00
Yoann Audouin
33f226d321 Adding support of number of thread for the mesher 2022-10-18 15:01:44 +02:00
Yoann Audouin
7a915a21ea Replacing ctpl by boost::thread_pool 2022-10-18 15:01:44 +02:00
Yoann Audouin
446efab777 Deactivating parallelism for 2D/1D + corrections for non parallel run + adding ParallelCompute function in Python 2022-10-18 15:01:44 +02:00
Yoann Audouin
3f96b31757 Integration of run_mesher code 2022-10-18 15:01:44 +02:00
Yoann Audouin
67ee393af6 Restoring orignal compute + cleanup 2022-10-18 15:01:44 +02:00
Yoann Audouin
5d3c1425f8 Adding SetNbThreads in Python to set if compute will be done in parallel 2022-10-18 15:01:44 +02:00
Yoann Audouin
0be5e44fdf Working version for 3d with run_mesher 2022-10-18 15:01:44 +02:00
Yoann Audouin
2323e27949 Parallel version for 1d mesher number of segment 2022-10-18 15:01:44 +02:00
Yoann Audouin
6a94434123 WIP 2022-10-18 15:01:44 +02:00
Anthony Geay
4dc895105a Fix compilation on windows 2022-10-17 12:44:49 +02:00
Yoann Audouin
c3ca179bcb Handling error in PyRun + better import of MED file 2022-10-13 14:33:43 +02:00
Yoann Audouin
b131becc08 Adding user documentation 2022-10-13 14:33:36 +02:00
Yoann Audouin
7d1a127bbb Corrections to handle adapation to shape 2022-10-13 14:33:36 +02:00
Yoann Audouin
08485b06fa Working version of dual_meshing (using medcoupling) functionality 2022-10-13 14:33:33 +02:00
Yoann Audouin
246a01ab71 First working version
Missing update of object browser + parameters + generic adaptation to shape
2022-10-13 14:04:13 +02:00
jfa
1b69b0f98a [bos #32505] [CEA] Additional patches for Fedora 36. SPNS-29988-SMESH_V9_9_0.patch 2022-10-12 10:06:32 +03:00
Pascal Obry
ba7a525f8c Some fixes to compile against ParaView master. 2022-10-10 13:10:16 +03:00
Konstantin LEONTEV
d078f9f262 [bos #32189][CEA] SALOME README file: updated links to salome site. 2022-10-04 18:31:52 +03:00
Afeef
e6cfdf34c5 Fix for using Gmsh 4.10
Two algorithms from Gmsh 4.10 for generating quad mesh, Packing of Parallelograms and Quasi Structured Quad,
depend on frame/cross-field computations in Gmsh. As such when using these algorithms a class Field is used
(see Field.h in gmsh source). As the class Field also exists in src/SMESHGUI/SMESHGUI_MeshInfo.cxx this cr-
eates an error for displaying the mesh Info.

Hence the Field has been renamed as FieldInfo in src/SMESHGUI/SMESHGUI_MeshInfo.cxx.
2022-09-28 10:10:28 +02:00
Anthony Geay
dacd89c7df [EDF25906] : redirect output of the wget into MESSAGE macro 2022-08-16 17:42:38 +02:00
eap
f4764708fe Fix invalid Python dump of ExportUNV() 2022-08-04 13:38:27 +03:00
eap
dad744364c bos #30222 EDF 25368 - warning when computing 2022-07-13 19:40:43 +03:00
jfa
bdf698e60b Avoid infinite loop, found with test NRT_GRIDS_GEOM_BUG15_R7 2022-06-23 15:08:30 +03:00
eap
678de41423 bos #30314 EDF 25565 - Strange behavior on a specific case
Avoid SIGSEGV when returning NULL instead of an empty list
2022-06-17 19:02:28 +03:00
vsr
9d7121c884 bos #29628 Remove MEFISTO 2D algorithm 2022-06-08 13:36:08 +03:00
vsr
4cf07a1411 bos #29171 Refactor testing procedure 2022-06-07 12:06:48 +03:00
eap
4df9beadff fix 2D_mesh_QuadranglePreference_01/B8 2022-05-20 18:00:10 +03:00
eap
b7fecac60b Fix regression of viscous_layers_2D_00/A2 2022-05-20 17:59:59 +03:00
eap
f1a810b957 bos #29941 [CEA 29940] concatenate doesn't create node groups if mesh is empty 2022-05-12 13:21:20 +03:00
eap
a81fac1d80 #29939 [CEA 29936] mesh is not updated if it's based on ShaperResults group 2022-05-11 17:11:36 +03:00
eap
4c9ca4f7d3 [bos #29856] [CEA 29854] FixQuadraticElements crash 2022-05-05 20:12:50 +03:00
vsr
499f29d249 Copyright update 2022 2022-05-05 16:51:14 +03:00
eap
f4fda5460f bos #29764 EDF - SMESH_blocfissure* fail
Fix reference numbers for NETGEN-6
2022-04-21 17:48:18 +03:00
eap
91655b13fe bos #29764 EDF - SMESH_blocfissure* fail
Fix reference numbers for NETGEN-5
2022-04-21 13:36:15 +03:00
eap
d69e4fb6c7 bos #29266 EDF 24971 - SALOME crashes
Fix intersecting pyramids by applying gradation 2.0 to pyramids height
2022-04-19 14:30:36 +03:00
rnv
7ab73a330a Merge branch 'rnv/29456' 2022-04-19 12:07:56 +03:00
eap
81f227e3a2 bos #29611 cartesian_algo test is KO with valgrind 2022-04-15 14:46:02 +03:00
rnv
feaddec0f3 #29456 [EDF] (2022-T1) Finalization of SSL implementation 2022-04-14 19:01:10 +03:00
eap
7242eaf55b bos #29540 25009 - mesh fails 2022-03-31 20:00:05 +03:00
eap
c728e8a558 bos #29435 EDF 25081 - wrong prisms
Implement projectQuads()
2022-03-30 20:26:23 +03:00
rnv
64547701f8 #29335 [CEA 29224] Cannot graphicaly select geometry to create groups: implement possibility to select whole object (on which mesh was constructed) as a base for Mesh group. 2022-03-24 15:17:55 +03:00
eap
0510c0d369 bos #29212 [CEA 29181] Body fitter on compounds incomplete mesh 2022-03-23 16:36:14 +03:00
eap
b881b9c7b9 bos #29395 EDF 25009 - import1D2D mesh fails 2022-03-22 16:31:40 +03:00
eap
6938ef133c [bos #26398] [CEA] convert cgns to HDF Invalid Data-Type
Fix compilation with -DCGNS_ENABLE_64BIT:BOOL=ON
2022-03-16 14:39:19 +03:00
Massimiliano Leoni
067472c5cf Implement better check for over-constrained volumes and faces
wip
2022-03-14 10:08:41 +01:00
eap
a9219e5f12 bos #29266 EDF 24971 - SALOME crashes
fix crash, meshing failure still there
2022-03-11 14:46:25 +03:00
rnv
8385b9256f Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh 2022-03-11 12:33:57 +03:00
rnv
a6cc4f9ec1 Compilation under Windows 2022-03-11 12:31:24 +03:00
eap
a065ed143c bos #29143 [CEA] Compute takes too much time in polyhedron per solid use case
more optimization: don't try to find more local algos if uniDimAlgoShapes is empty
2022-02-28 14:38:20 +03:00
eap
f85bc0ab6f bos #29143 [CEA] Compute takes too much time in polyhedron per solid use case
more optimization: don't fill in uniDimAlgoShapes if no multi-dimensional
  algo assigned
2022-02-25 14:44:14 +03:00
eap
4a9dc0d210 bos #29143 [CEA] Compute takes too much time in polyhedron per solid use case 2022-02-24 18:36:53 +03:00
vsr
82116e7ff8 bos #29104 [EDF 24805] Pb of displaying: reset point representation when redisplaying actor 2022-02-16 13:17:55 +03:00
Yoann Audouin
f79e757d19 Adding translation for french 2022-02-15 13:49:33 +01:00
Nabil Ghodbane
fb33951dba spns #19079: Top-ii-vol integration in SMESH 2022-02-15 11:51:48 +03:00
Anthony Geay
e1682190e9 First try to mix old style and new style meshgems 2022-02-11 13:21:48 +01:00
eap
ff53fa3701 bos #26454 [EDF] (2021) SMESH: interactive mesh modification 2022-02-09 18:15:05 +03:00
Massimiliano Leoni
765aec5c00 Fix default tolerance in double nodes computation 2022-01-26 14:59:29 +03:00
Massimiliano Leoni
38876f7373 Fix docstring 2022-01-26 14:57:45 +03:00
eap
9db5f5f59c Fix messages and indentation 2022-01-26 13:38:57 +03:00
Anthony Geay
526e921765 Fix padder in SSL mode reviewed 2022-01-25 17:57:57 +01:00
Anthony Geay
5eada3cfb1 [tuleap,26948,26947,28734] : global fix 2022-01-24 17:35:19 +01:00
Anthony Geay
a9cddd8ce9 [tuleap26948] : fix of Dump study does not work after study reopening 2022-01-24 11:50:00 +01:00
rnv
64f450dfd1 Disable homard tool on Windows. 2022-01-21 11:53:29 +03:00
jfa
e23a7cb819 bos #26453: SMESH: uniform refinement 2022-01-17 15:23:46 +03:00
eap
f4ffdc72f1 Prevent failure of opening Mesh dialog if unable to load some mesher plugin 2022-01-13 17:10:02 +03:00
rnv
2c5e4604a9 #26981 [CEA][Windows] SALOME compilation issueS 2022-01-11 15:44:14 +03:00
vsr
995410b1ca Fix linkage problem caused by previous commit 2022-01-06 16:42:51 +03:00
Anthony Geay
189a27b3b2 Padder smesh plugin in SSL mode 2021-12-27 12:58:04 +01:00
eap
5c094a96e9 Avoid failure of Create Mesh dialog in case of invalid plugin library 2021-12-24 17:53:03 +03:00
rnv
ce0e352599 Remove unnecessary includes 2021-12-15 14:10:58 +03:00
vsr
de59ee6d8d Merge branch 'V9_8_BR' 2021-12-10 12:47:37 +03:00
eap
98cff9f2f4 bos #26630 EDF 6032 - Problem of projection 2021-11-29 21:41:58 +03:00
eap
5254ada6ef bos #26630 EDF 6032 - Problem of projection 2021-11-29 20:56:55 +03:00
eap
4207944cd6 bos #26523 EDF 24234 - Viscous Layer
fix computing a sole sub-mesh
2021-11-27 14:46:34 +03:00
eap
254c02d6e1 bos #26523 EDF 24234 - Viscous Layer
bos #26544 EDF 11636 - crash with NETGEN 6 + viscous layer

1) fix 'Conditional jump or move depends on uninitialised value'
2) fix recomputing a FACE where shrink fails
3) fix angular smooth
2021-11-27 14:46:03 +03:00
eap
e8af688e3b bos #26523 EDF 24234 - Viscous Layer
fix computing a sole sub-mesh
2021-11-27 14:33:18 +03:00
eap
095b97dbbd bos #26523 EDF 24234 - Viscous Layer
bos #26544 EDF 11636 - crash with NETGEN 6 + viscous layer

1) fix 'Conditional jump or move depends on uninitialised value'
2) fix recomputing a FACE where shrink fails
3) fix angular smooth
2021-11-27 14:31:40 +03:00
eap
48c30a5c91 bos #26452 [EDF] (2021) SMESH: orientation of faces 2021-11-19 18:29:24 +03:00
Gérald NICOLAS
9f990cc59c Traduction 2021-11-19 14:43:49 +01:00
rnv
51843b372c #26655 EDF 24384 - Problem of Display 2021-11-18 14:34:56 +03:00
rnv
e6fe1c8354 Tests under Windows in Debug mode. 2021-11-11 17:18:45 +03:00
eap
5d57f4e257 bos #26515 [CEA 24622] Failing SMESH tests
for failure at EDF
2021-11-09 16:45:05 +03:00
eap
33da431dcb bos #26515 [CEA 24622] Failing SMESH tests
for failure at EDF
2021-11-09 15:22:19 +03:00
eap
063116fae2 bos #26432 [CEA 26431] import/export SAUV removal 2021-11-05 14:09:11 +03:00
vsr
890187d6e1 std::regex does not work properly with gcc 4.8 2021-10-26 20:10:54 +03:00
eap
300e5f1bc5 bos #26515 [CEA 24622] Failing SMESH tests
Reference quantities depend on NETGEN version
2021-10-26 18:31:10 +03:00
eap
63d89b45fc bos #26515 [CEA 24622] Failing SMESH tests
make log file name unique
2021-10-20 19:30:23 +03:00
eap
0e0472b608 bos #26515 [CEA 24622] Failing SMESH tests
encoding pb
2021-10-20 18:37:29 +03:00
vsr
6bdd4758a7 bos #26458 Versioning of sources via git commit id (sha1) 2021-10-04 12:59:36 +03:00
Christophe Bourcier
3b4c34ed36 Fix DoubleNodes not affecting new nodes on polyhedra 2021-09-24 16:04:10 +02:00
vsr
c9deeb6535 Merge branch 'occ/new_mg_licnese' 2021-09-24 11:54:11 +03:00
Christophe Bourcier
06613d617e MGAdapt: allow using float field. Fixes test 13. 2021-09-22 14:56:57 +02:00
eap
786657f54f bos #24400 [CEA] Option in SALOME for not storing in med files the indices (number of nodes)
Add the option to Export dialog
2021-09-14 18:33:41 +03:00
Anthony Geay
abc53b03ca Merge branch 'occ/new_mg_licnese' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh into occ/new_mg_licnese 2021-09-10 15:24:05 +02:00
Anthony Geay
bd19f3d315 Allow EDF URL style 2021-09-10 15:23:36 +02:00
Viktor UZLOV
45269c3fb4 bos #24253 Redesign some dialogs to better fix screen resolution 2021-09-09 10:51:00 +03:00
eap
735f27e37f bos #24761 EDF 24020 - Difference of behavior between submesh and group from geom
Enable group creation on a group sharing items with another group,
which is the shape to mesh
2021-09-03 16:00:33 +03:00
eap
b1e37287d4 fix new license in MGCleaner 2021-08-30 13:33:06 +03:00
eap
86b5d4b79b typo 2021-08-27 19:19:08 +03:00
eap
52762f2639 bos #20643 EDF 22805 - Pb Viscous Layer
1) Fix computing average thickness of layers
2) Don't block an edge with not limited _maxLen if it not reached an obstacle yet
2021-08-27 18:45:00 +03:00
eap
1ffd1c1245 bos #24596 [CEA] New MeshGems license
Care of python plugins
2021-08-26 18:23:22 +03:00
rnv
3d563f7964 Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh 2021-08-23 18:07:41 +03:00
rnv
80cacfcf7d "#24733 [CEA][Windows] SMESH compilation issue" + build SMESH in debug under Windows 2021-08-23 18:07:16 +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
eap
499331b207 same fix as in SignCAD() 2021-08-19 17:09:28 +03:00
eap
4a8f4b4c1c memory leaks 2021-08-19 16:23:54 +03:00
rnv
096a139769 Debug under Windows + some minor corrections. 2021-08-19 15:24:41 +03:00
Anthony Geay
df12e1cdc5 Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh 2021-08-19 08:17:18 +02:00
Anthony Geay
3d7a8eccb8 Fix error introduced in 465e5be442 2021-08-19 08:17:07 +02:00
eap
83429c29b7 bos #20643 EDF 22805 - Pb Viscous Layer
It's the 2nd step of fixing
2021-08-18 20:36:17 +03:00
eap
9d45de7fb7 bos #20643 EDF 22805 - Pb Viscous Layer
It's the 1st step of fixing
2021-08-17 15:17:22 +03: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
Anthony Geay
b3a36b5d8e Switch to SSL mode for tests : naive approach 2021-08-12 11:38:10 +02:00
eap
8c5da1b9d0 Prevent exception in MgAdapt::MgAdapt() in case if SALOME_TMP_DIR specifies
unexciting directory
2021-08-11 17:35:58 +03:00
eap
772ad1d5f4 bos #24596 [CEA] New MeshGems license 2021-08-10 20:46:27 +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
cd4aa39efa BUG: Mesh Failed dialog shows negative shape ID if nb shapes > SHORT_MAX
+ minor changes:
1) fix 2 typos
2) improve SMESH_Delaunay::ToPython()
2021-08-05 19:03:34 +03:00
eap
6b5dcfe000 Suppress memory leak when using Kernel_Utils::decode()
+ some code cleanup
2021-08-05 15:53:09 +03:00
rnv
f016bdf914 #24666 [CEA][Windows] BLSURPLUGIN compilation issue 2021-07-29 14:35:26 +03:00
eap
e9ce775931 bos #24052 [CEA 24050] Body Fitting with shared faces
+ fix merging polyhedra
2021-07-28 19:14:53 +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
2a0f82c609 bos #20643 EDF 22805 - Pb Viscous Layer
Fix an issue with periodic FACEs with layers
2021-07-22 14:18:27 +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
eap
ad1d7c52f7 bos #24357 [CEA] Export mesh with field on vertices
+ fix warnings
2021-07-08 12:02:05 +03:00
eap
882ff39283 bos #24368 EDF 23667 - Duplicates nodes
+  Suppress warnings
2021-07-07 14:58:51 +03:00
eap
d5aa4efde2 bos #24368 EDF 23667 - Duplicates nodes
+  Suppress warnings
2021-07-06 16:17:33 +03:00
rnv
53cfbcdd33 Add DLL specs. 2021-07-05 19:04:33 +03:00
Anthony Geay
e34095b65b Fix memory corruption introduced into ef9db08c81 2021-06-23 08:38:56 +02: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
eap
6e356afaff Update by request of Nathalie GORE 2021-06-01 13:26:19 +03:00
rnv
b47d85eb4a Compilation on Windows. 2021-05-27 00:17:44 +03:00
vsr
60bb6273b9 Merge branch 'V9_7_BR' 2021-05-24 17:54:03 +03:00
Gérald NICOLAS
d7de79b9dd Traduction du panneau d'aide 2021-05-19 17:25:45 +03:00
Anthony Geay
cdd78104f5 Add a non regression test of ExportMEDCoupling method 2021-05-17 16:09:53 +02:00
Anthony Geay
cc54cd4b94 Implementation of ExportMEDCoupling. 2021-05-17 16:09:53 +02:00
eap
3f5860c39f bos #24257 [CEA] Fatal error when creating a submesh if the mesh is on a sub-shape
Adjust isSubshapeOk() for SHAPERSTUDY where GEOM_Gen::AddSubShape() not implemented
2021-05-05 13:53:16 +03:00
eap
b79f3c0765 bos #24257 [CEA] Fatal error when creating a submesh if the mesh is on a sub-shape
Adjust isSubshapeOk() for SHAPERSTUDY where GEOM_Gen::AddSubShape() not implemented
2021-05-05 13:28:17 +03:00
rnv
8f903d5ee5 bos #24228 [CEA 24217][Windows] cannot compile SMESH: additional fix. 2021-05-03 20:06:34 +03:00
rnv
61bac50f78 Fix compilation problems under windows. 2021-04-30 10:40:02 +03:00
eap
26446f72ec bos #20256 [CEA 18523] Porting SMESH to int 64 bits
Fix import huge mesh from MED
2021-04-29 16:48:38 +03:00
eap
a8e83192f6 bos #20256 [CEA 18523] Porting SMESH to int 64 bits
Fix export huge mesh to MED
2021-04-29 16:48:26 +03:00
eap
78e2e09d5c bos #20256 [CEA 18523] Porting SMESH to int 64 bits
Fix import huge mesh from MED
2021-04-29 13:51:32 +03:00
eap
4ba3c7cda8 bos #20256 [CEA 18523] Porting SMESH to int 64 bits
Fix export huge mesh to MED
2021-04-29 13:22:23 +03:00