Commit Graph

258 Commits

Author SHA1 Message Date
eap
187dac541f 0021676: EDF 2283 NETGENPLUGIN: Improve Netgen 1D-2D-3D to generate pyramids in case where input 2D mesh includes quadrangles
+  const TopoDS_Shape& GetShape() const { return myShape; }
2012-07-05 09:40:33 +00:00
eap
85abc582be 0021692: EDF 2314 : Hexaedron failure
Fix for the case where topologically neighboring faces composing a box
side are not neighboring within the list of sub-shapes of a box
2012-07-04 14:55:48 +00:00
eap
aad57bda9f IPAL22856 2D quadrangle mesher of reduced type works wrong
change algorithm as requested by IPAL22856 - care of symmetry
2012-06-08 10:45:42 +00:00
eap
ff4dc09d85 IPAL22856 2D quadrangle mesher of reduced type works wrong
refactoring ComputeReduced(), but algorithm still remains the same
2012-06-08 07:27:26 +00:00
vsr
d4a710ce52 Merge from V6_5_BR 05/06/2012 2012-06-05 12:18:07 +00:00
eap
180b82cf53 0021540: [CEA] Internal test fails : prisms
Fix FindMatchingNodesOnFaces() for spheres ( DeuxSpheres.py )
2012-04-11 14:34:04 +00:00
eap
55899c73f3 0021529: [CEA 551] I,j,k mesher does not mesh 2D quadragular meshes
correct isClosedChainOfSides()
2012-04-11 08:35:01 +00:00
eap
dbb704ffd5 some decorations 2012-04-10 10:10:11 +00:00
eap
d1fa9ee867 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
not create excess edges on the seam edge
2012-04-10 10:09:32 +00:00
eap
ef93a614a6 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
fix merging nodes in case 1D-2D projection of the colsed face (care
   of nodes on the seam edge)
2012-04-10 10:06:23 +00:00
eap
a17fd6ce6b 0021529: [CEA 551] I,j,k mesher does not mesh 2D quadragular meshes
+   bool isClosedChainOfSides(...)
2012-04-09 15:40:23 +00:00
eap
f4f14a98e3 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
In GetSourceSubMeshes(), fix getting a main sub-mesh of a not loaded mesh
2012-03-22 14:10:37 +00:00
eap
3ca6b8c524 precise error messages 2012-03-22 12:42:58 +00:00
eap
c20e5a3b8e 0021468]: EDF 2073 SMESH: Body-fitting algo creates elements in hole
1)   re-fix after optimization (attempt #2)
2)   fix protection from not thread safe shapes
2012-03-22 11:54:46 +00:00
eap
16042a8750 0021468]: EDF 2073 SMESH: Body-fitting algo creates elements in hole
re-fix after optimization
2012-03-22 08:58:34 +00:00
eap
b0b291e152 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
performance optimization using tbb
2012-03-21 09:03:12 +00:00
eap
eeb19a3f2a 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+if WITH_TBB
+  libStdMeshers_la_CPPFLAGS += $(TBB_INCLUDES)
+  libStdMeshers_la_LDFLAGS  += $(TBB_LIBS)
+endif
2012-03-21 09:02:23 +00:00
gdd
4ad6a5b19b Replace Descret by Discrete in variable and method names. 2012-02-17 14:30:02 +00:00
eap
c1cd01ddc8 0021494: EDF 2118 SMESH: Projection2D hypothesis causes Unknown Exception
Allow 1 pair of vertices for a face with 1 vertex
2012-02-14 11:33:38 +00:00
eap
2b3a86e7ca 0021490: EDF 2114: RadialQuadrangle fails
Fix correspondence between LinEdge1 and LinEdge2 and P1 and P2
2012-02-09 14:50:10 +00:00
eap
e830e055d0 0021489: EDF 2096: Regression in Prism algorithm between 6.3.1 and 6.4.0
fix after changed behaviour of LoadNodeColumns()

-        bool isForward = ( edgeIt->Orientation() == TopAbs_FORWARD );
+        bool isForward =
+          StdMeshers_PrismAsBlock::IsForwardEdge( myHelper->GetMeshDS(),
+                                                  myParam2ColumnMaps[iE],
+                                                  *edgeIt, SMESH_Block::ID_Fx0z );
2012-02-09 12:31:36 +00:00
rnv
24df7fa1ab win32 compilation of the Mesh module. 2012-02-01 12:31:41 +00:00
eap
61915a66ed Fix removal of free nodes 2012-01-26 11:24:22 +00:00
eap
a7d76b7825 0021484: EDF 2087 SMESH: Problem projection
fix search of initial vertex association for group of FACEs

