Commit Graph

2058 Commits

Author SHA1 Message Date
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
gdd
68d4198983 Fix incorrect doc example 2012-08-20 15:02:39 +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
eap
0a45cd504a Generalize "Cancel Compute" mechanism to be able to report
"Computation canceled" instead of "Algorithm failed" as failure reason

+    COMPERR_CANCELED         // compute canceled
2012-07-20 16:10:45 +00:00
eap
d86ab55200 0021723: EDF SMESH: Calculation of Aspect Ratio
Verdict Geometric Quality Library is not used for triangles
2012-07-20 11:45:37 +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
be115771d7 0021723: EDF SMESH: Calculation of Aspect Ratio
Formula from The Verdict Geometric Quality Library available within
VTK is used
2012-07-20 09:17:17 +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