Commit Graph

1784 Commits

Author SHA1 Message Date
eap
d9d9b36627 HEXA_27021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format) 2012-09-24 11:15:01 +00:00
eap
765ce25ce9 fix interlace array of HEXA_27 2012-09-24 11:14:08 +00:00
eap
553185b191 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  virtual void        SetOption(const std::string& optionName,
+                                const std::string& optionValue) {}
+  virtual SMESH_ComputeErrorPtr GetError();
2012-09-24 11:13:16 +00:00
eap
673b8a1d41 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	DriverGMF \
2012-09-24 11:12:27 +00:00
ana
3dfa809507 Win32 compatibility 2012-09-20 08:06:33 +00:00
eap
0798335da8 def GetMeshEditor(self):
-        return self.mesh.GetMeshEditor()
+        return self.editor
2012-09-17 10:23:15 +00:00
eap
ff7d2479be 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+   * \brief Returns description of an error/warning occured during the last operation
+   */
+  SMESH::ComputeError* GetLastError();
2012-09-17 10:22:42 +00:00
eap
c651365140 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
extract SMESH_MeshPartDS.hxx from SMESH_MeshEditor_i.cxx
2012-09-17 10:22:02 +00:00
eap
a1a7402321 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+  // Errors of SMESH_MeshEditor follow
+  EDITERR_NO_MEDIUM_ON_GEOM= -101 /* during conversion to quadratic,
+                                     some medium nodes not placed on geometry
+                                     to avoid distorting elements, which are
+                                     stored in SMESH_ComputeError::myBadElements */
2012-09-17 10:20:50 +00:00
eap
bf2593a237 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Show elements whose medium nodes were not placed on geometry
2012-09-17 10:20:24 +00:00
eap
6adaa05a56 + prop->Delete(); 2012-09-17 10:18:47 +00:00
eap
2077709da4 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+  void force3DOutOfBoundary( SMESH_MesherHelper&    theHelper,
+                             SMESH_ComputeErrorPtr& theError)
2012-09-17 10:18:28 +00:00
eap
12c889c3f6 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Returns description of an error/warning occured during the last mesh edition
2012-09-17 10:18:07 +00:00
eap
3a58968846 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
double MaxLinearSize2() const;
  // Return maximal square distance between connected corner nodes
2012-09-17 10:16:21 +00:00
eap
55d54bc7f0 decrease the low bound of Threshold 2012-09-14 13:14:35 +00:00
eap
5e940de5e3 0021821: EDF 2356 SMESH: Wrong GHS3D mesh with Viscous Layer hypothesis
Log node movement not only in DEBUG mode
2012-09-13 12:25:09 +00:00
eap
7a940415de 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Improve GetAlgo()
2012-09-11 13:20:29 +00:00
eap
118122435c 0021845: EDF 1855 SMESH : A no-regression test fails on RadialQuadrangle meshing
+  static TopAbs_ShapeEnum GetGroupType(const TopoDS_Shape& group,
+                                       const bool          avoidCompound=false);
2012-09-11 09:24:59 +00:00
eap
68b41560cb 0021845: EDF 1855 SMESH : A no-regression test fails on RadialQuadrangle meshing
1) fix getAlgoData()
2) correct detection of concurrent algos in GetAlgo()
2012-09-11 09:24:28 +00:00
eap
8d6f13f41e 0021821: EDF 2356 SMESH: Wrong GHS3D mesh with Viscous Layer hypothesis
Fix smoothAnalyticEdge() for a circle
2012-09-11 07:53:33 +00:00
prascle
34976cf1e1 PR: bug EDF 2300 2012-09-10 07:04:02 +00:00
prascle
61bc7f8f5f PR: correction bug EDF 2299. 2012-09-08 14:40:53 +00:00
eap
db07298a81 Call a not published shape to mesh by name of the mesh if provided 2012-09-07 14:12:35 +00:00
eap
98ad123d21 0021843: [CEA 658] Segmentation fault when using GHS3D on a 2D group
correct fillAncestorsMap() not to miss COMPOUNDs inside a COMPOUND
2012-09-07 08:00:48 +00:00
eap
f8658faa90 0021843: [CEA 658] Segmentation fault when using GHS3D on a 2D group
Avoid "1D global algo is missing" error if it's not really missing
2012-09-07 07:58:38 +00:00
eap
ab9945d2b0 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Return newly detected concurrent sub-meshes in the order they are
  computed w/o imposed order of sub-meshes
