Commit Graph

441 Commits

Author SHA1 Message Date
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
ana
57c804a2bf fix previous wrong integration 2015-05-07 12:35:19 +03:00
ana
fc0c585f17 Windows compatibility 2015-05-07 12:16:49 +03:00
eap
26862b255f Fix regressions bugs_14/P9 (Prism 3D) and bugs_19/X1 (Projection 2D) 2015-05-06 20:05:12 +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
03fce5b491 23056: EDF SMESH Regression: Projection fails 2015-04-27 18:10:46 +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
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
b8fd583be5 Regression of 21397: EDF SMESH: a quadrangle face mesh can't be projected to a cylinder
+ 52675: Viscous Layers construction fails with certain hypotheses
    Fix normal to be well visible from all faces -> thickness reaches 0.0007
2015-04-09 21:07:54 +03:00
eap
80e28740d3 23036: [CEA 1459] Regression projection 1D2D
+ Fix Pb: SIGSEGV in StdMeshers_Prism_3D::IsApplicable() on the shape of 23036
+ Fix Pb: "Projection 3D" algo is available in Create mesh dlg on the shape of 23036
+ Add debug trace in case of exceptions in IsApplicable()
+ Fix 52667: SIGSEGV at attempt to create mesh without Geometry when setting hypothesis
2015-04-07 20:39:18 +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
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
a74e2f9cac Fix regressions
viscous_layers_00/A4
viscous_layers_00/B2
2015-02-18 15:56:29 +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
eap
51b0f28786 52609: Geometric progression works wrong with "Reversed edges" option used + Propagation
+ BUG: Lying on Geom filetr works wrong with Geom Group
+ BUG: Too long opening of Mesh Info dlg of a small sub-mesh in a large mesh
2015-02-03 13:43:25 +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
3cc259fbef Bug: unable to create LocalLength hyp for a sub-mesh on a shape with a degenerated edge 2014-12-03 17:28:30 +03:00
eap
9933995f6c Projection 2D failure due to incorrect detection of distorted result faces 2014-11-20 16:06:53 +03:00
eap
b73d2603ed IPAL16934: Selection works incorrectly if Source and Target Vertices in Projection 1D are the same vertex.
1) BUG: impossible to use shared vertices for vertex association in Projection Source hyps
2) Regression: Order of Sub-meshes dialog dialog does not appear when a sub-mesh is created
2014-11-19 16:18:58 +03:00
eap
b9986eb294 22808: EDF SMESH: Regression with 3D Extrusion/ViscousLayers in Salome V7_5_BR 2014-11-18 13:08:18 +03:00
eap
bff3771eab 22526: SMESH 2864 - Projection and Extrusion
Make attempts to fix the projected mesh using smoothing in case of non-homothetic
  source and target faces
2014-11-14 20:23:20 +03:00
eap
380c397cfd Regression of 0022150 (SALOME_TESTS/Grids/smesh/mesh_Projection_2D_00/B2) 2014-11-14 13:50:08 +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
36f660ae42 52568: Quadrangle (Mapping) differently meshes equal L-shaped faces.
Take into account number of segments when selecting corners among multiple vertices
2014-11-06 20:11:51 +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
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
7432636e86 Regression of bugs_13/N9 2014-10-24 18:01:50 +04:00
eap
70a8be5273 Regression of viscous_layers_00/B2 2014-10-23 18:00:31 +04:00
eap
ddab513d85 52546: Viscous Layers construction fails
Correct finding normal at a degenerated vertex
2014-10-23 16:40:33 +04:00
eap
3ba242025d 52548: Set filter on standalone group of edges does't work
2) Allow passing a geom group as faces arg of ViscousLayers()
3) Prevent crash of Adaptive hyp when only degenerated EDGEs leave not meshed
2014-10-23 12:21:14 +04:00
eap
54f2672f6a 22787: [CEA 1320] Regression of test $SMESH_ROOT_DIR/bin/salome/SMESH_reg.py
Add namespace StdMeshers to StdMeshers_Distribution.* in order to avoid
clashing with FunctionExpr from paraview-4.2/libvtkvisitcommon-pv4.2.so.1
2014-10-17 21:16:35 +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
10aa0585bd Fix regressions
mesh_Projection_2D_00/A4
 imps_09/K2
