Commit Graph

439 Commits

Author SHA1 Message Date
eap
5b3023e6cb Enable splitting bi-quad quadrangles by QuadToTri() 2016-02-03 14:43:37 +03:00
eap
475d7c1304 Fix regressions in QuadTo4Tri() and QuadToTri()
mesh_Quadratic_00/A3
imps_09/K8
2016-02-02 21:10:57 +03:00
eap
6f5fd35e49 23221: EDF - all edges are not meshed
an internal EDGE in a SOLID to be meshed
2016-01-29 18:03:18 +03:00
eap
e074bae4b7 Avoid MED file reading failure caused by low memory
Failure reason: system(...) command exits with "Cannot allocate memory"
2016-01-29 15:47:48 +03:00
eap
f0e2178ff8 OCCT Exception in "Cutting of quadrangles" dialog 2016-01-22 20:29:39 +03:00
eap
7d08ac8481 Fix regression of non-regression tests
- Coplanar faces filter (SMESH_Controls.cxx)
- Convert to quadratic (SMESH_MesherHelper.cxx)
- Missing Compute item in mesh pop-up in presence of a sub-mesh on compound only (no other algos) (SSMESHGUI_ComputeDlg.cxx)
- set checkAll=False in call of SMESH_Gen::IsApplicable() (smeshBuilder.py)
2015-12-01 14:32:09 +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
vsr
a4216ec9d0 Enable C++0x/C++11 support 2015-10-29 13:56:02 +03:00
eap
3369d458ea IPAL52935: "Apply and Close" button is not available in "Make 0D Elements on Element Nodes" dialog box
(SMESHGUI_Add0DElemsOnAllNodesDlg.cxx)

Eliminate compilation warnings (all the rest files)
2015-10-27 20:47:31 +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
8682ebb1eb 23156: EDF 9626 SMESH: Dump study produces a non-working script
52874: List of available groups in 'Group' combo-box is empty for sub-mesh and group.
52871: Mesh Information dialog shows different number of nodes for group of elements
Regression of Grids/smesh/sewing_00/A5
2015-09-25 21:15:51 +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
6f7386be59 52863: Convert To Bi-Quadratic incorrectly locate in-face central nodes
52865: Wrong order of children under a sub-mesh in the Object Browser
2015-09-08 17:24:05 +03:00
eap
44cfe3f661 IPAL52650: Convert to quadratic fails on an ellipsoid.
IPAL52659: Pattern file is not readable
IPAL18558: Wrong information of the created sub-mesh is shown.
2015-09-04 20:35:06 +03:00
eap
081f12102e 23151: EDF 9626 SMESH: Opening an existing study makes salome end with an allocation error when closing.
Fix ~SMESH_Gen_i()

Regression 2D_mesh_Polygons_00/A2
  Fix DriverSTL_W_SMDS_Mesh.cxx

IPAL52658: Quadrangle (Mapping) makes invalid mesh with Enforced vertices
IPAL52654: Quadrangle (Mapping) with enforced vertices works wrong
IPAL20729: Difference in behaviour of selection for Rotation against Translation, Symmetry after Apply.
IPAL9947: SMESH – Merge nodes dialog box
2015-09-02 17:39:00 +03:00
eap
1dd2f82c6d IPAL52781: Orientation of a wall face created by revolution is wrong
IPAL52850: ConvertToQuadratic creates invalid triangles
Regression of imps_09/K0
2015-08-28 20:03:25 +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
9493563cbc 23138: EDF SMESH Regression: New behavior with ExtrusionSweepObject
IPAL52830: "Mesh computation fails" and "Evaluate" dialogs do not have [Help] button
IPAL52782: Invalid polygon after merge
2015-08-20 19:23:10 +03:00
eap
87c954b31c 52846: It is impossible to select edge in OB as reversed edge for hypothesis
52826: Radial Quadrangle algorithm meshes a quad face from which a circle was cut from but it must fail
52227: Group is not shown during edition
52780: Wrong mesh after STL re-import of a polygonal element
52825: Sew Borders does not care of segment adjacent to split faces, thus segments become non-conformal
52824: Sew Free Borders sews borders as conformal thus producing very skewed quads instead of polygons
2015-08-19 17:32:58 +03:00
eap
21ea791049 Fix 17 regressions 2015-08-14 13:31:06 +03:00
ana
76deac4f04 Win32 compatibility 2015-08-10 20:00:26 +03:00
eap
afb2a8e781 23126: [CEA 1562] Regression : Wrong nodes position using SetEnforcedVertex on a sphere
Fix SMESH_MesherHelper::IsQuadraticSubMesh()

IPAL52836: A sub-face of a box can't be selected in OB to be added to Viscous Layers hypothesis
   Fix StdMeshersGUI_SubShapeSelectorWdg::selectionIntoArgument()