2012-09-06 14:13:38 +00:00
eap
a438b8cfa9 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Use SMESH_Gen::GetPluginXMLPaths()
2012-09-06 14:08:48 +00:00
eap
314c0d0977 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Use LDOMParser

+  -lTKCDF
2012-09-06 14:08:01 +00:00
eap
7f64a1c94a 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
1) +  static std::vector< std::string > GetPluginXMLPaths();
2) In GetAlgo(), choose a concurrent 2D algorithm whose output is
suitable to both different 3D algos on SOLIDs
2012-09-06 14:07:24 +00:00
eap
b2a682e314 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
+  static std::vector< std::string > GetPluginXMLPaths();
2012-09-06 13:50:41 +00:00
eap
2a7bf64d23 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
+  // return true if given order of sub-meshes is OK
+  bool IsOrderOK( const SMESH_subMesh* smBefore,
+                  const SMESH_subMesh* smAfter ) const;
2012-09-06 13:49:43 +00:00
prascle
4cde840048 PR: correction bug EDF 2299. 2012-09-06 13:27:46 +00:00
rnv
97220d5bca Win32 compilation. 2012-09-05 14:31:04 +00:00
vsr
cd4ec3d9f2 As OCCT issue 0022809 has been fixed, remove temporary workaround in the Cartesian 3d algorithm 2012-09-05 09:23:09 +00:00
eap
daf44dd2d8 0021826: EDF 2367 SMESH : Hexaedron failure
fix the prev integration
2012-09-04 14:42:17 +00:00
prascle
80cf9ab761 PR: tools for crack meshing : when building pyramids on complex shapes, orientation detection is difficult (concavities) and can be helped if a group of faces correctly oriented is provided. (check the presence of a group named "skinFaces") 2012-09-04 14:06:32 +00:00
prascle
16fcf4dea0 PR: tools for crack meshing : when importing a mesh, use a tolerance relative to the edge size. 2012-09-04 14:00:14 +00:00
prascle
1f2c6e16a4 PR: tools for crack meshing 2012-09-04 13:58:46 +00:00
prascle
fc3530a171 PR: tools for crack meshing : take into account surfaces detected as only GeomAbs_C0 but still OK for meshing 2012-09-04 13:57:12 +00:00
prascle
7446d65dcb PR: tools for crack meshing : detection of elements affected by node duplication, identification of elements near a geom shape, to create a hole, creation of the skin of the future hole 2012-09-04 13:54:50 +00:00
eap
85e85bc449 0021826: EDF 2367 SMESH : Hexaedron failure
fix errors of GCPnts_UniformAbscissa
2012-09-04 13:40:43 +00:00
eap
d45ee63be8 0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
1) Add to Init() a flag controlling the state of "Insert filter in viewer"
   2) Fix setting a selection mode
2012-09-03 08:30:23 +00:00
eap
8f1d6d923f 0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
Add to Init() a flag controlling the state of "Insert filter in viewer"
2012-09-03 08:29:24 +00:00
eap
8203a3d57e 0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
Change behavior of CoplanarFaces: normals of neighboring faces
   are compared and not that of the selected face and candidate faces
2012-09-03 08:26:53 +00:00
eap
3f3fd308b1 improve readability a bit 2012-09-03 08:13:28 +00:00
eap
eb0c3c26e7 Salome Forum http://www.salome-platform.org/forum/forum_10/350978231
Move restoring SMESH_Mesh::_isModified from SMESH_Gen_i to SMESH_PreMeshInfo
2012-09-03 08:12:37 +00:00
eap
9e81eb1e25 Salome Forum http://www.salome-platform.org/forum/forum_10/350978231
Clear AddHypothesis(geom,hyp) command when RemoveHypothesis(geom,hyp)
encounters iff both geom and hyp are same
2012-09-03 08:00:12 +00:00
eap
a297fa5cdd 0021823: [CEA 649] Compute failed without any errors
Fix reporting a warning if no elements are assigned to a sub-shape
2012-08-31 12:08:42 +00:00
eap
3cff0381cc 0021823: [CEA 649] Compute failed without any errors
bool checkComputeError(SMESH_Algo*         theAlgo,
+                         const bool          theComputeOK,
                          const TopoDS_Shape& theShape=TopoDS_Shape());