2014-10-01 21:09:19 +04:00
eap
079e65a9b1 22711: [CEA 1297] Regression of mesh with a projection on a spherical face
In fixDistortedFaces() care of face planarity and degenerated edges
2014-09-29 15:50:55 +04:00
eap
f39630902e 22710: [CEA 1296] Regression of a MG-CADSurf mesh with face projection 2014-09-26 19:28:51 +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
54ea8ad8bb Regression of doc/salome/examples/prism_3d_algo.py
Protection against an infinite loop in StdMeshers_Prism_3D::getWallFaces()
2014-09-25 18:01:50 +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
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
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
52f164fb65 Fix a regression: Errors of hypothesis definition are not shown in GUI 2014-08-27 19:16:07 +04:00
eap
05a38ac54e Fix regressions
1D_mesh_LocalLength_00/A4
bugs_03/D5,D6
bugs_05/F8
bugs_19/X1
2014-08-26 15:58:38 +04:00
eap
2246612bb5 Fix regressions
3D_mesh_Extrusion_00/A6
3D_mesh_Polyhedrons_00/A2,A3
groups_07/H1
imps_06/G0
imps_07/H2,H4,H5,H7
imps_08/I5
2014-08-22 21:16:01 +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
d8557600d9 22658. Avoid unnecessary merge of pyramids at hex-tet interface 2014-08-06 15:23:38 +04:00
eap
1eb7dc9cd0 0052474: Body Fitting with "Implement Edges"=ON crashes SALOME
Fix sortVertexNodes() for the case of a FACE with several WIREs
2014-08-04 17:37:39 +04:00
eap
de78fd2b92 5252428: Viscous Layers 2D creates badly shaped quadrangles on a circle 2014-08-04 14:56:27 +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
36c9ad01c3 0052461: Viscous layers 2D on Cone 2014-07-28 18:59:52 +04:00
rnv
f5f41a4c46 Porting to the new version of the OCCT 2014-07-24 11:52:03 +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
4523366f9f Port to a new OCCT 2014-07-23 15:43:27 +04:00
eap
f3ce9fcd40 Fix crash at study closing. Enable canceling Prism 3D computation 2014-07-22 18:57:36 +04:00
eap
a3ee66b037 52457: Addition of hypotheses is 8 time longer than meshing. 2014-07-22 16:40:10 +04:00
eap
9bfa6616ba 52456: Propagation does not work 2014-07-18 20:23:31 +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
13ff035dac 52453: Impossible to get viscous layers on a given shape
Fix a problem of getting normal of a specific FACE
2014-07-17 15:18:34 +04:00
rnv
a6c877f633 Remove last wrong commits. 2014-07-16 17:43:58 +04:00
imn
80fe1ddefc Add “Grading” parameter to Adaptive 1D hypothesis 2014-07-16 16:43:20 +04:00
eap
bcfa36bbd0 IPAL52450: Mesh generation fails due to viscous layers 2014-07-16 16:30:28 +04:00
skv
d9faba6c84 OCCT dev version porting (6.7.2) 2014-07-09 17:36:23 +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
69f064e122 IPAL52444: Viscous Layers and Projection fail 2014-07-07 19:41:18 +04:00
eap
7a9f9e2e46 IPAL52439: 3D Extrusion creates distorted volumes
Fix for a case with a sole wall face
2014-07-03 19:06:08 +04:00
eap
6440fc57c2 22613: EDF 8419 SMESH: 1d hypothesis is not applied correctly with 3Dextrusion
Project vertical distribution only if (1) no hyp defined or (2) defined hyp
  provides incorrect nb of segments.
2014-06-30 16:07:18 +04:00
eap
4f556d6514 22580: EDF 8049 SMESH: Problems with viscous layer
+ some fixes for ~/salome/Files/Studies_FROM_BUGS/VL_Usecase2.hdf

  1) Prevent negative volumes caused by smooth on curvature
  2) Add EDGEs to smooth in updateNormals()
  3) Fix too high _stepSize causing failure of smoothing on FACEs
  4) Correct finding EDGEs needing smooth
  5) Fix AddShapeToSmooth(), FindIntersection(), updateNormals(), SegTriaInter()