2015-08-03 20:45:26 +03:00
eap
0460bb60e0 Fix regressions caused by improvements 2015-07-15 17:05:14 +03:00
eap
de00066f64 23081: [CEA 1496] Control merge nodes behaviour: set fixed nodes 2015-07-10 19:39:03 +03:00
eap
38f832b912 23072: [CEA 1500] Split biquadratic elements into linear elements 2015-07-09 12:41:53 +03:00
eap
0e017d4c87 23068: [CEA 1505] Be able to keep meshing in 2D after having merged the nodes in 1D 2015-07-07 17:33:01 +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
897fdb92b6 23121: EDF 11163 SMESH: Orphan node generated on a 3D mesh 2015-06-26 20:09:20 +03:00
eap
b52b396dce 0023118: EDF 11115 SMESH: Hexahedric mesh produces degenerate elements in quadratic conversion.
Improve Hexahedron (i,j,k) to work on composite block with non-continues sub-side FACEs
2015-06-24 18:12:35 +03:00
eap
23d90107ac 0023064: [CEA 1471] Create and support quadratic polygons in SMESH 2015-06-24 12:17:07 +03:00
eap
6dcb33ab2f [HYDRO module - Feature #523] river, channel, embankment meshing 2015-06-15 21:31:23 +03:00
eap
43ce5a9126 IPAL13978: Problem of updating SubMeshes on Face and Compound in Object Browser after compute of mesh
Fix a bug that icons updated starting from the 4th child of mesh object

IPAL13023: To correct alignment for output of "Dump()" functionality.
2015-05-15 21:20:14 +03:00
eap
df9cc07c95 Regression of smesh/mesh_Projection_2D_01/B7
Fix SMESH_MeshEditor::Smooth()

Optimize a bit SMDS_MeshNode::GetInverseElementIterator()

Minimize usage of BRepClass_FaceClassifier in StdMeshers_Import_1D2D::Compute()
2015-05-13 16:03:36 +03:00
eap
22463abfc9 23092: EDF 10836 SMESH: UseExisting2DElements fails when geometry contains more than one face
Decrease 2D tolerance user for UV classification
2015-05-08 18:49:31 +03:00
eap
062d52d5db IPAL52698: Convert to quadratic is wrong (hard periodic surfaces) 2015-05-07 20:57:17 +03:00
eap
83a3c8aef5 52730: Activation of SMESH fails after GEOM group modification
Fix SMESH_Mesh_i::CheckGeomGroupModif()

52731: Exception at export of SEG3 groups
  Fix BUGs concerning Export:
1) Exception at export of the SEG3 group as a separate object.
2) Many formats available in the pop-up menu when several objects selected while only MED and CGNS formats support several meshes in one file.
3) Export of the mesh and its group to the same file results of storage of the group only. Object names are not kept.
2015-05-06 14:30:51 +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
ebb5182963 23061: [CEA 1488] Import 1D-2D fails sometimes in relation with the source face discretization
Fix SMESH_subMesh::ComputeStateEngine() and StdMeshers_Import_1D2D::Compute()

IPAL52572: 1) Wrong bi-quadratic mesh on cylinder, 2) global "Quadratic mesh" hyp not considered on Propagated edges.
  Fix SMESH_MesherHelper::FixQuadraticElements()
  StdMeshers_Regular_1D - wrong PropagationOfDistribution in quadratic mesh

In SMESHGUI_MergeDlg, disable [Detect] if no mesh selected
2015-04-29 20:03:34 +03:00
eap
0b1674e355 23050: EDF 10631 SMESH: Nodes outside the plane after ConvertToQuadratic
Fix regression of mesh_Quadratic_00/B4

IPAL0052709: Projection 1D2D creates faces at a wrong location.
    Problem:  wrong gp_Trsf for partner faces
    Use gp_GTrsf insted of gp_Trsf
2015-04-24 15:51:19 +03:00
eap
e29c1bb636 23050: EDF 10631 SMESH: Nodes outside the plane after ConvertToQuadratic
Fix SMESH_MesherHelper::FixQuadraticElements()

Bug: SIGSEGV in Convert To Quadratic after mesh.Clear() if the previous Convert reported a warning
Bug: Group On Filter with BelongToMeshGroup is not updated if refers to a group with BelongToPlane
2015-04-23 17:24:53 +03:00
eap
8a16cec663 23047: [CEA 1472] Incorrect mesh with Netgen 1D-2D-3D but not reported in error
Fix SMESH_MesherHelper::IsReversedSubMesh()

23046: EDF SMESH Regression: Field "Compare" in filters is not updated anymore
   Make "Compare" empty for all "Belong to ..." criteria

IPAL52693: Viscous layers construction fails with SIGSEGV
   Fix SIGSEGV but bad VL is constructed anyway
2015-04-16 22:07:13 +03:00
eap
dcfc66bbfa 23032: EDF SMESH: Projection 1D-2D fails with Netgen 1D-2D
SIGSEGV in optimize mode on Debian
2015-04-15 19:06:17 +03:00
eap
a713f0b919 23032: EDF SMESH: Projection 1D-2D fails with Netgen 1D-2D
+ 22792: EDF 8159 SMESH: Multi-dimensional extrusion/extrusion along a path/revolution
   1) Enable selection of sub-meshes on groups
   2) Fix preview that was not shown