2012-08-31 12:07:45 +00:00
eap
9e5d5fd0d5 0021825: Error in the example of "Projection Algorithms" in the user's guide
check if MakeComputed() is really OK
2012-08-31 12:04:11 +00:00
eap
02c33dab50 0021825: Error in the example of "Projection Algorithms" in the user's guide
In MakeComputed(), check if gen->Compute() is really OK
2012-08-31 12:03:32 +00:00
vsr
5aee18a1d4 0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
(Fix problem with Object browser updating)
- Revert fix made for issue "0021515: EDF 2169 SMESH: groups not in OB" - it is no more required since actual problem is solved by fix for issue 0020749.
2012-08-30 13:57:33 +00:00
eap
b992383e2a 0021825: Error in the example of "Projection Algorithms" in the user's guide
update to reflect introduction of StdMeshers_ShapeShapeBiDirectionMap
  instead of TopTools_DataMapOfShapeShape
2012-08-30 10:26:51 +00:00
eap
ff33a26505 0021823: [CEA 649] Compute failed without any errors
report a warning if no elements are assigned to a sub-shape
2012-08-30 07:50:03 +00:00
eap
1cd00806c9 0021823: [CEA 649] Compute failed without any errors
+    COMPERR_NO_MESH_ON_SHAPE // no mesh elements assigned to sub-mesh
2012-08-30 07:43:07 +00:00
eap
935b0458ec untabify 2012-08-30 07:42:51 +00:00
eap
d370090d41 0021823: [CEA 649] Compute failed without any errors
+        <source>COMPERR_NO_MESH_ON_SHAPE</source>
+        <translation>No mesh elements assigned to a Sub-shape</translation>
2012-08-30 07:42:34 +00:00
eap
1a1cf7152f 0021823: [CEA 649] Compute failed without any errors
report a warning if no elements are assigned to a sub-shape
2012-08-30 07:42:09 +00:00
eap
9230b68a8f -#include "SMESH_*D_Algo.hxx"
+#include "SMESH_Algo.hxx"
2012-08-29 16:45:51 +00:00
eap
d56eabb870 untabify 2012-08-29 16:44:07 +00:00
eap
36df571332 Remove useless files, declarations and implementations of constructors
of classes are moved to SMESH.Algo.*xx

SMESH_*D_Algo.*xx
2012-08-29 16:43:11 +00:00
eap
fb5fc3fc21 Import .dat file
http://www.salome-platform.org/forum/forum_10/504470444

Remove "Import DAT" menu
2012-08-29 09:07:18 +00:00
eap
139a1a65e3 http://www.salome-platform.org/forum/forum_10/984341981
Fix UV of nodes on the FACE
2012-08-28 14:08:33 +00:00
eap
0353127167 0021815: EDF 2347 SMESH : Error when meshing vertices
Enable ceation of nodes on a COMPOUND of VERTEXes
2012-08-27 13:25:36 +00:00
vsr
7881caca4e 0021806: [CEA 637] Wrap error message on Mesh Computation Failed Dialog 2012-08-27 11:51:25 +00:00
eap
0ccce9ef1b improve comments 2012-08-24 13:51:54 +00:00
eap
9a0acdf426 http://www.salome-platform.org/forum/forum_11/800053490
1) Fix orientation of new faces on FACEs shared by SOLIDs
2) Create missing segments
2012-08-24 13:41:12 +00:00
eap
3b4c1aab2b http://www.salome-platform.org/forum/forum_11/800053490
Fix LoadNodeColumns() for a not implemented case of viscous layers
2012-08-24 13:39:50 +00:00
eap
b7aaf5fe0e comment out obsolete methods relating to treatment of notebook variables 2012-08-24 13:33:22 +00:00
eap
868ce5dcae improve comments 2012-08-24 13:32:35 +00:00
eap
cb99a4c0e6 0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete
read methods (<accumulative-methods>) that don't
change a value of a meshing parameter but add one more value
2012-08-24 11:47:21 +00:00
eap
b32dca0dad 0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete
read and take into account methods (<accumulative-methods>) that don't
change a value of a meshing parameter but add one more value
2012-08-24 11:46:38 +00:00
eap
98b5f502a9 0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete
store methods that don't change a value of a meshing parameter but
add one more value