2014-06-27 16:28:50 +04:00
eap
c365f36e98 Regression of SALOME_TESTS/Grids/smesh/viscous_layers_00/A6 2014-05-30 16:11:45 +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
6cd71fc31b http://www.salome-platform.org/forum/forum_10/862540672 Invalid input mesh. Unexpected computed submesh 2014-05-23 19:30:14 +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
e430c16626 Fix a crash on geometry of http://www.salome-platform.org/forum/forum_10/670730490 2014-05-14 13:17:58 +04:00
eap
050aa87698 http://www.salome-platform.org/forum/forum_10/450300019
Pb: entangled prisms are created on a face shared by solids where
VL have different thickness due to different size of solids

Test SALOME_TESTS/Grids/smesh/viscous_layers_00/A5
2014-05-13 18:49:32 +04:00
eap
9d93189fdb 22580: EDF 8049 SMESH: Problems with viscous layer
Pb on a fillet at a large first inflation step
2014-05-08 14:13:27 +04:00
eap
5e83e1e8e9 22580: EDF 8049 SMESH: Problems with viscous layer
Pb with a fillet w/o in-face nodes
2014-05-07 21:26:15 +04:00
eap
fe7ac04c45 http://www.salome-platform.org/forum/forum_10/537530484
Problem of finding a normal at a VERTEX where more than 2 FACEs meet
2014-05-05 21:22:50 +04:00
eap
a483336704 Regression SALOME_TESTS/Grids/smesh/imps_00/A1
More fix for degenerated EDGE
2014-04-30 15:40:55 +04:00
eap
8b786444b7 SALOME_TESTS/Grids/smesh/2D_mesh_QuadranglePreference_00/A1
Fix for degenerated EDGEs
2014-04-29 20:33:11 +04:00
eap
4a8521d5db SALOME_TESTS/Grids/smesh/mesh_Projection_2D_00/A0
Attempts to mesh a difficult shape
2014-04-29 16:09:10 +04:00
eap
1c75225c81 SALOME_TESTS/Grids/smesh/mesh_Projection_2D_00/A0
Allow different nb of EDGEs on the prism top and bottom
2014-04-28 18:44:07 +04:00
eap
e4f3043d7d SALOME_TESTS/Grids/smesh/mesh_Projection_2D_00/A0
Fix association EDGE <-> closed EDGE
2014-04-28 17:41:59 +04:00
eap
ba2a04ef34 SALOME_TESTS/Grids/smesh/mesh_Projection_2D_00/A0
Fix getCorners() for a closed split EDGE
2014-04-28 17:09:09 +04:00
eap
a913b7ad54 22576: EDF 8029 SMESH: Bug with 3D viscous layer
Add more smoothing loops after fixing all bad faces
2014-04-28 15:07:53 +04:00
eap
9c9403c272 SALOME_TESTS/Grids/smesh/mesh_Projection_2D_00/A0
Add association of FACEs with one EDGE in the outer WIRE
2014-04-25 21:53:19 +04:00
eap
b1f58b701e Regression of SALOME_TESTS/Grids/smesh/imps_09/K2 2014-04-24 20:06:54 +04:00
eap
136e10ec81 22572: [CEA 1148] Radial Quadrangle does not create quadratics cells 2014-04-24 17:35:15 +04:00
eap
c7a08e2f42 Regression of SALOME_TESTS/Grids/smesh/2D_mesh_QuadranglePreference_01/B0 2014-04-23 21:20:59 +04:00
eap
3f0822bd99 Regression SALOME_TESTS/Grids/smesh/viscous_layers_00/A1 2014-04-22 19:46:18 +04:00
eap
71bd4d3344 SALOME_TESTS/Grids/smesh/bugs_07/H5
Use 5 < angles < 85 degrees to find out a correct orientation
2014-04-21 13:17:46 +04:00
eap
cf9ef32c50 SALOME_TESTS/Grids/smesh/bugs_07/H5
Do not use angles < 5 degrees to find out a correct orientation
2014-04-17 21:05:20 +04:00
eap
faaf2eee1d SALOME_TESTS/Grids/smesh/bugs_03/D9
In updateDegenUV(), set same nb of segments on a degenerated EDGE
    NOT only at standard transition, to avoid failure because of
    "Inverted elements generated" reported for zero-area triangles.