+ In SMESHGUI/CMakeList, remove includes that never need not be included
2015-04-06 21:07:26 +03:00
eap
c1754b24c3 23033: EDF 10568 SMESH: wrong header when exporting 2D to gmf
Write 'MeshVersionFormatted 2' instead of 'MeshVersionFormatted 3'
  though '3' is strongly recomended by libmesh manual


+ IPAL52653: Some quality controls does not work (SIGSEGV)
2015-04-02 17:48:04 +03:00
eap
b0a962d83d 22573: [CEA 1154] Regression on a blsurf mesh (crash on test_periodicity_LR_ONLY.py)
+ IMP 22264: EDF 2648 GEOM: Propagate edges automatic orientation (fix Number of Segments dlg)
+ bad STL files are written on Windows (reported by YFR)
+ 22874: [CEA 1425] Performance SMESH Module ( refix ~SMESH_Mesh() )
2015-03-31 19:42:12 +03:00
ana
e6d6fd4aa1 Win32 compatibility 2015-03-31 11:21:25 +03:00
eap
0921263864 22874: [CEA 1425] Performance SMESH Module
Fix a leak of PropagationMgrData

+ Do not use volumes for preview of Extrusion
+ Fix a regression: empty groups are not removed with contents
+ avoid too long waiting at creation of hypotheses due to use of
  GEOMUtils::PreciseBoundingBox() in SMESH_Mesh::GetShapeDiagonalSize()
2015-03-27 19:41:20 +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
eap
bb40f7c1d3 IMP 22635: EDF 8345 - Creation of group based on groups
+ allow concatenating sub-meshes and groups
+ fix bugs in PythonDump
2015-03-03 15:03:38 +03:00
eap
066f625a46 52618: Import_1D2D fails to import from a mesh group onto a group of geom faces
+ fix StdMeshers_ViscousLayers.cxx for
http://www.salome-platform.org/forum/forum_14/777944993
2015-02-27 20:38:00 +03:00
eap
fd1943809d 22874: [CEA 1425] Performance SMESH Module
some optimization of Publish...() + doc imp
2015-02-25 20:07:02 +03:00
eap
59912620be 22834: [CEA 1347] Viscous layers: be able to choose the extrusion method (imp_1347_viscous_layers.py)
+ fix some regressions
2015-02-17 16:23:19 +03:00
akl
251f8c052d Copyrights update 2015. 2015-02-13 12:38:36 +04:00
eap
146533380d 22834: [CEA 1347] Viscous layers: be able to choose the extrusion method 2015-02-10 14:14:01 +03:00
ana
25448a41ca windows compatibility 2015-02-04 16:10:10 +03:00
eap
b13aae09cf 22833: [CEA 1346] to extrude a group of faces following the normal of each face
+ Optimize Belong to geom filter
+ Avoid SIGSEGV after re-computing a mesh if showing numbers was ON before
2015-01-23 18:49:49 +03:00
eap
8f3082ad8e 22830: EDF 9557 SMESH: Quadratic conversion of a mesh fails (note 0019010)
Problem with FACE having a bad tolerance
2015-01-22 16:15:34 +03:00
vsr
929ba51821 Merge branch 'master' into V7_5_BR 2015-01-16 15:36:51 +03:00
eap
e2e93f9c31 Fix regression of mesh_Projection_2D_00/A1 test.
The regression is caused by the fix of 22830:
- pair<int, TopAbs_ShapeEnum> pos = GetMediumPos( n1, n2, mySetElemOnShape );
+ pair<int, TopAbs_ShapeEnum> pos = GetMediumPos( n1, n2, useCurSubShape );
2015-01-15 17:52:25 +03:00
vsr
2e9f6a1d33 Merge branch 'master' into V7_5_BR 2015-01-12 13:24:59 +03:00
eap
133cb38139 22830: EDF 9557 SMESH: Quadratic conversion of a mesh fails
In SMESH_MeshEditor copy node positions in Duplicate*()
In SMESH_MesherHelper
- cache face tolerance
- in GetNodeUV() prevent SIGSEGV if a node is on EDGE not belonging to a FACE
- in GetNodeUV() check if a VERTEX is a seam in a given FACE, not in another
- avoid returning myShape from GetMediumPos() when it can be wrong

52592: Invalid values of Length 2D control

