Commit Graph

205 Commits

Author SHA1 Message Date
eap
24412178e1 Typo-fix by Kunda + fix user doc generation 2018-06-19 19:58:29 +03:00
eap
08fca6f5de IPAL54384: TC8.5.0: SMESH: Regression delete groups with contents - exception 2018-04-23 18:58:06 +03:00
eap
eb177ba645 023544: SMESH's performance issues (note 22293) 2018-04-16 15:04:33 +03:00
eap
5e2c97c386 Fix regressions of tests
mostly connected to 23418: [CEA] Mesh: Minimization of memory usage of SMESH
2018-04-12 14:36:22 +03:00
eap
7f47e06b6c 0023544: SMESH's performance issues 2018-04-11 14:54:19 +03:00
eap
a5ebdbe87e 0023544: SMESH's performance issues 2018-04-11 14:19:02 +03:00
eap
19fe2e412f 23544: SMESH's performance issues 2018-04-10 19:14:21 +03:00
vsr
4e4625e956 Fix compilation pb on gcc 6 (add missing std includes) 2018-04-09 13:59:10 +03:00
eap
4c16067d42 23418: [OCC] Mesh: Minimization of memory usage of SMESH 2018-04-05 15:08:14 +03:00
eap
3a821b48ba GPUSPHGUI: add Offset transformation 2018-02-09 22:41:01 +03:00
eap
04f9972521 Typo-fix by Kunda
http://www.salome-platform.org/forum/forum_9/22126441
2017-12-28 14:28:17 +03:00
eap
05a257d4f4 Add "Deflection 2D" quality control
for GPUSPHGUI project
2017-10-12 19:52:03 +03:00
eap
85f0b9ca16 Typo fixes http://www.salome-platform.org/forum/forum_10/433845793 2017-10-09 15:28:05 +03:00
Paul RASCLE
09ff68516f fix biquadratic quadratic pentahedron(18 nodes prism) 2017-09-15 11:06:44 +02:00
Paul RASCLE
2077baef82 introduce biquadratic quadratic pentahedron (18 nodes) 2017-09-08 17:10:31 +02:00
eap
7647033197 54250: Wrong group contents after SplitQuad()
+ fix a bug that in Split Quadrangles dialog it's impossible to add a
  quadrangle from a group
2017-06-23 15:08:46 +03:00
eap
ab008b333b 0023444: EDF 14244 - Viscous Layer
+ 54237: Invalid viscous layers (in Grids/smesh/viscous_layers_02/A3)
+ Improve viscous layers performance
     - by avoiding unnecessary intersection checks
     - by using std::vector instead of std::set in SMESH_ElementSearcher
+ Fix minor errors in ObjectPool which is now used in SMESH_ElementSearcher
2017-06-19 18:42:49 +03:00
eap
69aa7507f2 23427: [CEA 2073] No hypothesis "Viscous Layers" with Netgen 1D-2D-3D
Add GetElementsByNodes() that return elements including all given nodes.
2017-04-12 16:55:16 +03:00
eap
88d37b48bd 23258: [CEA 1804] Do not merge the middle nodes of quadratic elements
Fix Python dump and compilation on Debian-7
2017-03-15 13:22:02 +03:00
eap
9dd045b97c 23258: [CEA 1804] Do not merge the middle nodes of quadratic elements
Add AvoidMakingHoles argument in MergeNodes()

+ Save mesh name in STL file
+ Fix binary STL export after change of sizeof(Standard_Boolean)
+ Add Import menu to mesh component popup
2017-03-14 15:43:27 +03:00
eap
e74c29b786 Patch modules/smesh.git for Doxygen typos/grammar + misc. typos
http://www.salome-platform.org/forum/forum_10/652417125
2017-03-02 19:51:35 +03:00
eap
c80762b0a1 23414: EDF 14228 - Viscous Layer crashes SALOME
This is the case where a FACE is shrunk in two SOLIDs but VL is on different EDGEs
2017-02-28 19:42:01 +03:00
eap
913aaa14de Fix crash of SALOME_TESTS/Grids/smesh/bugs_13/N9
(SMDS_VolumeTool.cxx)

Add "Show IDs" check box to Mesh Information dlg