csll _pyHypothesis
{
...
+  std::set< _AString >          myAccumulativeMethods;
2012-08-24 11:45:41 +00:00
vsr
3c9be5dcb8 Improvement of Python API documentation (SMESH and plugins):
- move base Mesh_Algorithm class to the separate python module
2012-08-24 05:52:39 +00:00
vsr
7ab128efcd Improvement of Python API documentation (SMESH and plugins):
- move base Mesh_Algorithm class to the separate python module
2012-08-24 05:32:18 +00:00
gdd
2b44d5c610 Fix wrong display of preferences in Properties window.
Update doc to add MED_BALL elements.
2012-08-23 13:08:11 +00:00
vsr
b010d641ff Add missing docHelper attributes 2012-08-23 07:35:00 +00:00
vsr
5e2d03fd99 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)
2012-08-22 07:33:58 +00:00
vsr
a4ca8bc3bc 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)
2012-08-22 05:45:47 +00:00
eap
7722c85978 021800: EDF 2346 : Bug in the dump of ExtrusionAlongpathX 2012-08-21 15:50:07 +00:00
eap
733a71000e 0021374: EDF 1898 SMESH: Extrusion of a node to have an edge
Set a filter to select groups and sub-meshes corresponding to a constructor id
2012-08-21 15:26:19 +00:00
eap
9767e4ad3e 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
set correct type of a new group
2012-08-21 14:26:08 +00:00
eap
ff3bbcc0c9 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D 2012-08-21 14:14:48 +00:00
eap
110067df8c 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
+  SMESH_Group* AddGroup (SMESHDS_GroupBase* groupDS)
2012-08-21 14:13:23 +00:00
vsr
a22deee34c 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)
2012-08-21 13:49:35 +00:00
vsr
9423cdc0ef 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)
2012-08-21 13:15:16 +00:00
eap
a3bc9d737b SALOME Forum: Mesh export to UNV file does not work anymore with Salome 6.5
http://www.salome-platform.org/forum/forum_14/379396441

  Fix format at writting
2012-08-13 14:19:35 +00:00
eap
809c265960 0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new elements into groups
fix a regression in buildElemPrs()
2012-08-13 09:05:13 +00:00
eap
7c8ba54a1a 0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new elements into groups 2012-08-13 09:03:54 +00:00
gdd
779adc8fa5 Fix crash during preview 2012-08-10 14:01:12 +00:00
eap
beabd65174 0021783: EDF 785 SMESH : Bad display of Groups of Volumes
fix iteration on types of elements
2012-08-08 14:59:54 +00:00
eap
e050f81084 create myBall in brief mode 2012-08-08 13:02:22 +00:00
eap
9eedde53dd 0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates bad elements
Enables fixing node parameters by helper