- avoid using not initialized values for showing control values of a group
2014-12-29 18:22:30 +03:00
eap
a00f90ebab 22812: EDF 9218 SMESH: An empty group is created when using the duplicate nodes and/or elements 2014-12-08 20:18:59 +03:00
vsr
30415e15ac Issue 0022816: duplicated files
Don't install chrono.hxx file
2014-12-03 14:04:51 +03:00
eap
9933995f6c Projection 2D failure due to incorrect detection of distorted result faces 2014-11-20 16:06:53 +03:00
eap
52d8254953 22806: EDF SMESH: Regression: Prism_3D error
Fix selection of the bottom;
use block approach on simple shapes if swepper detects high bnd error
2014-11-13 18:56:42 +03:00
eap
3ddacb9798 To compute mesh in SALOME_TESTS/Grids/geom/bugs_15/R7
and other tests of "Extrusion 3D" mesher
2014-11-12 18:35:28 +03:00
eap
b905bf1432 22797: EDF 9014 SMESH: Problem with the 3D extrusion algorithm
1) pb with invalid node param on EDGEs after 2D Projection
2) pb of search of source FACEs of the prism
2014-10-31 20:38:10 +03:00
eap
e3e19dc2fa 52567: Transformation operations does not work for Group of Balls
Show at least points in the preview of balls
2014-10-30 19:30:46 +03:00
eap
98115fe1b8 IPAL52557: TC7.5.0: default value in Hypothesis is different in new and saved studies
Use a precise bnd box to find the shape diagonal
2014-10-28 15:37:01 +03:00
eap
ddab513d85 52546: Viscous Layers construction fails
Correct finding normal at a degenerated vertex
2014-10-23 16:40:33 +04:00
eap
82d27750a5 Regression of 21859: Add conversion from QUAD8 to QUAD9 and from HEXA20 to HEXA27 2014-10-20 19:08:24 +04:00
eap
f34d4ca343 Regression of 21397: a quadrangle face mesh can't be projected to a cylinder 2014-10-17 20:26:57 +04:00
eap
65efd98e77 22772: EDF 8916 SMESH: Issue with a quadrangle mesh
Consider edges on period boundary as seam ones
2014-10-10 20:59:37 +04:00
eap
e16f6412db 22770: SMESH: Bi-quadratic mesh convert with medium nodes on geometry 2014-10-10 15:23:38 +04:00
eap
8ff6ebbc15 22711: [CEA 1297] Regression of mesh with a projection on a spherical face
Enable StdMeshers_FaceSide::Value3d() on degenerated EDGEs
2014-09-26 16:24:51 +04:00
imn
f488c3c07d Remove obsolete OCC_VERSION_LARGE defines. 2014-09-26 11:09:09 +04:00
eap
eb22cf46cb 52504: Projection 1D2D fails to project from a half-disk to a half-cone. 2014-09-25 16:25:46 +04:00
eap
214d7e4bdc 22691: [CEA 1279] Regression on test attached with issue 22229 2014-09-15 15:22:28 +04:00
eap
ac69e1629b IPAL52478: Too thin viscous layers are constructed
+ a fix of Mesh dialog for 22483
+ allow white-space-separated IDs for RangeOdIDs filter
+ docs improved
2014-09-09 18:12:47 +04:00
eap
2eeec022d2 IPAL52479: Mixed linear/quadratic mesh is created 2014-08-25 20:41:02 +04:00
eap
ae32dcd34f 22483: EDF 2772 SMESH: Define several 3D viscous layer hypotheses on the same Geometry 2014-08-21 15:15:12 +04:00
eap
811a7a4c17 022484: EDF 2304 SMESH: Reorient a group of faces regarding to a volume 2014-08-11 17:30:26 +04:00
eap
fa9a9581d3 52459: Viscous layers are not normal to the surface.
Smooth internal surface of viscous layer only if elements are small
   comparing to layer thickness.

http://www.salome-platform.org/forum/forum_10/653737804
2014-07-30 18:39:00 +04:00
eap
a1e66f21f0 22656: [CEA 1226] Script blsurf_submesh.py raises an exception
22653: [CEA 1225] RuntimeError at mesh.Compute()

  Regressions fixed
2014-07-24 17:07:27 +04:00
eap
f1013bf724 52457: Addition of hypotheses is 8 time longer than meshing.
More optimization
2014-07-23 20:04:21 +04:00
eap
a3ee66b037 52457: Addition of hypotheses is 8 time longer than meshing. 2014-07-22 16:40:10 +04:00
eap
0086dda865 0052454: Sub-mesh priority is not taken into account 2014-07-18 15:13:16 +04:00
eap
93c3ba77f5 52453: Impossible to get viscous layers on a given shape
Fix for the downloaded SampleCase2-Tet-netgen-mephisto.hdf:
    prevent failure on a 2D mesh including degenerated faces built
    near degenerated EDGEs.