Avoid warning in Choose Entity dialog when no entities are selected,
disable [OK] button instead
2017-02-10 21:20:38 +03:00
vsr
21af9b3a2c Patch for MacOS (from SALOME forum) 2017-01-20 15:50:46 +03:00
eap
41b3e44333 Remove useless MESSAGEs 2017-01-13 13:39:13 +03:00
eap
7eec94a3ae Regression of doc/salome/examples/transforming_meshes_ex10.py 2016-12-19 13:49:10 +03:00
rnv
e5a91d8557 Merge branch 'V8_2_BR' 2016-12-15 11:05:13 +03:00
eap
831b40eb01 23395: EDF 13855 - Crash SALOME when creating a mesh
+ sort objects in Clipping plane dlg
2016-12-13 20:30:15 +03:00
ana
eae69d8712 Windows compatibility 2016-12-08 16:45:32 +03:00
rnv
db78f3625c Keep compatibility with ParaView-5.0.1 2016-12-08 12:27:39 +03:00
ana
9c03aded93 Windows compatibility. 2016-11-24 14:29:42 +03:00
eap
81bd088581 Fix regressions 2016-11-15 19:54:27 +03:00
eap
1c1bbf6798 23315: [CEA 1929] Too much memory used to display a mesh in shading and wireframe
Deactivate ID mapping in all DeviceActor's except the pickable one.
   The ID mapping needed to show IDs in the Viewer is computed when needed
   via VTKViewer_ExtractUnstructuredGrid::BuildOut2InMap()

+ IPAL53796: Clipping related bugs
2016-11-11 15:14:46 +03:00
eap
6b1de62331 Optimize performance of mesh deletion upon hyp modification 2016-11-09 18:59:43 +03:00
eap
75d0234b45 IMP 23373: [CEA 1170] Optimization of a 3D mesh using MG-Tetra
SMESHGUI_* - treat an algo that can work w/o geom only

+ fix a crash at mesh modif just after visualization
   SMDS_* - assure that grid->Links exist before grid->InsertNextLinkedCell()
2016-11-03 18:55:09 +03:00
eap
eef0bf5cc7 23315: [CEA 1929] Too much memory used to display a mesh in shading and wireframe 2016-10-24 18:07:46 +03:00
eap
dd0d39d752 23352: [CEA] Order and naming of meshing algorithms 2016-10-03 17:53:47 +03:00
eap
7d8e88b13c Re-fix regression of SALOME_TESTS/Grids/smesh/3D_mesh_Extrusion_01/B2 2016-09-05 15:29:28 +03:00
eap
8a1ff9ba77 Fix regression of SALOME_TESTS/Grids/smesh/3D_mesh_Extrusion_01/B2
(StdMeshers_Prism_3D.cxx)

+ small optimization of SMDS_UnstructuredGrid::compactGrid()
   (SMDS_UnstructuredGrid.cxx, SMESH_Object.cxx)
   - de-allocate old data as soon as possible, not at the and of compacting

+ some minor changes
2016-09-01 20:47:02 +03:00
eap
83b0c984cc 53539: 0D Element
1) Extract SMESHUtils/SMESH_ControlPnt.* from Hexotic
2) Minor doc changes
3) fix  53539: 0D Element (SMDS_MeshCell.hxx, SMESHGUI_AddMeshElementDlg.cxx)
4) Regressions
- bugs_06/G9 ( SMESH_DumpPython.cxx, SMESH_PythonDump.hxx )
- bugs_13/N8 ( StdMeshers_Regular_1D.cxx )
2016-08-24 17:04:22 +03:00
eap
386c76ea03 Regression of BelongToGeom on Debian-6
(SMESH_Controls* )

- Optimize mesh deletion (ObjectPool.hxx)
- Memory leaks (SMESH_Gen_i.cxx)
- Usage of uninitialized vars ( SMESHGUI_MeshOp.cxx )
- Minimize nb of #include in headers (the rest files)
2016-06-29 20:53:22 +03:00
eap
911ca90c3d IPAL53401: BelongToGeom is very long on multiple lines
More optimization of octree + parallel update of GroupOnFilter

  Remove useless warnings
2016-06-27 20:07:19 +03:00
eap
ef3921b2af IPAL52980: Wire Discretization with Table density fails
fix this problem for all 1D hypotheses (StdMeshers_Regular_1D.cxx)
  Bug report: http://www.salome-platform.org/forum/forum_10/636759606

Fix compilation warnings:
  - unused function
  - missing virtual destructor
  - variable set but not used