+  TopoDS_Shape getOuterEdge( const TopoDS_Shape theShape1, SMESH_Mesh& mesh )

-  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
-                             const TopoDS_Shape& edgeContainer,
-                             SMESH_Mesh&         mesh);
+  static TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape& edgeContainer,
+                                     const SMESH_Mesh&   mesh);
2012-01-25 12:19:58 +00:00
eap
cbd52f6644 0021484: EDF 2087 SMESH: Problem projection
-  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
-                             const TopoDS_Shape& edgeContainer,
-                             SMESH_Mesh&         mesh);
+  static TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape& edgeContainer,
+                                     const SMESH_Mesh&   mesh);
2012-01-25 12:18:02 +00:00
eap
40a14effec 0021484: EDF 2087 SMESH: Problem projection
Check orientation of faces after simple cases of projection as well
2012-01-25 07:37:32 +00:00
eap
fbae18cd7f Add "const char* name" argument to consrtucctor of SMESH_subMeshEventListener 2012-01-18 12:07:14 +00:00
eap
8a81427a0c 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix GetOrderedNodes() to work if not all edges are meshed
2012-01-18 12:02:44 +00:00
eap
4f5cf5faab 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix merging new and old nodes in case if not all edges are meshed
2012-01-18 12:01:40 +00:00
eap
025e264849 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
1)
+  struct EventProparatorToEdges : public SMESH_subMeshEventListener
2)
+  struct UnsetterOfEventProparatorToEdges
3)
+    // check that all nodes are shared by faces generated on F
2012-01-18 12:00:29 +00:00
eap
5c991bb2b7 0021468: EDF 2073 SMESH: Body-fitting algo creates elements in hole 2012-01-17 13:17:19 +00:00
eap
fcf879a78b 0021469: EDF 2074 SMESH: Body fitting algo leads to crash of salome
fix RemoveExcessIntPoints()
2012-01-16 13:53:29 +00:00
ana
253807f5b3 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 15:11:09 +00:00
jfa
5acab3d327 Porting to OCCT development version: Standard_PI -> M_PI 2011-12-26 13:07:08 +00:00
vsr
493747e8ea Merge from V6_4_BR 05/12/2011 2011-12-05 11:03:04 +00:00
eap
d3f04bfe6b 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
fix SetParametersByDefaults()
2011-10-28 13:44:03 +00:00
eap
7a8ade40f7 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+  static std::string CheckExpressionFunction( const std::string& expr,
+                                              const int          convMode)
+    throw (SALOME_Exception);
2011-10-28 12:55:48 +00:00
eap
e182c4b354 use new method SMESH_subMesh::GetAlgo() 2011-10-28 12:55:08 +00:00
eap
2c766c3b15 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+	StdMeshers_CartesianParameters3D.hxx \
+	StdMeshers_Cartesian_3D.hxx
2011-10-28 12:53:31 +00:00
eap
4df44f5a1e Fix a bug reported to SALOME Forum http://www.salome-platform.org/forum/forum_10/372035859
-      if ( helper.IsSubShape( *e, F ) && BRep_Tool::Curve( *e, loc,f,l))
+      if ( helper.IsSubShape( *e, F ) && !BRep_Tool::Curve( *e, loc,f,l).IsNull() )
2011-10-13 13:08:51 +00:00
eap
cf76763e47 remove excess includes 2011-10-13 06:08:37 +00:00
eap
bb2db66613 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
fix for projection of a group
2011-10-13 05:35:12 +00:00
eap
669d7d6d0f 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm 2011-10-13 05:35:11 +00:00
eap
9091ead47e use helper.GetCommonAncestor() 2011-10-13 05:34:25 +00:00
eap
5036f6282e 0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
/*!
+   * \brief Return nodes in the order they encounter while walking along the side.
+    * For a closed side, the 1st point repeats at end
+   */
+  std::vector<const SMDS_MeshNode*> GetOrderedNodes() const;
2011-10-13 05:31:21 +00:00
eap
7133933036 0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
use tolerance computed basing on min linear size of elements to import
2011-10-07 11:36:22 +00:00
eap
1064303dd1 0020918: EDF 1447 SMESH: Mesh common borders (stepbystep.py)
in _Listener::ProcessEvent(), clear n2n and e2e maps at CLEAN event
2011-10-07 11:35:39 +00:00
eap
e30e0260ae 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
Redesign to work with composite cube edges