2014-07-17 18:26:33 +04:00
eap
bcfa36bbd0 IPAL52450: Mesh generation fails due to viscous layers 2014-07-16 16:30:28 +04:00
eap
2e43961579 IPAL0052448: Too thin viscous layers are constructed 2014-07-08 20:07:00 +04:00
eap
bd39d7c3ed 52447: Re-compute fails after hypothesis modification 2014-07-08 16:07:52 +04:00
eap
05bdac9259 22633: [CEA 1206] Regression on script 08_composite_hexahedron.py
22632: [CEA 1205] Regresssion on script from CEA formation 11_tui_grille.py
2014-07-08 14:32:33 +04:00
eap
69f064e122 IPAL52444: Viscous Layers and Projection fail 2014-07-07 19:41:18 +04:00
eap
9e3a675848 IPAL52438: Projection 2D fails
Merge w/o parameter check if nb of existing and new nodes is same
2014-07-03 16:09:34 +04:00
eap
fb5ce7193e 22599: EDF 8159 SMESH: Bad groups created by extrusion
Attemp no.2
2014-05-29 18:12:12 +04:00
eap
a4f4aea846 22599: EDF 8159 SMESH: Bad groups created by extrusion 2014-05-29 17:34:47 +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
eap
2c50a35a86 22582: EDF 8036 SMESH: ConvertToQuadratic fails with theForce3d off
Fix force3DOutOfBoundary()
2014-05-21 15:35:24 +04:00
eap
c85da25c70 52426, 22582: EDF 8036 SMESH: ConvertToQuadratic fails with theForce3d off
For ConvertToQuadratic: fix a case with a seam edge located not at zero parameter
 For Viscous layers: fix getting normal at a corner classified as 'Reversed' (+-PI)