2014-04-17 20:46:23 +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
9c53b386de 22536: EDF 2876 SMESH : Problem with BodyFitting
fix for a case of cylinder on a box
2014-04-17 14:04:29 +04:00
eap
0de979b494 22313: EDF 2538 SMESH: Face with layers with ViscousLayer3D Hypothesis
Avoid diagonal inversion of trias of different FACEs
2014-04-16 15:26:37 +04:00
eap
479bf562b6 22539: [CEA 1126] Quadrangle mapping produces a non conform mesh
Add warning on a bad quality quad
2014-04-15 13:11:33 +04:00
eap
64b2fcfed1 22526: SMESH 2864 - Projection and Extrusion
1) Set warning mesh icon if the mesh is computed with hyp errors.
2) When edit mesh, get name of geometry from the study directly (not SO -> GEOM_Object -> SO -> name ).
3) Prevent an exception when projecting faces with many holes.
2014-04-07 15:45:23 +04:00
eap
86a1fe792f 22536: EDF 2876 SMESH : Problem with BodyFitting
fix regression on doc/salome/examples/cartesian_algo.py
2014-04-07 12:54:17 +04:00
eap
878b3315d9 22536: EDF 2876 SMESH : Problem with BodyFitting
care of handedness of primitive shapes
2014-04-04 15:57:08 +04:00
eap
54a7f4b412 22539: [CEA 1126] Quadrangle mapping on produces a non conform mesh
fix for a case of few (1-2) nb of side divisions
2014-04-03 19:39:48 +04:00
rnv
df5faa3c63 Compilation on Windows platform. 2014-03-28 15:41:31 +04:00
eap
f90e1ea49e 22516: [CEA 1075] Quadrangle mapping produces a bad mesh without raising error
For a case of a FACE with only concave corners.
2014-03-20 14:43:30 +04:00
eap
b56d0083b9 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges
new version
2014-03-19 22:06:53 +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
38ef3e316c Regression SALOME_TESTS/Grids/smesh/3D_mesh_NETGEN_02/C7
Box with composite sides is acceptable
2014-03-14 14:26:49 +04:00
eap
076deefb2b Regression of SALOME_TESTS/Grids/smesh/2D_mesh_QuadranglePreference_00/A8 2014-03-14 14:05:05 +04:00
eap
28140bb1c8 22507: EDF 2845 SMESH : regression with 3D extrusion algo
Fix a case of a triangular base FACE with a sole triangular element
2014-03-11 17:33:49 +04:00
eap
457be09338 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
Minor fixes
2014-03-03 15:00:39 +04:00
imn
e26ffcc005 0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
0022365: EDF SMESH: Create Mesh dialog box improvement: hide algorithms depending on a mesh type
2014-02-28 18:58:28 +04:00
eap
afed1e3409 22360]: EDF SMESH: Body Fitting algorithm: incorporate edges
Fix a case with vertex falling on a facet and not used at facet construction
2014-02-27 11:53:03 +04:00
eap
f34590a67f 22364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
1) Some optimization
2) Implement StdMeshers_Prism_3D::IsApplicable()
2014-02-25 18:54:34 +04:00
imn
6aea23b893 0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms/hypotheses
0022365: EDF SMESH: Create Mesh dialog box improvement: hide algorithms depending on a mesh type
2014-02-21 12:25:11 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
790cad1c40 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges
Treat tangent transition at the 1st link node
2014-02-20 12:58:43 +04:00
eap
8585067de8 0022360: EDF SMESH: Body Fitting algorithm: incorporate edges 2014-02-14 19:31:40 +04:00
eap
86aa8ad014 22359: Body Fitting algorithm: grid orientation 2014-02-14 16:09:40 +04:00
eap
d9b7053864 0022362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vortices
Create GUI
2014-02-14 15:53:14 +04:00
eap
cc9e7d5442 22358: EDF SMESH: Body Fitting algorithm: origin point of grid defined by spacing 2014-02-04 15:51:49 +00:00
eap
b416ea5c24 22359: Body Fitting algorithm: grid orientation
+  ${GEOM_INCLUDE_DIRS}