2016-06-10 20:47:53 +03:00
eap
f3e2b7fea2 53225: Viscous Layers hyp: problem with selection of input/output faces
(StdMeshersGUI_SubShapeSelectorWdg.cxx)

+ Remove useless MESSAGEs
2016-05-11 15:13:17 +03:00
vsr
7eda9ca931 Copyright update: 2016 2016-03-18 20:10:28 +03:00
eap
20248b6e76 23237: EDF 12367 - SIGSEGV with Remove group
(SMESH_Gen_i_1.cxx)

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

+ remove "using namespace std" from headers
2016-02-15 15:08:20 +03:00
eap
dbf226547f IPAL53073: Hexotic Mesh is not compute 2016-01-22 20:10:27 +03:00
eap
3c33b14157 0023212: EDF 12054 - Problem with a pyramidal layer 2016-01-20 16:02:17 +03:00
eap
59627b07d7 Fix compilation errors using gcc-5.X relating to explicit stream::operator bool()
+ Fix compilation warnings
2016-01-13 16:47:35 +03:00
eap
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
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
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
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
741a54331a 52780: Wrong mesh after STL re-import of a concave polygonal element 2015-08-14 20:14:27 +03:00
eap
23d90107ac 0023064: [CEA 1471] Create and support quadratic polygons in SMESH 2015-06-24 12:17:07 +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
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
bbca2cb797 IMP 22264: EDF 2648 GEOM: Propagate edges automatic orientation
+ Optimize SMDS_VolumeTool::IsFreeFace()
+ Add icons for Evaluate and Change Sub-mesh order
+ Make "Meduim nodes on geometry" ON by default
+ Disable "Group on geometry" if mesh is not on geometry
+ SMESHGUI_MeshOp: fix switch from Sub-mesh creation to Sub-mesh edition
2015-03-25 12:36:47 +03:00
akl
251f8c052d Copyrights update 2015. 2015-02-13 12:38:36 +04: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
vsr
30415e15ac Issue 0022816: duplicated files
Don't install chrono.hxx file
2014-12-03 14:04:51 +03: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
f1013bf724 52457: Addition of hypotheses is 8 time longer than meshing.
More optimization
2014-07-23 20:04:21 +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
Paul RASCLE
f87f0664bb pre: fix bug EDF 7854: src/SMDS/SMDS_UnstructuredGrid.cxx SMDS_UnstructuredGrid::extrudeVolumeFromFace(...) 2014-05-05 16:03:20 +02:00
eap
e2c7e8b8f4 Remove useless traces 2014-04-30 15:04:46 +04:00
eap
4edb4666f4 SALOME_TESTS/Grids/smesh/3D_mesh_NETGEN_02/C1
File descriptor 0 is valid
2014-04-29 20:31:59 +04:00
eap
375935ef89 Fix a regression introduced by IMP 22316: EDF 2719 SMESH: Split hexas into prisms 2014-03-13 22:17:11 +04:00
eap
97787812e2 ILMAB: export GEOM fields to MED file 2014-03-05 17:42:42 +04:00
akl
b0a908c0d2 Update copyrights 2014. 2014-02-20 16:25:37 +04:00
eap
b9b3af112d 22316: EDF 2719 SMESH: Split hexas into prisms
+  static int GetOppFaceIndexOfHex( int faceIndex );
2014-01-20 10:32:49 +00:00
eap
80d5c05fce 22316: EDF 2719 SMESH: Split hexas into prisms
+  virtual SMDSAbs_GeometryType GetGeomType()  const { return SMDSGeom_POLYGON; }
2014-01-20 10:32:30 +00:00
eap
f500e5a8b6 22316: EDF 2719 SMESH: Split hexas into prisms 2014-01-20 10:31:23 +00:00
fahed
8fcd118698 Small fix for windows 2013-11-28 08:41:47 +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
c4b93d024f SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Fix the problem of element-submesh relation restoring at study loading
in case if some faces have ids lower than segments.