2014-05-21 14:48:00 +04:00
eap
e2c7e8b8f4 Remove useless traces 2014-04-30 15:04:46 +04:00
eap
1071ba77da 22568: [CEA 1151] ConvertToQuadratic does not work if a face was not assigned with elements
Case: both nodes of a segment are on non-connected VERTEXes
2014-04-23 15:21:09 +04:00
eap
3f0822bd99 Regression SALOME_TESTS/Grids/smesh/viscous_layers_00/A1 2014-04-22 19:46:18 +04:00
eap
17c25b0d25 22563: EDF SMESH: Regression with Projection_2D on Salome_master/OCCT_6_7_1_beta
Be more tolerant when looking for existing nodes on EDGE
2014-04-17 14:12:21 +04:00
ana
e66a037179 Win32 compatibility 2014-04-16 18:00:06 +04:00
eap
9014427e5f 22316: EDF 2719 SMESH: Split hexas into prisms
Fix front-back method
2014-04-16 14:39:44 +04:00
eap
cc45ac3c82 22542: [CEA 1129]Convert to biquadradic creates a node ouside an element if mesh has no CAD
Fix quadratic->biquadratic w/o geometry
2014-04-03 21:01:55 +04:00
eap
cb88fa5e41 22541: [CEA 1127] Going quadratic with nodes on the geometry produces overlaping mesh
fix for a quad-dominant mesh
2014-04-02 14:27:50 +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
9ab3722c1b 22487: EDF 2778 SMESH: Add a GUI for the flat elements generation 2014-03-19 18:29:49 +04:00
eap
375935ef89 Fix a regression introduced by IMP 22316: EDF 2719 SMESH: Split hexas into prisms 2014-03-13 22:17:11 +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
590f139ee4 22502: [CEA 1070] "Convert to quadratic" does not work if some edges are not set by some elements during meshing
Fix a case of a node on VERTEX not belonging to EDGE the segment of node is on
2014-03-04 16:04:11 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
dcc7add229 Forum: Quadrangle meshing of surface with 3 edges
There can be degenerated EDGEs in non-closed and non-periodic FACEs
2014-02-17 13:55:35 +04:00
eap
f55c997d2e fix indentation 2014-01-20 10:45:36 +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
072a73120b Merge from V7_3_BR (09/01/2014) 2014-01-09 14:20:44 +00:00
vsr
2cd148d066 Merge from V7_3_BR branch 18/12/2013 2013-12-18 15:08:18 +00:00
eap
5cdfcba279 More safety
-        if ( l_d->first->IsDeletable() )
+        if ( l_d->first != listener && l_d->first->IsDeletable() )
2013-11-26 13:33:52 +00:00
eap
d5b3009987 - static bool isStraight( const TopoDS_Edge & E, const bool degenResult=false );
+  static bool IsStraight( const TopoDS_Edge & E, const bool degenResult=false );
2013-11-22 13:17:22 +00:00
eap
0280d2e6a7 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
Fix "int WrapIndex(const int ind, const int nbNodes)" for ind=-4 and nbNodes=4
2013-11-22 12:34:45 +00:00
eap
45b939fb48 Regression SALOME_TESTS/Grids/smesh/3D_mesh_HEXA3D_00/C2
Fix GetAngle() to take Orientation() of input edges as is and not
using GetSubShapeOri() which is wrong for the seam edge
2013-11-18 14:55:27 +00:00
eap
bfcfbc1ba9 Prevent failure if a degenerated EDGE is not meshed 2013-11-15 10:20:33 +00:00
eap
66f244f657 Enable canceling Compute 2013-11-14 14:25:12 +00:00
eap
7ba5d8000f 022398: EDF 2783 SMESH: No end with viscous layer computation
1) Fix CheckNodeU() for unfinite U and NURBS curve
2)
+  static double GetAngle( const TopoDS_Edge & E1, const TopoDS_Edge & E2, const TopoDS_Face & F);
2013-11-12 14:48:16 +00:00
eap
56fa701d47 022398: EDF 2783 SMESH: No end with viscous layer computation
+  static double GetAngle( const TopoDS_Edge & E1, const TopoDS_Edge & E2, const TopoDS_Face & F);
2013-11-12 14:46:58 +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
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
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
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
8b3847f1af Fix warning
unused variable 'ielem'
2013-09-27 07:54:54 +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
vsr
9be2f33e68 Fix linkage problem 2013-09-12 06:56:51 +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
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
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
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
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
3939500c74 In ExportMED() use SMESH_TRY to normally transfer exceptions from the driver 2013-08-14 12:34:41 +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
eap
5f791c80a4 Optimize cleanSubMesh( SMESH_subMesh * subMesh ) a bit 2013-08-08 12:38:25 +00:00
eap
e97c496f7d 0022297: BR_new_bop3/Occdev_3f4689a163 => Faces are missing after an extrusion
Fix ConvertToQuadratic(): do not convert twice quadratic volumes
2013-08-08 12:36:02 +00:00
eap
9a4f5e4852 progress bar: fix for viscous layers 2013-08-05 12:30:05 +00:00
prascle
ef59152514 PR : merge from V7_2_1p1
memory leaks, bug in import 1D for cracks
M src/SMDS/SMDS_UnstructuredGrid.cxx
M src/SMESH/SMESH_MeshEditor.cxx
M src/SMESH/SMESH_MesherHelper.cxx
M src/SMESHUtils/SMESH_MeshAlgos.cxx
M src/SMESHUtils/SMESH_MeshAlgos.hxx
M src/SMESHUtils/SMESH_Octree.hxx
M src/SMESHUtils/SMESH_Tree.hxx
M src/SMESH_PY/smeshstudytools.py
M src/StdMeshers/StdMeshers_Import_1D.cxx
2013-08-03 11:11:12 +00:00
eap
04fe81eb47 SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
http://www.salome-platform.org/forum/forum_10/998544058

 class SMESH_2D_Algo
 {
+  /*!
+   * \brief Method in which an algorithm generating a structured mesh
+   *        fixes positions of in-face nodes after there movement
+   *        due to insertion of viscous layers.
+   */
+  virtual bool FixInternalNodes(const SMESH_ProxyMesh& mesh,
+                                const TopoDS_Face&     face);
2013-07-31 11:21:55 +00:00
eap
09020c0206 fix a comment 2013-07-31 11:18:51 +00:00
rnc
094287b4df BUG: EDF 2655: Hexa splitting into tetra low performance
A better fix has been found by improving the getNextFree() method in ObjectPool.hxx. When there is no "hole" in the ID list we don't iterate on the _freeList to find the next free ID. We jump straight to the last occupied ID.
This fix is simpler and can benefit to other methods of SMESH_Editor like QuadTo4Tri for example.
2013-07-22 08:46:57 +00:00
rnc
3f3beb8b95 BUG: EDF 2655: Low performance of hexa to tetra splitting
The whole procedure performance was almost O(n^2) due to insertion of for example 5 elements in a mesh with a free ID at the beginning. The second element is then inserted with a O(n) complexity.
The hexas are now removed after all tetra insertions, which guarantees a O(n) complexity for the whole procedure at a limited memory cost (transient additional cost of 1/5 of total memory occupation at the end).
2013-07-19 16:01:27 +00:00
eap
e7dbe802e0 22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
Some decorations in ExtrusionAlongTrack()
2013-07-16 14:30:30 +00:00
eap
c96730d0aa Compute Progress bar 2013-07-09 11:59:40 +00:00
eap
42d136bcdc Compute Progress bar
+  bool DependsOn( const SMESH_subMesh* other ) const;
+  int                   _realComputeCost; // _computeCost depending on presence of needed hypotheses
2013-07-09 11:59:18 +00:00
eap
a311b5af11 Compute Progress bar
-  int& GetComputeCost() { return _computeCost; }
+  std::vector<SMESH_subMesh*>& SubMeshesToCompute() { return _smToCompute; }
2013-07-09 11:58:41 +00:00
eap
e0f019ccf9 Compute Progress bar: ignore sub-meshes that are NOT_READY to compute 2013-07-08 11:27:16 +00:00
eap
8ead976689 Compute Progress bar
SMESH_subMeshIteratorPtr getDependsOnIterator(const bool includeSelf,
-                                                const bool complexShapeFirst) const;
+                                                const bool complexShapeFirst=false) const;

+  int GetComputeCost() const;

   TopoDS_Shape getCollection(SMESH_Gen * theGen,
                              SMESH_Algo* theAlgo,
                              bool &      theSubComputed,
                              bool &      theSubFailed,
+                             int  &      theComputeCost);