+  ${GEOM_GEOMUtils}
2014-02-04 13:06:41 +00:00
eap
cd3ffac3fa 22359: Body Fitting algorithm: grid orientation
22358: Body Fitting algorithm: origin point of grid defined by spacing
2014-02-04 13:02:26 +00:00
eap
fee6909125 22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
1) enable recursive calls from StdMeshers_ViscousLayers2D::Compute( aMesh, F );
2) fix computeQuadDominant() for a case of triangles on 2 sides
3) do not use triaVertex for a quadrangle FACE
2014-01-31 13:43:11 +00:00
eap
ae475d83da 22473: EDF 2825 SMESH: Memory allocation problem with ViscousLayer2D
Use _noShrinkVert
2014-01-31 13:40:41 +00:00
eap
f202478154 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix for a case of http://www.salome-platform.org/forum/forum_10/863809970#478269857
2014-01-23 12:46:37 +00:00
eap
e12cb3f8c3 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix recursive case of computeQuadPref()
2014-01-20 16:39:00 +00:00
eap
a406fd6793 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
fix for recursive call of computeQuadPref()
2014-01-15 10:27:00 +00:00
vsr
f7aba4830d Merge from BR_imps_2013 14/01/2014 2014-01-15 09:41:17 +00:00
vsr
2cd148d066 Merge from V7_3_BR branch 18/12/2013 2013-12-18 15:08:18 +00:00
eap
d9d385cc06 22419: EDF SMESH Regression: 3D Extrusion fails
FaceQuadStruct::Ptr CheckNbEdges(SMESH_Mesh&         aMesh,
                                    const TopoDS_Shape& aShape,
+                                   const bool          considerMesh=false);
2013-11-27 10:00:34 +00:00
eap
06236fdb5a 22362: EDF SMESH: Quadrangle (mapping) algorithm: enforced vertices
+   * \brief Create a side from an UVPtStructVec
+   */
+  StdMeshers_FaceSide(UVPtStructVec& theSideNodes);
2013-11-26 13:30:21 +00:00
eap
eeb8567ff9 Fix CheckNbEdges() for a FACE with a closed EDGE 2013-11-26 13:29:36 +00:00
eap
d0bcfa9ea1 Fix access to NULL quad 2013-11-26 12:26:45 +00:00
eap
5f7b45e582 http://www.salome-platform.org/forum/forum_11/173031193
Fix associating FACEs having degenerated EDGEs
2013-11-26 12:16:47 +00:00
eap
b2f41043c8 Fix SIGSEGV at closing a study 2013-11-25 10:39:28 +00:00
eap
a004160516 0022414: [CEA 1010] Regressio on tests 01_composite.py
Fix for a vertex w/o a node
2013-11-25 09:14:33 +00:00
eap
ffa6ef36b3 http://www.salome-platform.org/forum/forum_10/409159356
Fox testcube2a.py
2013-11-22 13:16:34 +00:00
eap
8093357296 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
-  StdMeshers_FaceSide(const SMDS_MeshNode*       theNode,
-                      const gp_Pnt2d             thePnt2d,
-                      const StdMeshers_FaceSide* theSide);
+  StdMeshers_FaceSide(const StdMeshers_FaceSide*  theSide,
+                      const SMDS_MeshNode*        theNode,
+                      const gp_Pnt2d*             thePnt2d1,
+                      const gp_Pnt2d*             thePnt2d2=NULL,
+                      const Handle(Geom2d_Curve)& theC2d=NULL,
+                      const double                theUFirst=0.,
+                      const double                theULast=1.);
2013-11-22 13:14:08 +00:00
eap
dacd5b29c7 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
+  int GetCorners(const TopoDS_Face&          theFace,
+                 SMESH_Mesh &                theMesh,
+                 std::list<TopoDS_Edge>&     theWire,
+                 std::vector<TopoDS_Vertex>& theVertices,
+                 int &                       theNbDegenEdges);
2013-11-22 12:40:36 +00:00
eap
73df78c0c4 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges
-  StdMeshers_FaceSide(const SMDS_MeshNode*       theNode,
-                      const gp_Pnt2d             thePnt2d,
-                      const StdMeshers_FaceSide* theSide);
+  StdMeshers_FaceSide(const StdMeshers_FaceSide*  theSide,
+                      const SMDS_MeshNode*        theNode,
+                      const gp_Pnt2d*             thePnt2d1,
+                      const gp_Pnt2d*             thePnt2d2=NULL,
+                      const Handle(Geom2d_Curve)& theC2d=NULL,
+                      const double                theUFirst=0.,
+                      const double                theULast=1.);
2013-11-22 12:37:31 +00:00
mpa
e2a638a026 - Modifing Geometry and Mesh Python scripts from SALOME 6 and before 2013-11-19 12:41:57 +00:00
eap
01fd947027 avoid FPE 2013-11-19 11:54:02 +00:00
eap
e57d64d391 Regression of SALOME_TESTS/Grids/smesh/bugs_03/D6
Improve the EventListener to clean all EDGEs of a complex side if one EDGE is cleaned
2013-11-18 16:51:16 +00:00
eap
a60773c9b3 In SetParametersByDefaults(), make myMinSize and myDeflection greater 2013-11-18 16:50:05 +00:00
eap
142df328f7 Regression SALOME_TESTS/Grids/smesh/3D_mesh_HEXA3D_00/C2
Fix isConcave()
2013-11-18 14:59:23 +00:00
eap
c789cfecef fix SIGFPE on too short EDGEs 2013-11-18 13:21:17 +00:00
eap
10e12cc117 fix SIGFPE on too short EDGEs 2013-11-18 12:35:16 +00:00
eap
1872ac43e1 Regression of SALOME_TESTS/Grids/smesh/bugs_19/X7
Increase nb of allowed shrink loops
2013-11-15 12:19:28 +00:00
eap
c2a18a423e Regression of SALOME_TESTS/Grids/smesh/bugs_13/N9
Fix association of SHELLs
2013-11-15 11:59:48 +00:00
eap
862dfb92f3 2355: EDF SMESH: New 1D hypothesis "Adaptive"
More performance optimization
2013-11-15 09:48:22 +00:00
eap
f7f460b8b0 2355: EDF SMESH: New 1D hypothesis "Adaptive"
Performance optimization
2013-11-14 14:27:06 +00:00
eap
423f2b8731 022398: EDF 2783 SMESH: No end with viscous layer computation
Prevent infinite loop in shrink()
2013-11-12 14:50:30 +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
rnv
1bd4ba8acd Porting SALOME SMESH module to the CMake build system: initial version. 2013-10-10 12:57:42 +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
eap
0e557488d2 fix getSubmeshIDForCopiedMesh() 2013-09-18 12:57:26 +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
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
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
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
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
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
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
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
b5567ce18e 1) SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
http://www.salome-platform.org/forum/forum_10/998544058
2) Fix failure on a revolved rectangle with a VL on a concave face and a
VL thickness about a half-thickness of the revolved.
2013-07-31 14:30:06 +00:00
eap
77e7a1f52b decorations 2013-07-31 08:12:54 +00:00
eap
fc8ad974ab SMESH_Gen::_map1D_Algo no longer exists 2013-07-03 16:07:54 +00:00
eap
6c81f9a1e5 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
2013-06-04 15:05:51 +00:00
eap
d98ea3bd2b 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