+        helper.ToFixNodeParameters( true );
2012-08-07 09:18:15 +00:00
eap
6056cf7472 0021765: EDF 2334 SMESH: ConvertToQuadratic with medium node on geometry generates bad elements
+   * \brief Enables fixing node parameters on EDGEs and FACEs by
+   * GetNodeU(...,check=true), GetNodeUV(...,check=true), CheckNodeUV() and
+   * CheckNodeU() in case if a node lies on a shape set via SetSubShape().
+   * Default is False
+   */
+  void ToFixNodeParameters(bool toFix);
2012-08-07 09:16:38 +00:00
gdd
9521abf244 Fix small mistake (',' instead of '+') 2012-08-01 09:36:50 +00:00
eap
4217970fc6 0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
Complete the fix
2012-07-31 15:56:39 +00:00
gdd
f63603631a Update translation files 2012-07-31 15:40:13 +00:00
eap
4bb457d7e6 0021764: EDF SMESH: QUAD9 elements not counted in the mesh computation summary
Add recently added types of elements
2012-07-31 15:01:08 +00:00
eap
0bab05d95d 0021762: EDF 2333 : Bug in composite side algorithm on partition result
fix orientation of EDGEs before calling BRepLProp::Continuity()
2012-07-31 10:51:50 +00:00
eap
5c3c22f91d make SplitVolumesIntoTetra() dump as a method of Mesh 2012-07-30 07:34:54 +00:00
eap
ae45216251 0021759: EDF 1785 SMESH: A group of nodes created by filters is incomplete
bug: elementsIterator(SMDSAbs_Node) returns nothing
2012-07-27 13:11:14 +00:00
eap
84cb6968f2 fix vagrind error at incrementing an iterator pointing to a deleted
map node
2012-07-27 08:26:18 +00:00
eap
b3abeea3ba 0021758: [CEA] Internal test fails with Netgen3D
do not use SMDS_SetIterator for iteration on myCell because
SMDS_SetIterator doesn't allow modification of a container being
iterated
2012-07-27 07:29:41 +00:00
eap
672396228a more info on GetPointState() 2012-07-23 08:14:11 +00:00
eap
7dd9d3dc6b Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+    if ( _computeCanceled ) return false;
2012-07-20 16:13:19 +00:00
eap
257a9fdff2 Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+  COMPERR_CANCELED       = -11  //!< compute canceled
2012-07-20 16:12:39 +00:00
eap
6d10682edc Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+        <source>COMPERR_CANCELED</source>
+        <translation>Computation canceled</translation>
2012-07-20 16:12:27 +00:00
eap
c553d12402 Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+      CASE2TEXT( COMPERR_CANCELED      );
2012-07-20 16:12:16 +00:00
eap
1d6e1db451 -#ifdef WITH_SMESH_CANCEL_COMPUTE 2012-07-20 16:11:59 +00:00
eap
a08c336e83 remove commented obsolete code 2012-07-20 16:11:41 +00:00
eap
7c5dc4f006 Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+  volatile bool _computeCanceled; //!< is set to True while computing to stop it
2012-07-20 16:11:12 +00:00
inv
f2e7ef1458 Fix compilation on Debian
-  typedef SMDS_SetIterator< const _QuadFaceGrid&, TChildren::const_iterator > TChildIterator;
+  typedef SMDS_SetIterator< const _QuadFaceGrid&,
+                            TChildren::const_iterator,
+                            SMDS::SimpleAccessor<const _QuadFaceGrid&,TChildren::const_iterator>,
+                            SMDS::PassAllValueFilter<_QuadFaceGrid> >
+    TChildIterator;
2012-07-20 10:14:08 +00:00
eap
1d17e561d7 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes 2012-07-19 13:26:17 +00:00
eap
392aa8c6a1 +#include <TopoDS_Vertex.hxx> 2012-07-19 13:26:01 +00:00
eap
664466f716 +#include <TopoDS_Face.hxx> 2012-07-19 13:25:51 +00:00
eap
7f92b57200 fix creation of polyhedrons 2012-07-19 13:25:39 +00:00
eap
84f887e8f5 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  CORBA::Long AddBall(CORBA::Long IDOfNodem, CORBA::Double diameter)

