Commit Graph

244 Commits

Author SHA1 Message Date
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
eap
b2a261da2b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work after StdMeshers_ViscousLayers
2011-01-18 12:18:56 +00:00
eap
e5bb05c0df 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
2011-01-18 12:17:14 +00:00
eap
bb52dc60e8 monor change 2011-01-18 12:16:37 +00:00
eap
96063cdc0a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Implement Compute() with the viscous layers
2011-01-18 12:16:09 +00:00
eap
e201ae8a2a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers.hxx
2011-01-18 12:15:36 +00:00
inv
2de294b09a Merge from V6_2_BR 23/12/2010 2010-12-24 08:18:34 +00:00
prascle
2e16ca1281 PR: correct some warnings 2010-11-30 22:35:24 +00:00
prascle
8fa039a796 merge from branch BR_SMDS_MEMIMP 29 nov 2010 2010-11-29 13:20:53 +00:00
vsr
d8f644ca3d Merge from V5_1_main branch 24/11/2010 2010-11-25 12:44:43 +00:00
vsr
3a40107689 Merge from V5_1_main 10/06/2010 2010-06-10 09:43:07 +00:00
vsr
9357f5c870 Merge from V5_1_main 14/05/2010 2010-05-14 15:32:37 +00:00
eap
b3a24eca49 0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
1) Try to build nodes using transformation before using block approach
2) workaround for wrong surface.Value(u,v) for UV near boundary of BSline surface
2010-02-17 14:59:19 +00:00
eap
0719fe6424 0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
+  /*!
+   * \brief Return transformations to get coordinates of nodes of each internal layer
+   *        by nodes of the bottom. Layer is a set of nodes at a certain step
+   *        from bottom to top.
+   */
+  bool GetLayersTransformation(std::vector<gp_Trsf> & trsf) const;
2010-02-17 14:56:40 +00:00
skl
e096680dda Changes for bug 0020681. 2010-02-16 11:07:53 +00:00
eap
ae8e36cc4a fix Save() and Load() 2010-02-16 09:32:14 +00:00
skl
68b6c38588 Changes for bug 0020681. 2010-02-16 09:19:59 +00:00
eap
8d6ad56522 report error reasons in case of trilateral face 2010-02-12 14:27:33 +00:00
eap
2cd3dfdd08 fix case of 2 edges 2010-02-12 08:15:06 +00:00
maintenance team
d7d3916c31 Fix compilation problem on Debian Sarge 2010-02-12 08:03:53 +00:00
eap
4e29225bc5 precise error message 2010-02-12 07:41:39 +00:00
eap
13623edbcc 0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix for internal edges
2010-02-11 08:26:40 +00:00
eap
04efa6b9dc clear auxiliary data after Compute() 2010-02-10 07:36:45 +00:00
eap
2169f74278 0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
* Redesign in order to bind two pyramids to one base quadrangle.
 * Check presence of 3D elements sharing the base quadrangle.
2010-02-09 11:17:06 +00:00
eap
a3b1bac8a0 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
* Rename HasDegenenaratedEdges() -> HasDegeneratedEdges()
2010-02-01 14:26:09 +00:00
eap
2998fad1e1 minor change 2010-02-01 13:30:15 +00:00
eap
8d2789db83 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
avoid creating degenetrated faces
2010-02-01 13:29:23 +00:00
eap
d7c779851c fix comment 2010-02-01 13:28:11 +00:00
eap
4104f26589 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Algorith behavior has changed - default hyps have appeared
2010-01-22 11:38:25 +00:00
eap
fd1dc99bb5 shorten code 2010-01-22 11:37:48 +00:00
eap
188c7b742c unused variables 2010-01-22 11:36:53 +00:00
dmv
7a8e3a50af Unstable warning in release mode, on creating radialQuadrangle1D2D meshes. 2010-01-12 15:34:12 +00:00
dmv
85d94c3b51 0020635: EDF 1223 SMESH: Error message of RadialQuadrangle algorithm not precise 2010-01-12 08:07:50 +00:00
dmv
d316b3a623 0020635: EDF 1223 SMESH: Error message of RadialQuadrangle algorithm not precise 2010-01-11 15:14:52 +00:00
eap
5e7f07d3da untabify 2009-12-10 14:52:59 +00:00
vsr
2daa321efa Merge from V5_1_3_BR branch (07/12/09) 2009-12-08 13:11:42 +00:00
dmv
c484895a0f IPAL21363 Compute hangs up on Hypothesis Distribution of Layers. 2009-10-12 13:16:41 +00:00
skl
6de0067382 Changed for 0019296 (Evaluation). 2009-09-16 06:13:07 +00:00
skl
3e09f90deb Changed for 0020431. 2009-09-15 13:32:29 +00:00
ptv
4c604aa712 avoid FPE exception 2009-09-15 07:51:41 +00:00
eap
7dba98132c fix SetEventListener() for the case of groups 2009-08-27 13:56:40 +00:00
eap
037d3f1a0c untabify 2009-08-27 10:45:29 +00:00
eap
e069a4fc65 fix MakeMeshOnFxy1(): set medium nodes to the Fxy1 face instead of volume 2009-08-27 10:43:10 +00:00
skl
3add66f219 Integration improvements 0020310 and 0020431. 2009-08-27 07:26:22 +00:00
ptv
40b2818f18 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
Replace hard coded values of element types by new enumeration (added in advanced mesh info Improvement)
2009-08-25 05:18:16 +00:00
eap
4aab533cbd 0020452: EDF 1056 SMESH : 2D Projection Issue
use shape partnership (TopoDS_Shape::IsPartner()) for an easy projection
2009-08-20 07:42:20 +00:00
eap
c9d6ead3f5 0020452: EDF 1056 SMESH : 2D Projection Issue
1) in FindSubShapeAssociation(): use shape partnership (TopoDS_Shape::IsPartner())
   for association