Have a separate SMESH_MesherHelper in each TSideFace in order to get a
correct UV on periodic FACE
2013-06-04 15:05:28 +00:00
eap
9ebd1fea41 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

In GetUVPtStruct(), update normParam when reloading points from a proxy
mesh in a reversed order
2013-06-04 15:03:15 +00:00
eap
ea2fec5674 - //_face.Orientation( TopAbs_FORWARD );
+  _face.Orientation( TopAbs_FORWARD ); // 2D logic works only in this case
2013-05-31 11:56:48 +00:00
eap
083e873dfe check orientation when re-loading points from a proxy mesh 2013-05-31 11:56:32 +00:00
eap
65c94961fc take care of a correct orientation (attempt No2 ) 2013-05-30 16:35:57 +00:00
eap
05c6c409ee take care of a correct orientation 2013-05-30 16:28:03 +00:00
eap
cb2ff0ef70 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
In addition to implementing IMP, avoid "limiting" _thickness to zero:

-    _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
+    if ( maxPossibleThick > 0. )
+      _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
2013-05-30 14:15:57 +00:00
eap
4a87093dce 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
+  void SetBndShapes(const std::vector<int>& shapeIds, bool toIgnore);
+  std::vector<int> GetBndShapes() const { return _shapeIds; }
+  bool IsToIgnoreShapes() const { return _isToIgnoreShapes; }

  private:

-  std::vector<int> _ignoreBndShapeIds;
+  std::vector<int> _shapeIds;
+  bool             _isToIgnoreShapes;
2013-05-30 14:14:31 +00:00
eap
abdbef3f20 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
In MakeComputed(), call SMESH_Gen::Compute() with aShapeOnly = true

-    return gen->Compute( *mesh, shape );
+    return gen->Compute( *mesh, shape, /*shapeOnly=*/true );
2013-05-29 15:32:30 +00:00
eap
ccd189545b 0022136: EDF 2345 SMESH: Improving documentation of Quadrangle mapping with the type "Reduced"
1) Send a warning if Reduced transition can't be used.
2) Fix SIGSEGV for the case of nbRows = 1, nbTop = 4, nbBot = 16
2013-05-29 13:41:51 +00:00
eap
a541c7e70e 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
Improve MakeComputed to compute a source sub-mesh using an
 all-dimensional algo of dim greater than dim of the given sub-mesh
2013-05-27 14:04:00 +00:00
eap
8df43f2a70 0022195: EDF SMESH: Mesh using existing elements. 2013-05-16 17:08:45 +00:00
eap
9b739aaa01 0022195: EDF SMESH: Mesh using existing elements.
In Compute() call assure the source mesh is loaded:
_sourceHyp->GetGroups(/*loaded=*/true);

In getMaps(), do not clear n2n map to assure sharing nodes on EDGEs
for adjacent FACEs
2013-05-16 17:06:42 +00:00
eap
3010de27c3 0022195: EDF SMESH: Mesh using existing elements.
To load the mesh owning source groups