-  SMESH::long_array_var myLastCreatedElems;
-  SMESH::long_array_var myLastCreatedNodes;
+  ::SMESH_MeshEditor myEditor;
2012-07-19 13:23:51 +00:00
eap
b6c4d708d5 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  GROUP_BALL,
2012-07-19 13:20:15 +00:00
eap
e519caf020 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+        void AddBall(int NewBallID, int node, double diameter);
2012-07-19 13:19:53 +00:00
eap
71fffb2772 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  virtual SMDS_BallElement* AddBallWithID(int n,                   double diameter, int ID);
+  virtual SMDS_BallElement* AddBallWithID(const SMDS_MeshNode * n, double diameter, int ID);
+  virtual SMDS_BallElement* AddBall      (const SMDS_MeshNode * n, double diameter);
2012-07-19 13:19:31 +00:00
eap
9f32eead4d 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  SMESHDS_AddBall
2012-07-19 13:19:03 +00:00
eap
232eb75e76 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  inline void AddBallsWithID(SMDS_Mesh*            theMesh,
2012-07-19 13:18:27 +00:00
eap
06abe76e03 + * Creates LINEAR!!!!!!!!! octahedron 2012-07-19 13:18:07 +00:00
eap
bcaa0ad2ee 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
SMDS_MeshElement* AddElement(const std::vector<const SMDS_MeshNode*> & nodes,
                                const SMDSAbs_ElementType                 type,
                                const bool                                isPoly,
                                const int                                 ID = -1,
+                               const double                              ballDiameter=0.);

Adjust Transform() and FindElementsByPoint()
2012-07-19 13:17:43 +00:00
eap
baade10114 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  int NbBalls() const throw(SALOME_Exception);
2012-07-19 13:14:54 +00:00
eap
9f74998b92 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  void AllocateDiameters( vtkIdType maxVtkID );
+  void SetBallDiameter( vtkIdType vtkID, double diameter );
+  double GetBallDiameter( vtkIdType vtkID ) const;
2012-07-19 13:14:28 +00:00
eap
f738cc36e8 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
template<typename VALUE,
          typename VALUE_SET_ITERATOR,
          typename ACCESOR=SMDS::SimpleAccessor<VALUE,VALUE_SET_ITERATOR>,
+         typename VALUE_FILTER=SMDS::PassAllValueFilter<VALUE> >
 class SMDS_SetIterator : public SMDS_Iterator<VALUE>
2012-07-19 13:14:09 +00:00
eap
ff0bf10f4a 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  int NbBalls()      const { return myNbBalls; }
2012-07-19 13:13:13 +00:00
eap
c353b35085 + some comments 2012-07-19 13:12:54 +00:00
eap
391cd4d010 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+SMDSAbs_ElementType toSmdsType(SMDSAbs_EntityType entityType)
+SMDSAbs_ElementType toSmdsType(SMDSAbs_GeometryType geomType)
2012-07-19 13:12:33 +00:00
eap
09b72334df 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+  virtual SMDS_ElemIteratorPtr elementGeomIterator(SMDSAbs_GeometryType type) const;
+  virtual SMDS_ElemIteratorPtr elementEntityIterator(SMDSAbs_EntityType type) const;

+  virtual SMDS_BallElement* AddBallWithID(int n,                   double diameter, int ID);
+  virtual SMDS_BallElement* AddBallWithID(const SMDS_MeshNode * n, double diameter, int ID);
+  virtual SMDS_BallElement* AddBall      (const SMDS_MeshNode * n, double diameter);

+  const SMDS_BallElement* FindBall(int idnode) const;
+  static const SMDS_BallElement* FindBall(const SMDS_MeshNode * n);
+  virtual int NbBalls() const;

+  ObjectPool<SMDS_BallElement>* myBallPool;
2012-07-19 13:08:37 +00:00
eap
064c555726 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+        virtual SMDSAbs_GeometryType GetGeomType() const;
2012-07-19 13:06:39 +00:00
eap
2cafa22d7b 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+    SMDSAbs_Ball,
+    SMDSGeom_BALL,
+  SMDSEntity_Ball,
2012-07-19 12:55:55 +00:00
eap
1d17befa34 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+	SMDS_BallElement.hxx
2012-07-19 12:55:29 +00:00
eap
229db9cb6f 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes 2012-07-19 12:50:10 +00:00
eap
20bed398e1 shorten code 2012-07-19 12:49:09 +00:00
eap
61cd810fbe 0021459: EDF 1495 SMESH: Manipulation of discrete elements with attributes
+    class SMESHCONTROLS_EXPORT BallDiameter: public virtual NumericalFunctor{
2012-07-19 12:47:14 +00:00
eap
c4e4c8b73c fix GetSubMeshNodesId() 2012-07-18 12:41:15 +00:00
eap
171b3e8882 0021723: EDF SMESH: Calculation of Aspect Ratio
Use vtkMeshQuality::QuadAspectRatio()
2012-07-13 07:24:06 +00:00
eap
d51770096b 021720: EDF SMESH: Body Fitting hypothesis dialog - Switching between the definition mode resets the previous values 2012-07-11 16:10:38 +00:00
eap
e24d326fce Improve comments 2012-07-11 08:20:12 +00:00
eap
31c3351c50 http://www.salome-platform.org/forum/forum_10/508123838#632325403 : Extrude3D doesn't work
Restore error reporting in the case where existing 1D mesh
  mismatches the projected 2D mesh
2012-07-09 08:35:37 +00:00
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
gdd
889cfca686 Update translation files for the Reverse Faces dialog. 2012-07-04 12:20:52 +00:00
eap
30241e819e 0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF
struct SMESH_TNodeXYZ : public gp_XYZ
 {
+  double               _xyz[3];
2012-07-02 13:26:36 +00:00
eap
2ee680b116 0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF
Enable IsQuadraticSubMesh() work with compounds
2012-07-02 13:25:53 +00:00
eap
c210844f50 0021542: EDF 1699 SMESH: Reorient a group of faces 2012-06-29 13:58:07 +00:00
eap
c28b4480af 0021542: EDF 1699 SMESH: Reorient a group of faces
+    def Reorient2D(self, the2DObject, theDirection, theFaceOrPoint ):
2012-06-29 13:56:13 +00:00
eap
8e5a97609f remove commented code 2012-06-29 13:55:31 +00:00
eap
356b0f81d3 0021542: EDF 1699 SMESH: Reorient a group of faces
+	SMESHGUI_ReorientFacesDlg.h \
2012-06-29 13:54:55 +00:00
eap
dbf098c68f 0021542: EDF 1699 SMESH: Reorient a group of faces
+  // Return height of the tree, full or from this level to topest leaf
+  int                    getHeight(const bool full=true) const;
2012-06-29 13:47:33 +00:00
eap
b998225160 0021542: EDF 1699 SMESH: Reorient a group of faces
namespace SMESHUtils
{
+  template <class TVECTOR>
+  void CompactVector(TVECTOR& vec)
}
2012-06-29 13:47:05 +00:00
eap
4847e994d9 0021542: EDF 1699 SMESH: Reorient a group of faces
a general treatment of sub-meshes passed as arguments not to move
  their creation at script end

+  void _pyGen::PlaceSubmeshAfterItsCreation( Handle(_pyCommand) theCmdUsingSubmesh ) const;
+  static bool _pySubMesh::CanBeArgOfMethod(const _AString& theMethodName);
2012-06-29 13:46:17 +00:00
eap
95a77fcb02 + CORBA::Long Reorient2D(SMESH::SMESH_IDSource_ptr the2Dgroup,
+                         const SMESH::DirStruct&   theDirection,
+                         CORBA::Long               theFace,
+                         const SMESH::PointStruct& thePoint) throw (SALOME::SALOME_Exception);
2012-06-29 13:43:18 +00:00
eap
c6bde687aa struct SMESH_ElementSearcher
{
+  virtual const SMDS_MeshElement* FindClosestTo( const gp_Pnt&       point,
+                                                 SMDSAbs_ElementType type) = 0;
 }
+  int Reorient2D (TIDSortedElemSet &       theFaces,
+                  const gp_Dir&            theDirection,
+                  const SMDS_MeshElement * theFace);

+  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );

+  void ElementBndBoxTree::getElementsInSphere ( const gp_XYZ&     center,
+                                                const double      radius,
+                                                TIDSortedElemSet& foundElems)
2012-06-29 13:41:37 +00:00
eap
6051d0caf8 struct SMESH_ElementSearcher
{
+  virtual const SMDS_MeshElement* FindClosestTo( const gp_Pnt&       point,
+                                                 SMDSAbs_ElementType type) = 0;
 }
+  int Reorient2D (TIDSortedElemSet &       theFaces,
+                  const gp_Dir&            theDirection,
+                  const SMDS_MeshElement * theFace);

+  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );
2012-06-29 13:40:11 +00:00
vsr
2f6ee50dcd 0021669: EDF 2262 SMESH: "Mesh information" takes a long time on small mesh with joint elements 2012-06-20 14:54:14 +00:00
eap
16f4d26534 Avoid synchronization with geom groups when closing a study
+  void setCurrentStudy( SALOMEDS::Study_ptr theStudy,
+                        bool                theStudyIsBeingClosed=false);
2012-06-20 12:25:16 +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
eap
35eb82363a - SMDS_MeshNode* AddNode(double x, double y, double z, int ID = 0);
+  SMDS_MeshNode* AddNode(double x, double y, double z, int ID = 0, double u=0., double v=0.);
2012-06-08 07:06:43 +00:00
gdd
86c4cc3003 Fix for compilation with gcc 4.7 2012-06-07 11:26:44 +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
35a739dc93 0021530: EDF 2176 SMESH: Projection 1D-2D with compounds
Fix for the case of no vertex association
2012-04-11 13:10:03 +00:00
eap
330b5970e3 0021530: EDF 2176 SMESH: Projection 1D-2D with compounds
+  static std::string GeomObjectToEntry(GEOM::GEOM_Object_ptr&  theGeomObject);
2012-04-11 13:08:52 +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
719b352189 0021530: EDF 2176 SMESH: Projection 1D-2D with compounds
keep entries of shapes to be able to return a correct GEOM_Object in
case if it is published several times with different names
2012-04-11 08:23:17 +00:00
eap
b9b021a25d 0021530: EDF 2176 SMESH: Projection 1D-2D with compounds
+  static GEOM::GEOM_Object_ptr EntryOrShapeToGeomObject (const std::string&  theEntry,
+                                                         const TopoDS_Shape& theShape);

+  static void SaveToStream( const std::string& studyEntry, std::ostream & stream);
2012-04-11 08:20:17 +00:00
eap
08e8a82bb2 0021530: EDF 2176 SMESH: Projection 1D-2D with compounds
In GetGroupSubMeshesContaining() preview a case where the main
     shape is a group
2012-04-11 08:19:09 +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
rnv
8d39a9f28e Porting SMESH Plugins on Win32 platform. 2012-03-28 14:37:07 +00:00
rnv
d44f22428b 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module: Update documentation. 2012-03-27 12:52:59 +00:00
rnv
da4fe2a060 Avoid empty items in the "Algorithm" combo-box in the "Create/Edit Mesh" dialog. 2012-03-27 09:52:22 +00:00
vsr
a16044eab3 0021515: EDF 2169 SMESH: groups not in OB 2012-03-23 14:42:48 +00:00
prascle
3776dd7ec5 PR: reorganise smesh plugins and correct MeshCut when there are groups 2012-03-23 13:13:21 +00:00
eap
ae4c8e00df fix raising exception in algoCreator.__call__() 2012-03-23 11:55:39 +00:00
eap
f932a6abb6 0021517: Bad filter dumped when hdf study from previous version of Salome is loaded
set "Compare" to FT_EqualTo instead of FT_Undefined
2012-03-23 09:52:28 +00:00
eap
ddec989c2f 0021517: Bad filter dumped when hdf study from previous version of Salome is loaded
clear re-setting filters to group
2012-03-23 09:11:25 +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
264238f852 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
loadDependentMeshes() before algo->Compute()
2012-03-22 14:09:13 +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
93aaa60ce3 0021517: Bad filter dumped when hdf study from previous version of Salome is loaded
+  void fixFunctorType(...)
2012-03-21 15:55:38 +00:00
gdd
51949e5059 In Extrusion dialog, the distance was troncated to the lower integer. With a distance <1, the extrusion vector size was zero. 2012-03-21 15:41:10 +00:00
eap
5ea2cc6434 0021526: EDF 1855 SMESH: Regression in the Radial Quadrangle hypothesis
fix algoCreator.__call__()
2012-03-21 10:22:32 +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
eap
256069a7e6 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
in SMESH_TNodeXYZ use thread safe getting node coords
2012-03-21 09:02:04 +00:00
eap
a63a653731 untabify 2012-03-21 09:01:05 +00:00
eap
5c5ce5f038 0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+  void   GetXYZ(double xyx[3]) const; // thread safe getting coords
2012-03-21 09:00:38 +00:00
eap
b1255ded98 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
-  if ( !varName.isEmpty() )
+  if ( varName.isEmpty() )
2012-03-19 16:40:29 +00:00
eap
bf4cd9150f 0021522: EDF 573 SMESH: Regression in RotationSweep
-        MaxAngle,Parameters = ParseAngles(MaxAngle)
+        MaxAngle,Parameters,hasVars = ParseAngles(MaxAngle)
2012-03-19 14:55:51 +00:00
eap
6d6fc57a7f 0021521: EDF 317 SMESH: Regression in Wire_Discretisation LengthNearVertex hypotesis
+from smesh import GetName, TreatHypoStatus
2012-03-19 14:50:26 +00:00
eap
9176157728 0021520: EDF 522 SMESH: Regression in MirrorMakeMesh
-        mesh.SetParameters(Mirror.parameters)
+        self.mesh.SetParameters(Mirror.parameters)
2012-03-19 14:31:57 +00:00