0021369: EDF SMESH: Meshing of a cube in hexas fails
    fix defining orientation of a side in case of reversed wire
2011-10-06 09:46:34 +00:00
eap
1f44408d18 untabify 2011-10-06 09:43:59 +00:00
eap
59786ee5ea 0021370: EDF SMESH: Hexahedron + Composite Side Disretization generate a bad mesh
+  const std::vector<TopoDS_Edge>& Edges() const { return myEdge; }
2011-10-06 09:43:30 +00:00
eap
0f954310b4 0021363: EDF 1957 SMESH: Use of viscous layers with BLSURF
fix up incorrect uv of nodes on the FACE
2011-09-20 08:08:23 +00:00
eap
9243678000 0021358: [CEA 500] SMESH HEXAHEDRA from 2D quad skin detect a error
Fix detection of corner nodes for blocks of size 1x1x1
2011-09-14 08:49:33 +00:00
eap
efd5d0e9d1 Fix error message for the case of adjacent faces with triangular elements 2011-09-05 07:16:47 +00:00
eap
6d8aa3f0c8 Fix the bug reported at the SALOME forum http://salome-platform.org/forum/forum_10/510395693
map scale distribution of parameter to edge length
2011-09-01 11:34:43 +00:00
eap
7eb6cc5064 Fix a bug reported at the SALOME forum http://www.salome-platform.org/forum/forum_10/156409406
-  bool ok;
+  bool ok = true;
2011-08-30 10:59:48 +00:00
eap
b9a943c613 021346: EDF 1938 SMESH: "Use existing elements" functionality
fix the bug that edges on the seam edges are not created
2011-08-22 08:44:59 +00:00
eap
6f68ffe5b7 021346: EDF 1938 SMESH: "Use existing elements" functionality
fix comments
2011-08-22 08:44:12 +00:00
eap
01eee42f01 021346: EDF 1938 SMESH: "Use existing elements" functionality
Improve comments
2011-08-22 07:36:31 +00:00
eap
2edfe63af3 0021345: EDF 1936 : Problem in submeshes management
In ProcessEvent(), fix detection of algo removal
2011-08-19 12:38:38 +00:00
eap
2d61b98c65 0021345: EDF 1936 : Problem in submeshes management
+  static std::string AlgoName();
2011-08-19 12:37:32 +00:00
eap
dadf483025 0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
+	-I$(srcdir)/../SMESHUtils \
2011-08-10 10:21:21 +00:00
vsr
39f36db219 Merge from V6_3_BR 19/07/2011 2011-07-19 12:05:24 +00:00
vsr
91c92cb543 Merge from V6_3_BR 15/07/2011 2011-07-15 11:19:53 +00:00
eap
e6c056f8c0 - -I$(srcdir)/../SMESHImpl \
-	../SMESH_I/libSMESHEngine.la \
2011-07-07 15:27:29 +00:00
eap
2ef67f753e restore "QuadranglePreference" hyp as it can be used by NETGEN 2D
together with "Max. Elemet Area" for example
2011-07-05 12:04:49 +00:00
eap
b6fe67a04f initialize the Curve Adaptor using range of the edge 2011-07-01 15:45:09 +00:00
eap
c58c3faf74 Remove "Quadrangle preference" and "Triangle preference" obsolete hypotheses 2011-06-28 12:58:21 +00:00
vsr
2c607013a2 Merge from V6_3_BR 06/06/2011 2011-06-06 08:15:39 +00:00
eap
ffc4f7e618 0021218: EDF 1832 SMESH: Regression when computing a mesh
fix FindFaceAssociation() using UV
2011-04-06 11:06:53 +00:00
eap
d13fde3e5e 0021074: EDF 1682 MESH: Bug with start and end length hypothesis
additionally fix compensateError() (for S_domain.hdf)
2011-02-25 09:07:59 +00:00
eap
01f4ed1a85 Fix bug of work with ViscousLayers hyp introduced during
"Redesign again to work with composed cube edges"
2011-02-22 14:30:49 +00:00
eap
e377bfeb20 unused variables 2011-02-22 14:28:14 +00:00
eap
bd6b92b1da 0020974: EDF 1551 GEOM: Extra edges appear in the result of a partition and can't be removed
Treat the case where a quadrilateral FACE includes the 5th degenerated EDGE