2) in FindFaceAssociation(): try two algoritms to find a correct outer wire
2009-08-20 07:40:08 +00:00
eap
b32884a5f8 fix indentation 2009-08-20 07:36:49 +00:00
skl
3611527175 Protection before invalid hypothesises for "Evaluate" operation. 2009-08-06 12:44:45 +00:00
dmv
dfb859163d IPAL21286 1D Meshing for the Forward and Reversed Edge are equal. 2009-07-27 08:44:02 +00:00
skl
55510e5ccd Implementation of Quadrangle (Mapping) for faces built on 3 edges (0018911 from Mantis). 2009-07-22 09:13:29 +00:00
dmv
184f00f38e 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-07-08 10:34:09 +00:00
vsr
0d70483e9f Fix compilation problem on Debin Sarge 2009-07-06 11:39:01 +00:00
skl
bb0c89d5a8 Implememtation of evaluation for improvement 0019296. 2009-06-29 13:26:16 +00:00
eap
0f98258c46 SMESH_Hypothesis::Hypothesis_Status aStatus;
if ( aPrism3D->CheckHypothesis( aMesh, aShape, aStatus ) ) {
+      aPrism3D->InitComputeError();
       bOK = aPrism3D->Compute( aMesh, aShape );
2009-06-18 12:47:55 +00:00
eap
c4e4d52dd6 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix for SIGSEGV on quadratic  mesh
2009-05-20 13:21:04 +00:00
eap
c8e501d713 0020279: [CEA 334] control the "random" use when using mesh algorithms
sort faces by IDs
2009-05-19 15:41:19 +00:00
eap
318d07b4db 0020279: [CEA 334] control the "random" use when using mesh algorithms
1) delete temporary faces in destructor
   2) bind created pyramids to shape
   3) create quadratic pyramids when necessary
   4) sort faces by IDs
2009-05-19 15:40:53 +00:00
eap
58e6fd99b6 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix FindMatchingNodesOnFaces() on quadratic mesh
2009-05-19 15:36:09 +00:00
eap
e07947533e 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SetSourceMesh(): set mesh before calling NotifySubMeshesHypothesisModification()
2009-05-19 15:35:17 +00:00
eap
eb2c096f8e 0020279: [CEA 334] control the "random" use when using mesh algorithms
Compare TNode's by node ID
2009-05-19 15:34:07 +00:00
eap
966f6ecf06 0020279: [CEA 334] control the "random" use when using mesh algorithms
In SetEventListener(), avoid meshing of internal vertices of
   complex edge
2009-05-19 15:33:12 +00:00
eap
aa8faf765a #include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx 2009-05-19 15:26:34 +00:00
eap
413a2425d7 eliminate compilation warning 2009-05-19 15:23:46 +00:00
eap
14dd470a5d 0020338: EDF 1019 SMESH : 3D extrusion issue
fix FindMatchingNodesOnFaces() for the case of no nodes on edge (since nb segments == 1 )
2009-05-06 11:31:45 +00:00
eap
1f4f2f7503 IPAL21120 SIGSEGV on Meshing attached Compound with Automatic Hexadralization
Report on bad geometry if GetFaceIndex() returns -1
2009-05-04 15:17:26 +00:00
eap
9fd4726f74 0020222: Quandrangle_2D meshing fail
unite only edges shared by two same faces
2009-03-19 07:14:16 +00:00
vsr
cb0cec3f05 Issue 19292: fix wrong use case 2009-03-16 16:11:22 +00:00
eap
015abb3cd3 avoid extra list copying
-    aRes = (*it).second;
+    return it->second;
2009-03-11 14:48:54 +00:00
adam
c9cb7f7c5d Test EXPORTS definition with target name as suggested by cmake 2009-03-06 16:00:11 +00:00
eap
b17276ded0 0020184: EDF SMESH 952: Projection 2D does not work
project only if there are nodes on face
2009-03-03 08:53:53 +00:00
eap
cba66c5885 0020184: EDF SMESH 952: Projection 2D does not work
+  static bool IsBoundaryEdge()
+  bool AssocGroupsByPropagation()
2009-03-03 08:49:33 +00:00
adam
ea89ab6a23 Compatibility cmake 2009-02-26 15:04:36 +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