+  int                   _computeCost; // how costly is to compute this sub-mesh
2013-07-03 16:12:38 +00:00
eap
ffa2f0be82 Compute Progress bar
+  double GetComputeProgress() const;
+  SMESH_Hypothesis * GetHypothesis(const int aHypID) const;
2013-07-03 16:10:31 +00:00
eap
1481fb61da - std::map < int, SMESH_Algo * >_mapAlgo;
-  std::map < int, SMESH_0D_Algo * >_map0D_Algo;
-  std::map < int, SMESH_1D_Algo * >_map1D_Algo;
-  std::map < int, SMESH_2D_Algo * >_map2D_Algo;
-  std::map < int, SMESH_3D_Algo * >_map3D_Algo;
2013-07-03 16:09:54 +00:00
eap
fad96c2870 Compute Progress bar
+  virtual double GetProgress() const;
+  double GetProgressByTic() const;
+  int& GetComputeCost() { return _computeCost; }

+  int           _computeCost;     //!< "compute cost" of shapes being Compute()d
+  int           _progressTic;     //!< counter of calls from SMESH_Mesh::GetComputeProgress()
+  double        _progress;        //!< progress of Compute() [0.,1.]
2013-07-03 16:09:28 +00:00
eap
dbf60372a6 CoTech decision: move MEDWrapper from MED to SMESH
-	$(MED_CXXFLAGS) \

+	-I$(srcdir)/../MEDWrapper/Base \
2013-06-24 10:07:19 +00:00
eap
9a93fe49f9 0022229: [CEA 829] Error "Edge multiple times in surface mesh"
Fix IsReversedSubMesh(), avoid getting uv on a faces at a singularity
point of sphere
2013-06-11 10:24:55 +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
973402fcd3 avoid compilation warnings in release mode 2013-06-05 09:39:43 +00:00
eap
a77a5a1a51 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

Make const GetNodeU()
2013-06-04 14:58:08 +00:00
eap
e884e4cd7e 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
Choose a compute event (COMPUTE or COMPUTE_SUBMESH) depending on an
explicit parameter aShapeOnly.

   bool Compute(::SMESH_Mesh &        aMesh,
                const TopoDS_Shape &  aShape,
+               const bool            aShapeOnly=false,
                const bool            anUpward=false,
                const ::MeshDimension aDim=::MeshDim_3D,
                TSetOfInt*            aShapesId=0);
2013-05-29 15:29:19 +00:00
eap
fec22e7699 0022108: EDF 2547 SMESH: Duplicate elements only
1)
+  void DoubleElements( const TIDSortedElemSet& theElements );

2)
+  template < class ELEM_SET >
+  SMDS_ElemIteratorPtr elemSetIterator( const ELEM_SET& elements );
2013-05-28 16:42:11 +00:00
eap
9d998b2291 0022108: EDF 2547 SMESH: Duplicate elements only
+  void DoubleElements( const TIDSortedElemSet& theElements );
2013-05-28 16:41:32 +00:00
eap
6b2c537fcd 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
int GetHypotheses(const TopoDS_Shape &                aSubShape,
                   const SMESH_HypoFilter&             aFilter,
                   list <const SMESHDS_Hypothesis * >& aHypList,
                   const bool                          andAncestors,
+                  list< TopoDS_Shape > *              assignedTo=0) const
2013-05-27 14:01:40 +00:00
eap
fce384ca68 Fix a typo nagate -> negate 2013-05-27 14:00:27 +00:00
eap
6a6b89f677 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
Fix checkConformIgnoredAlgos() to prevent warning on hiding a local
algo by a local all-dimensional algo of upper dim.
2013-05-27 13:59:56 +00:00
eap
4443257370 Make const GetAppliedHypothesis() and GetUsedHypothesis() 2013-05-27 13:56:30 +00:00
eap
10a6101340 0022172: [CEA 790] create the groups corresponding to domains
1) Reset _algo = 0 if ( event == REMOVE_ALGO || event == REMOVE_FATHER_ALGO )

2) Avoid erasing _computeError holding a WARNING is algo->Compute() returns true

-          if ( !_computeError || ( !ret && _computeError->IsOK() ) )
+          if ( !_computeError || (/* !ret && */_computeError->IsOK() ) )
             _computeError = algo->GetComputeError();

3) Fix notifyListenersOnEvent():

-      if ( !isDeletable || !_eventListeners.count( li_da.first ))
+      if ( !isDeletable || _eventListeners.count( li_da.first ))
         li_da.first->myBusySM.erase( this ); // a listener is hopefully not dead
2013-05-24 11:46:27 +00:00
eap
751d20eca2 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
+  void QuadTo4Tri (TIDSortedElemSet & theElems);
2013-05-22 14:58:32 +00:00
eap
8506f58d10 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
Fix position of a central node of a distorted bi-quadratic triangle