Now TIDCompare does not compare types, a new comparator created for this:
+struct TIDTypeCompare {
2013-08-23 13:11:32 +00:00
eap
dac0310307 Fix regression of SMESH_TEST/Grids/smesh/imps6/G0
Reset node data when it is removed
+      ((SMDS_MeshNode*) n)->SMDS_MeshElement::init( -1, -1, -1 ); // avoid reuse
2013-08-15 12:08:51 +00:00
vsr
4d6cb35b78 Merge from V7_2_BR 09/08/2013 2013-08-12 10:50:36 +00:00
eap
c2a497190b 0022297: BR_new_bop3/Occdev_3f4689a163 => Faces are missing after an extrusion
Fix IsFreeFace() for a polyhedron
2013-08-08 12:34:43 +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
c17253baf7 Fix GetNodeIndex() for polygon 2013-07-29 12:15:22 +00:00
eap
01d8b02caa Rm duplicated SMDS_MeshElement::setVtkId(int vtkId)
-  inline void setVtkId(int vtkId) { myVtkID = vtkId; };
2013-07-29 11:51:02 +00:00
eap
6ae2a9da94 Optimize SMDS_MeshElement::GetNodeIndex()
+  virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
2013-07-29 11:49:21 +00:00
eap
da2b448af1 Optimize SMDS_MeshElement::GetNodeIndex()
-  int GetNodeIndex( const SMDS_MeshNode* node ) const;
+  virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
2013-07-29 11:48:56 +00:00
eap
4689443745 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-      newFaceLocations->Register(this);
-      newFaces->Register(this);
2013-07-24 14:46:09 +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
eap
c25ddc7d49 0022108: EDF 2547 SMESH: Duplicate elements only
More filters

+  struct Filter
+  {
+    virtual bool operator()(const SMDS_MeshElement* e) const = 0;
+    ~Filter() {}
+  };
+  struct NonNullFilter: public Filter
2013-05-28 16:41:00 +00:00
eap
c922a9cc64 Fix GetNode() for polyhedron 2013-05-28 16:40:15 +00:00
eap
82b050103f + void SetParameters(double aUparam, double aVparam); 2013-05-22 14:54:20 +00:00
eap
c2c0a21343 - virtual SMDS_ElemIteratorPtr nodesIteratorToUNV() const;
-  virtual SMDS_ElemIteratorPtr interlacedNodesElemIterator() const;
+  virtual SMDS_NodeIteratorPtr nodesIteratorToUNV() const;
+  virtual SMDS_NodeIteratorPtr interlacedNodesIterator() const;
2013-05-16 16:17:16 +00:00
eap
1267641d31 0022100: EDF 2413 SMESH: Take into account TRIA7
Now  SMDS_VtkCellIteratorToUNV inherits from SMDS_NodeIterator and
hence next() returns a node

-class SMDS_VtkCellIteratorToUNV: public SMDS_VtkCellIterator
+class SMDS_VtkCellIteratorToUNV: public SMDS_NodeIterator, protected SMDS_VtkCellIterator
 {
 public:
   SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCellId, SMDSAbs_EntityType aType);
+  virtual const SMDS_MeshNode* next();
+  virtual bool more();
   virtual ~SMDS_VtkCellIteratorToUNV();
 };
2013-05-16 16:16:22 +00:00
eap
5030955be8 Make IsFreeFace() fast, the old implementation of IsFreeFace() is renamed -> IsFreeFaceAdv()
bool IsFreeFace(  int faceIndex, const SMDS_MeshElement** otherVol=0 ) const;
-  // Check that all volumes built on the face nodes lays on one side
+  // Fast check that only one volume is built on nodes of a given face
+  // otherVol returns another volume sharing the given facet
+
+  bool IsFreeFaceAdv(  int faceIndex, const SMDS_MeshElement** otherVol=0 ) const;
+  // Thorough check that all volumes built on the face nodes lays on one side

+  bool IsPoly() const { return myPolyedre; }
2013-05-16 16:14:01 +00:00
eap
580dfddb72 0022100: EDF 2413 SMESH: Take into account TRIA7 2013-05-16 16:11:35 +00:00
eap
c448c8ff74 - SMDS_ElemIteratorPtr interlacedNodesElemIterator() const; 2013-05-16 16:10:37 +00:00
eap
010ee1ec71 0022100: EDF 2413 SMESH: Take into account TRIA7
+  int NbBiQuadTriangles() const { return myNbBiQuadTriangles; }
2013-05-16 16:08:36 +00:00
eap
24d5088297 - virtual SMDS_ElemIteratorPtr nodesIteratorToUNV() const;
+  virtual SMDS_NodeIteratorPtr nodeIterator() const;
+  virtual SMDS_NodeIteratorPtr interlacedNodesIterator() const;
+  virtual SMDS_NodeIteratorPtr nodesIteratorToUNV() const;
2013-05-16 16:08:00 +00:00