-  const std::vector<SMESH_Group*>& GetGroups() const;
+  const std::vector<SMESH_Group*>& GetGroups(bool loaded=false) const;
2013-05-16 17:02:10 +00:00
eap
42491f3cb5 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
+#include "SMESH_MeshAlgos.hxx"
2013-05-16 16:58:08 +00:00
eap
f2160ad9de + subMeshOfSolid->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE ); 2013-05-16 16:55:53 +00:00
eap
adde8edd1b Regression of SMESH_TEST/Grids/smesh/imps7/H5
Fix position of medium nodes that are set to FACE by
StdMeshers_Projection_2D, since EDGEs are discreteized later than FACE.
2013-04-26 14:43:46 +00:00
eap
e1fe293459 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
-  for ( int iF = 1; iF < faceToSolids.Extent(); ++iF )
+  for ( int iF = 1; iF <= faceToSolids.Extent(); ++iF )
2013-04-26 10:21:24 +00:00
prascle
bb5c11a5ed PR: relax constraints on node distances on StdMeshers_import_1D 2013-04-16 16:47:43 +00:00
vsr
ae86d2a1ab Merge from V6_main 12/04/2013 2013-04-12 14:40:29 +00:00
vsr
bd8f1aee7c Merge from V6_main 01/04/2013 2013-04-01 13:05:47 +00:00
vsr
de9ffb0699 Merge from V6_main 19/03/2013 2013-03-19 16:22:36 +00:00
vsr
31ca0b3e3b Merge from V6_main 15/03/2013 2013-03-15 14:59:29 +00:00
vsr
7aebb99e42 Merge from V6_main 06/03/2013 2013-03-06 13:57:01 +00:00
vsr
88b3dbe23b Merge from V6_main 28/02/2013 2013-02-28 15:07:35 +00:00
vsr
9a54694a0a Merge from V6_main 11/02/2013 2013-02-12 14:37:44 +00:00
vsr
1067ffa6e7 Merge from V6_main 13/12/2012 2012-12-13 11:41:29 +00:00
vsr
f5016d85b7 Merge from V6_main (04/10/2012) 2012-10-08 11:56:59 +00:00
vsr
bd4e115a78 Merge from V6_main_20120808 08Aug12 2012-08-09 10:03:55 +00:00
vsr
0635c9fc80 Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00
jfa
79b1ac2b6d Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
jfa
c63ee099ad Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:39:17 +00:00
jfa
57b43b4d01 Join modifications from branch OCC_debug_for_3_2_0b1 2006-05-06 08:51:48 +00:00
enk
06c42e9c95 Fix for Bug IPAL11055:
It is impossible to input negative value as f(t) in table function.
2006-03-21 07:24:22 +00:00
jfa
4ff5bd6154 Join modifications from branch OCC_development_for_3_2_0a2 2006-03-13 15:29:49 +00:00
smh
d0f366c4a3 Merge from OCC_development_generic_2006
Preparation of 3.2.0a1
2006-02-07 15:01:11 +00:00
jfa
6b471bcc54 Join modifications from branch BR_3_1_0deb 2005-12-28 09:17:39 +00:00
eap
5c933ecde0 PAL10953. Add Fineness parameter to Automatic Length hypothesis 2005-12-26 10:34:54 +00:00
eap
236b583d31 PAL10467. Add "Quadrangle Preference" hypothesis for "Quadrangle(Mapping)" algo 2005-12-23 10:00:03 +00:00
jfa
b90943f064 Fix for bug 10498. Support old storage format of NumberOfSegments hypothesis 2005-11-25 15:58:28 +00:00
asl
2ad752b10c PAL8238 - Hypothesis for non-regular 1D meshing 2005-11-23 09:07:44 +00:00
mkr
9dbbb779fa Add new variable for finding OCC libraries during compilation. 2005-11-16 12:00:03 +00:00
eap
2df8c2d513 PAL10173. Protect computeParamByFunc() against divisionby zero when f(0)=0 and against infinite loop 2005-11-15 08:53:15 +00:00
eap
f0cefe4519 PAL10500. Take into account degenerated edges 2005-11-14 09:22:24 +00:00
eap
1f81f404ba PAL10237. Add StdMeshers_AutomaticLength 1D hypothesis 2005-11-01 10:07:11 +00:00
eap
c67bfdf8eb bug 8924. Restore lost modifications of 1.5 revision, remove commented code 2005-09-09 05:17:55 +00:00
eap
58187d6f68 PAL9022. Use improved SMESHDS_Mesh API methods, comment unused variables 2005-09-07 04:45:51 +00:00
eap
2ac338d578 PAL9022. Attach generated mesh elements to whatever meshed shape, SHELL or SOLID 2005-09-07 04:42:49 +00:00
asl
8672ad3e76 PAL8238 2005-08-16 12:26:35 +00:00
smh
c38c10811a SMH: Preparation version 3.0.0 - merge (HEAD+POLYWORK) 2005-06-07 13:22:20 +00:00
eap
e90b1a5ede fix the bug 8924: correct edges orientation definition, remove unused variables 2005-05-26 10:39:00 +00:00
eap
a310184e13 PAL8539. Fix case NB_SEGMENTS for scale != 1.0 and first edge parameter != 0.0 2005-04-05 10:00:04 +00:00
eap
01ec976777 fix PAL8468. Change StartAndEndLength and Arithmethic1D computation on reversed edges 2005-03-31 09:33:30 +00:00
eap
f1bd9084e0 PAL7933. enable propagation of local hypotheses assigned to super-shapes 2005-02-04 11:08:26 +00:00
eap
8cc5e7af94 PAL7913. Fix for the case where different 1d hypotheses are used on opposite edges 2005-02-01 08:00:03 +00:00
eap
db3bd69341 PAL7913. free memory in the destructor 2005-02-01 07:51:29 +00:00
eap
9b89dd05ca PAL7913. make QuadDelete() static 2005-02-01 07:48:07 +00:00
eap
0c22c61f19 PAL7912. Fix SaveTo(ostream) 2005-01-28 11:14:18 +00:00
san
839d52abd7 PAL7705: Possibility to override default implementation added 2005-01-28 08:48:56 +00:00
eap
d8e7d0d7d9 PAL7722. Take into account edge orientation when Compute() uses a propagated hypothesis 2005-01-21 14:15:45 +00:00
eap
f6497472ab PAL7358. Take care of orientation when creating volumes 2005-01-21 13:12:53 +00:00
admin
090aff0726 Merge with OCC_development_01 2005-01-20 06:25:54 +00:00
admin
ed456586bf Merge with OCC-V2_1_0_deb 2004-12-17 11:07:35 +00:00
admin
e4737e85f0 Merge with version on tag OCC-V2_1_0d 2004-12-01 10:48:31 +00:00
yfr
c3bf92bd87 DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00