+   * \brief Return UV for the central node of a biquadratic triangle
+   */
+  static gp_XY GetCenterUV(const gp_XY& uv1,
+                           const gp_XY& uv2,
+                           const gp_XY& uv3,
+                           const gp_XY& uv12,
+                           const gp_XY& uv23,
+                           const gp_XY& uv31,
+                           bool *       isBadTria=0);
2013-05-22 14:58:06 +00:00
eap
46654775eb In GetSubMesh(), assure calling fillAncestorsMap() for each compound
(take into account that a compound can be added to SMESHDS_Mesh at
creation of group on geometry)
2013-05-20 09:11:12 +00:00
eap
96862daa25 arrange #include 2013-05-16 16:29:29 +00:00
eap
098ecf81c2 0022100: EDF 2413 SMESH: Take into account TRIA7
+  const SMDS_MeshNode* GetCentralNode(const SMDS_MeshNode* n1,
+                                      const SMDS_MeshNode* n2,
+                                      const SMDS_MeshNode* n3,
+                                      const SMDS_MeshNode* n12,
+                                      const SMDS_MeshNode* n23,
+                                      const SMDS_MeshNode* n31,
+                                      bool                 force3d);
2013-05-16 16:28:40 +00:00
eap
664ae5e033 1) 0022100: EDF 2413 SMESH: Take into account TRIA7
2) 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

Move SMESH_ElementSearcher to from SMESH/SMESH_MeshEditor.hxx SMESHUtils/SMESH_MeshAlgos.hxx
in order to make SMESH_ElementSearcher accessible from Controls/SMESH_Controls.cxx

-struct SMESH_NodeSearcher
-{
-struct SMESH_ElementSearcher
-{
-  SMESH_NodeSearcher* GetNodeSearcher();
-  SMESH_ElementSearcher* GetElementSearcher();
-  SMESH_ElementSearcher* GetElementSearcher( SMDS_ElemIteratorPtr elemIt );
-  static bool IsOut( const SMDS_MeshElement* element, const gp_Pnt& point, double tol );
-  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );
-  static const SMDS_MeshElement* FindFaceInSet(const SMDS_MeshNode*    n1,
2013-05-16 16:27:06 +00:00
eap
68683b462f 0022100: EDF 2413 SMESH: Take into account TRIA7
+  int NbBiQuadTriangles() const throw(SALOME_Exception);
2013-05-16 16:23:11 +00:00
eap
36f9a5cb34 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
Move SMESH_ElementSearcher to from SMESH/SMESH_MeshEditor.hxx SMESHUtils/SMESH_MeshAlgos.hxx
in order to make SMESH_ElementSearcher accessible from Controls/SMESH_Controls.cxx

-  static bool FaceNormal(const SMDS_MeshElement* F, gp_XYZ& normal, bool normalized=true);
-  static std::vector< const SMDS_MeshNode*> GetCommonNodes(const SMDS_MeshElement* e1,
-                                                           const SMDS_MeshElement* e2);
2013-05-16 16:22:25 +00:00
eap
89682777f7 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
Fix notifyListenersOnEvent() for the case of removing an EventListener (attempt No.2)
2013-04-29 14:18:32 +00:00
eap
36550205e6 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
Fix notifyListenersOnEvent() for the case of removing an EventListener
2013-04-29 12:00:40 +00:00
eap
55e345e578 Regression of SMESH_TEST/Grids/smesh/imps7/H6
Unreachable deep idea

           bool subComputed = false, subFailed = false;
           if (!algo->OnlyUnaryInput()) {
-            if ( event == COMPUTE &&
-                 ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() ))
+            if ( event == COMPUTE /*&&
+                 ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )*/)
               shape = getCollection( gen, algo, subComputed, subFailed );
             else
               subComputed = SubMeshesComputed( & subFailed );
2013-04-26 15:53:34 +00:00
eap
65c45fcb35 Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
Fix the ensuring stability of SMESH_MeshEditor::makeWalls().
2013-04-26 11:47:26 +00:00
eap
85cd604381 Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
To assure stability of makeWalls(), use maps sorted by ID, that are
declared in SMESH_TypeDefs.hxx

-typedef map<const SMDS_MeshElement*, list<const SMDS_MeshNode*> >    TElemOfNodeListMap;
-typedef map<const SMDS_MeshElement*, list<const SMDS_MeshElement*> > TElemOfElemListMap;
2013-04-24 12:59:33 +00:00
eap
b0fed15261 Regression of already fixed
0021406: EDF 1975 NETGENPLUGIN: Submesh hypothesis not taken into account

Correct the patch for
0021556: EDF 2222 SMESH: 3D mesh after projection impossible

-        smWithAlgoSupportingSubmeshes[0].push_back( shDim2smIt->second );
+        smWithAlgoSupportingSubmeshes[3].push_back( shDim2smIt->second );
2013-04-15 10:48:46 +00:00
vsr
ae86d2a1ab Merge from V6_main 12/04/2013 2013-04-12 14:40:29 +00:00
prascle
9c2ce3dffb PR: debug G. Nicolas (EDF 1967) 2013-04-05 15:19:53 +00:00