+  void UpdateDegenUV(FaceQuadStruct* quad);
+  void Smooth (FaceQuadStruct* quad);
2011-02-16 10:24:50 +00:00
eap
4ebb8cfccc Regression of the test case imps/A1
In Compute2ndPart(), create a new SMESH_ElementSearcher to avoid
  search of volumes in a proxy mesh contaiting only faces
2011-02-08 12:21:46 +00:00
eap
977978e76d correct the preceeding patch 2011-02-07 14:27:59 +00:00
eap
44bcdd8f8c Regression of test case bugs/D0
call ComputePentahedralMesh() if the mesh of FACE is quadrangular
  but not structured
2011-02-07 13:52:10 +00:00
eap
be718d6061 Protect from a distorted block (test 3D_mesh_HEXA3D/B7 on 32bit platform) 2011-02-07 12:23:57 +00:00
eap
68f4ae0cfe 0021153: [CEA] non regression test fails
uninitialized variable
2011-02-04 09:47:29 +00:00
jfa
3bc3b5cb5a Mantis issue 0020834: the mesher of reduced type has been improved. 2011-02-04 09:16:41 +00:00
eap
07112cd8f1 0021153: [CEA] non regression test fails
fix TooCloseAdjacent() w/o shape: correct distinction of domains
2011-02-02 09:47:22 +00:00
eap
d8a28e48bb 0021153: [CEA] non regression test fails
1) at merging pyramids, move the common apex at the middle of 2 apexes
  2) at intersecting pyramids, check all four base-apex directions
2011-02-01 15:25:21 +00:00
eap
d9c073c952 0021153: [CEA] non regression test fails
fix error that pyramids sharing one common node are not checked for intersection
2011-02-01 13:48:56 +00:00
eap
b6b8aa7213 fix a misspell in comment 2011-01-31 13:10:15 +00:00
eap
17b5f093a6 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis
Fix invalid discretization of EDGEs: in GetCurve3d(), set Closed flag to WIRE wrapped into BRepAdaptor_CompCurve
2011-01-28 17:04:54 +00:00
eap
910eadfc30 fix file header (comments) 2011-01-28 17:01:19 +00:00
eap
facae4f797 0021114: EDF 1736 SMESH: Problem with 3D extrusion
decrease tolerance at checking transformation
2011-01-28 13:33:22 +00:00
eap
ab928f3773 0021123: EDF 1734 SMESH: Bug with propagation hypothesis 2011-01-28 10:29:23 +00:00
eap
50b08dce3d untabify 2011-01-28 10:29:01 +00:00
ana
4be7efd6bd Fix for the bug 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis 2011-01-28 08:38:53 +00:00
eap
e3409934a4 0021130: EDF 1746 SMESH: Issue with export in STL format
move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ
2011-01-27 16:45:55 +00:00
eap
d976fc7810 0021144: [CEA 441] Problem with projection
+  bool projectBy2DSimilarity()
2011-01-27 13:41:43 +00:00
eap
237e3eaae1 0021144: [CEA 441] Problem with projection
care of degenerated geom EDGEs
2011-01-27 13:41:06 +00:00
eap
b337ba17f3 not initialized value 2011-01-27 13:40:10 +00:00
eap
b87176dacc unused variable 2011-01-26 14:09:59 +00:00
eap
6cf8eec182 Clear data structures at Compute() finish 2011-01-26 14:09:38 +00:00
eap
0df1e71b77 For redesigned StdMeshers_Hexa_3D (to work with composed cube edges)
1) Store TopoDS_Face in FaceQuadStruct
2) Make CheckNbEdges() public
2011-01-26 14:08:42 +00:00
eap
9462051381 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Redesign again to work with composed cube edges
2011-01-26 14:06:40 +00:00
eap
98119844c8 0021140: EDF 1759 SMESH: Netgen1D2D fails on subshape
Fix work on edges computed with the Composed Segment discretizer
2011-01-25 14:46:58 +00:00
eap
ae954579c5 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Assure stability
2011-01-24 09:17:26 +00:00
gdd
44f80071d1 Add missing include 2011-01-18 13:02:45 +00:00