Commit Graph

1169 Commits

Author SHA1 Message Date
boulant
f035f75e60 Remove deprecated files for padder plugin 2013-07-31 12:37:06 +00:00
eap
04fe81eb47 SALOME Forum bug: structured mesh is not strictly rectilinear with Viscous Layers.
http://www.salome-platform.org/forum/forum_10/998544058

 class SMESH_2D_Algo
 {
+  /*!
+   * \brief Method in which an algorithm generating a structured mesh
+   *        fixes positions of in-face nodes after there movement
+   *        due to insertion of viscous layers.
+   */
+  virtual bool FixInternalNodes(const SMESH_ProxyMesh& mesh,
+                                const TopoDS_Face&     face);
2013-07-31 11:21:55 +00:00
eap
09020c0206 fix a comment 2013-07-31 11:18:51 +00:00
eap
77e7a1f52b decorations 2013-07-31 08:12:54 +00:00
boulant
05a97477ee Remove deprecated files of padder plugin 2013-07-31 07:58:37 +00:00
eap
c979ba741c 0021941: [CEA 699] Use for Auto Color method on mesh group the same
algorithm that this one in GEOM which define colors (note 15888)

In AutoColor(), pass a generated color to a group
2013-07-29 12:21:40 +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
skv
cbb3e2b8bd 0022257: [CEA 900] Regression: on test glue_performance.py 2013-07-25 12:03:04 +00:00
eap
d50d493408 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
In createSubMesh() fix getting a sub-mesh ID for a a sub-mesh on group
2013-07-25 09:00:54 +00:00
eap
b8a3fc622b 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-    aStudyName = ( (char*)SALOMEDS_Tool::GetNameFromPath( myCurrentStudy->URL() ).c_str() );
+    CORBA::String_var url = myCurrentStudy->URL();
2013-07-25 08:59:30 +00:00
eap
e11c322ee9 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
Pb: myLimit leaks if it was not provided at construction
2013-07-24 14:49:27 +00:00
eap
8fe58da2fc small optimization 2013-07-24 14:48:32 +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
14e8376963 IMP: SMESH: Japanese translations 2013-07-24 13:22:27 +00:00
eap
2e6e5e83cb dos2unix 2013-07-24 12:43:59 +00:00
eap
45953e0114 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-  SALOMEDS::UseCaseBuilder_var useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
+  SALOMEDS::UseCaseBuilder_wrap useCaseBuilder = theComponent->GetStudy()->GetUseCaseBuilder();
2013-07-24 12:43:34 +00:00
eap
52b6bfaabb 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
-      QString IOR = app->orb()->object_to_string( theObject );
+      CORBA::String_var ior = app->orb()->object_to_string( theObject );
2013-07-24 12:42:52 +00:00
eap
adab833f26 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
+  delete aHistogram;
2013-07-24 12:42:22 +00:00
eap
d0b4e3c141 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
Fix a leak of a CORBA object
2013-07-23 14:20:46 +00:00
eap
7608df4ad1 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
Make Quality Info dialog look same as Quality Info tab of Mesh Info
dialog: add Help and Dump buttons
2013-07-23 12:35:23 +00:00
eap
eeba8f9c90 Fix treatment of filters after starting usage of AddArgCmd() 2013-07-23 11:41:20 +00:00
eap
60b71b1c6c SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Avoid leaks of CORBA objects at calling TPythonDump() << _this()
Avoid leaks of SMESH_MeshEditor_i
2013-07-22 15:25:50 +00:00
eap
c9d7623239 Avoid leaks of CORBA objects at calling TPythonDump() << _this() 2013-07-22 14:42:25 +00:00
eap
74d40c014d SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
2013-07-22 14:40:00 +00:00
eap
5b15666f93 untabify 2013-07-22 14:38:09 +00:00
eap
eb3c0cb3a3 SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Fix loading a group on filter:

+                filter->UnRegister();
2013-07-22 14:37:06 +00:00
eap
26d878fd9f SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
in SetCriteria():

+  aResPredicate->UnRegister();
2013-07-22 14:36:12 +00:00
eap
997c16d89d SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
1) call myFilterDlg->UnRegisterFilters();
2) re-create an actor after converting a group to standalone as a
CORBA object becomes different from that held by the actor
2013-07-22 14:35:30 +00:00
eap
6a8e2f83ff SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
+  void                      UnRegisterFilters();
2013-07-22 14:29:04 +00:00
eap
91084ee58a SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
2013-07-22 14:27:40 +00:00
eap
e74e528833 In RemoveElement(), find sub-mesh by elt->getshapeId() 2013-07-22 14:08:46 +00:00
inv
5bdade8015 RNV: Fix link errors. 2013-07-22 12:59:01 +00:00
inv
128dba9aef Fix link errors. 2013-07-22 12:55:58 +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
rnc
3f3beb8b95 BUG: EDF 2655: Low performance of hexa to tetra splitting
The whole procedure performance was almost O(n^2) due to insertion of for example 5 elements in a mesh with a free ID at the beginning. The second element is then inserted with a O(n) complexity.
The hexas are now removed after all tetra insertions, which guarantees a O(n) complexity for the whole procedure at a limited memory cost (transient additional cost of 1/5 of total memory occupation at the end).
2013-07-19 16:01:27 +00:00
eap
1fa8c22987 untabify 2013-07-17 14:53:51 +00:00
eap
07ba88a295 In ExtrusionAlongPathX() allow defining RefPoint as [x,y,z] 2013-07-17 14:38:25 +00:00
eap
85aae58ead 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
1) New general mechanism to avoid dump of functors not used later as arguments
2) Use the New general mechanism to filters and sub-meshes
3) Erase the 1st incarnation of re-created objects.
A re-created object appears e.g. as follows:
- create a mesh
- remove the mesh
- save and re-open the study
- create another mesh -> ( two meshes have same Entry ) == ( the 1st mesh is re-created )
2013-07-17 14:27:42 +00:00
eap
94ce6f40fc 22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
Activate selection of the Base Point right at checking its check-box
2013-07-17 08:26:43 +00:00
eap
667c4a210e 22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
Allow selecting any node as a Base Point
2013-07-16 14:31:10 +00:00
eap
e7dbe802e0 22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
Some decorations in ExtrusionAlongTrack()
2013-07-16 14:30:30 +00:00
rnv
5c69524642 Add MedWrapper to dist_dir 2013-07-10 13:31:04 +00:00
eap
c96730d0aa Compute Progress bar 2013-07-09 11:59:40 +00:00
eap
42d136bcdc Compute Progress bar
+  bool DependsOn( const SMESH_subMesh* other ) const;
+  int                   _realComputeCost; // _computeCost depending on presence of needed hypotheses
2013-07-09 11:59:18 +00:00
eap
a311b5af11 Compute Progress bar
-  int& GetComputeCost() { return _computeCost; }
+  std::vector<SMESH_subMesh*>& SubMeshesToCompute() { return _smToCompute; }
2013-07-09 11:58:41 +00:00
eap
f4ec60b8ca make Cancel button checkable 2013-07-09 11:57:50 +00:00
akl
7c7b4b0636 0021708: [CEA 586] Object browser sort only children:
+ Add Use Case browser data tree management
+ Add "Sort children" contextual menu popup item
+ Update user documentation
2013-07-09 08:32:08 +00:00
eap
e0f019ccf9 Compute Progress bar: ignore sub-meshes that are NOT_READY to compute 2013-07-08 11:27:16 +00:00
eap
8ead976689 Compute Progress bar
SMESH_subMeshIteratorPtr getDependsOnIterator(const bool includeSelf,
-                                                const bool complexShapeFirst) const;
+                                                const bool complexShapeFirst=false) const;

+  int GetComputeCost() const;

   TopoDS_Shape getCollection(SMESH_Gen * theGen,
                              SMESH_Algo* theAlgo,
                              bool &      theSubComputed,
                              bool &      theSubFailed,
+                             int  &      theComputeCost);

+  int                   _computeCost; // how costly is to compute this sub-mesh
2013-07-03 16:12:38 +00:00
eap
ffa2f0be82 Compute Progress bar
+  double GetComputeProgress() const;
+  SMESH_Hypothesis * GetHypothesis(const int aHypID) const;
2013-07-03 16:10:31 +00:00
eap
1481fb61da - std::map < int, SMESH_Algo * >_mapAlgo;
-  std::map < int, SMESH_0D_Algo * >_map0D_Algo;
-  std::map < int, SMESH_1D_Algo * >_map1D_Algo;
-  std::map < int, SMESH_2D_Algo * >_map2D_Algo;
-  std::map < int, SMESH_3D_Algo * >_map3D_Algo;
2013-07-03 16:09:54 +00:00
eap
fad96c2870 Compute Progress bar
+  virtual double GetProgress() const;
+  double GetProgressByTic() const;
+  int& GetComputeCost() { return _computeCost; }

+  int           _computeCost;     //!< "compute cost" of shapes being Compute()d
+  int           _progressTic;     //!< counter of calls from SMESH_Mesh::GetComputeProgress()
+  double        _progress;        //!< progress of Compute() [0.,1.]
2013-07-03 16:09:28 +00:00
eap
fc8ad974ab SMESH_Gen::_map1D_Algo no longer exists 2013-07-03 16:07:54 +00:00
eap
ed5bf36e41 1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
+  static CORBA::Long*       GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
+  virtual SMESH::long_array* GetNbElementsByType();
2013-07-03 16:06:14 +00:00
eap
89edbafa37 1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
+  static CORBA::Long*       GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
2013-07-03 16:05:46 +00:00
eap
69da5c7991 1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
+  virtual SMESH::long_array* GetNbElementsByType();

+  static SMDS_ElemIteratorPtr GetElements(SMESH::SMESH_IDSource_ptr obj,
+                                          SMESH::ElementType        type);

2) Compute Progress bar

+  CORBA::Double GetComputeProgress();
2013-07-03 16:05:28 +00:00
eap
95a58b5ecf 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
+  virtual SMESH::long_array* GetNbElementsByType();
2013-07-03 16:04:07 +00:00
eap
38e26e89c3 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
interface SMESH_IDSource
   {
+    long    NbSatisfying( in SMESH::SMESH_IDSource obj );

  interface NumericalFunctor: Functor
  {
+    Histogram GetLocalHistogram( in short nbIntervals, in boolean isLogarithmic,
+                                 in SMESH::SMESH_IDSource obj );
2013-07-03 16:03:14 +00:00
eap
7567e381c8 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
Optimization for large meshes
2013-07-03 16:02:20 +00:00
eap
f4b63cd2bd Compute progress bar 2013-07-03 16:01:42 +00:00
eap
49cd1d951a untabify 2013-07-03 16:00:57 +00:00
eap
35035f1212 0022238: Study dump produced by SMESH refers to undefined variable names
void fixFunctorType()
{
+      ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined );
2013-07-02 14:27:15 +00:00
eap
1d05754e58 0022238: Study dump produced by SMESH refers to undefined variable names
Fix CheckObjectPresence() again

+  ASSERT( thePartIndex > 0 );
2013-07-02 13:39:05 +00:00
eap
06ef82c3a7 0022238: Study dump produced by SMESH refers to undefined variable names
Remove "aStudyBuilder.RemoveObjectWithChildren(SO)" for SO whose
creation command was removed or commented
2013-07-02 12:02:33 +00:00
mpa
a58d128175 0020976: EDF 1471 SMESH: New ergonomy to display quality controls 2013-06-27 12:35:43 +00:00
eap
12d456d34e CoTech decision: move MEDWrapper from MED to SMESH 2013-06-25 15:23:19 +00:00
eap
aba3423ef3 Bug: not all fields available after switching from the 3-d to an other constructor
+      myTextLabel2->show();
+      mySelectButton2->show();
+      myLineEdit2->show();
2013-06-25 13:51:49 +00:00
eap
7a8032bb6e -// $Header: 2013-06-25 11:57:48 +00:00
eap
9a3c7509b6 CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists

-      aStr<<"bash -c \""<<getenv("MED_ROOT_DIR")<<"/bin/salome/mprint_version \'"<<theFileName<<"\'\"";
+      aStr<<"bash -c \""<<getenv("SMESH_ROOT_DIR")<<"/bin/salome/mprint_version \'"<<theFileName<<"\'\"";
2013-06-25 11:57:19 +00:00
eap
1500689577 CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists

SALOME_MED::MedFileInfo -> SMESH::MedFileInfo
2013-06-25 11:56:49 +00:00
eap
c5add157d7 CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists
2013-06-25 11:56:05 +00:00
eap
f107c3dc69 CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists

-    ## Gets MED Mesh
-    #  @return an instance of SALOME_MED::MESH
-    #  @ingroup l1_auxiliary
-    def GetMEDMesh(self):
-        return self.mesh.GetMEDMesh()
2013-06-25 11:55:34 +00:00
eap
e33c22a1d1 CoTech decision: move MEDWrapper from MED to SMESH
+	../MEDWrapper/Factory/libMEDWrapper.la \
+	../MEDWrapper/Base/libMEDWrapperBase.la \
+	../MEDWrapper/V2_2/libMEDWrapper_V2_2.la \
2013-06-25 09:14:40 +00:00
eap
d0aa6dbc4a CoTech decision: move MEDWrapper from MED to SMESH
+#include "MED_Factory.hxx"
2013-06-24 10:09:43 +00:00
eap
4fa06a6894 CoTech decision: move MEDWrapper from MED to SMESH
+	-I$(srcdir)/../MEDWrapper/Base \
+	-I$(srcdir)/../MEDWrapper/Factory \

-	$(MED_LDFLAGS) \
-	-lMEDWrapper \
-	-lMEDWrapper_V2_2 \
-        -lSalomeIDLMED \
2013-06-24 10:08:26 +00:00
eap
bc2201e3e0 CoTech decision: move MEDWrapper from MED to SMESH
+	-I$(srcdir)/../MEDWrapper/Base \
2013-06-24 10:07:56 +00:00
eap
d2061a67e9 CoTech decision: move MEDWrapper from MED to SMESH
-#include <MED_Common.hxx>
+#include "MED_Common.hxx"
2013-06-24 10:07:44 +00:00
eap
dbf60372a6 CoTech decision: move MEDWrapper from MED to SMESH
-	$(MED_CXXFLAGS) \

+	-I$(srcdir)/../MEDWrapper/Base \
2013-06-24 10:07:19 +00:00
eap
beb621c883 CoTech decision: move MEDWrapper from MED to SMESH
-  void                SetFile(const std::string& theFileName);
+  virtual void        SetFile(const std::string& theFileName);
2013-06-24 10:06:53 +00:00
eap
7ec258416f CoTech decision: move MEDWrapper from MED to SMESH
+	MEDWrapper \
2013-06-24 10:06:18 +00:00
eap
8cf728d8be Add English translations to unfinished ones 2013-06-21 10:40:14 +00:00
eap
aa99dc4c2c Synchronizing with SMESH_msg_en.ts 2013-06-21 08:36:07 +00:00
eap
bc01f35b88 <source>SMESH_GIGABYTE</source>
-        <translation>%1 G</translation>
+        <translation>%1 GB</translation>
2013-06-21 08:35:49 +00:00
vsr
bcb546c1b2 0022169: [CEA 750] Chose before visualization mesh element type to display 2013-06-21 05:33:07 +00:00
eap
9ad61d3503 Show free RAM while computing the mesh 2013-06-20 14:29:16 +00:00
eap
5dcd4d5ae9 + SUIT_OverrideCursor wc; 2013-06-20 13:05:03 +00:00
kga
14570f80e3 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
fix v1
2013-06-19 07:46:33 +00:00
cvw
51aa4c4a2d deprecated v7 import smesh, studyBuilder modification 2013-06-18 08:34:04 +00:00
cvw
ca40d2121f merge from BR_pluginMGCleaner tag mergeto_v7_main_17jun13 2013-06-18 08:31:15 +00:00
cvw
dc02ba1daa merge from BR_pluginMGCleaner tag mergeto_v7_main_17jun13 2013-06-17 14:56:45 +00:00
cvw
3d7ec410f2 best warning on qlineedit for double value 2013-06-17 14:49:25 +00:00
cvw
071166030d deprecated import smesh smeshBuilder 2013-06-14 11:56:20 +00:00
cvw
3bd0a20a52 add SMESH plugin MGCleaner 2013-06-13 13:50:31 +00:00
cvw
739951e33d bug 2013-06-13 13:47:53 +00:00
cvw
02df1b69aa add SMESH plugin MGCleaner 2013-06-13 13:38:35 +00:00
eap
25008e4a96 21952: EDF 2383 SMESH : Add an option to write planar meshes as 3D meshes in MED files
Correct position of autoDimension in ExportMED()
2013-06-11 11:51:44 +00:00
eap
9a93fe49f9 0022229: [CEA 829] Error "Edge multiple times in surface mesh"
Fix IsReversedSubMesh(), avoid getting uv on a faces at a singularity
point of sphere
2013-06-11 10:24:55 +00:00
eap
4fecefcc2b 0021952: Add an option to write planar meshes as 3D meshes in MED files 2013-06-05 15:13:53 +00:00
eap
dfe28da84c avoid "unused variable" compilation warnings 2013-06-05 10:04:09 +00:00
eap
543e7425c7 avoid compilation warnings 2013-06-05 09:59:53 +00:00
eap
bd8276e43f avoid compilation warnings in release mode 2013-06-05 09:49:03 +00:00
eap
973402fcd3 avoid compilation warnings in release mode 2013-06-05 09:39:43 +00:00
eap
6c81f9a1e5 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh
2013-06-04 15:05:51 +00:00
eap
d98ea3bd2b 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

Have a separate SMESH_MesherHelper in each TSideFace in order to get a
correct UV on periodic FACE
2013-06-04 15:05:28 +00:00
eap
9ebd1fea41 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

In GetUVPtStruct(), update normParam when reloading points from a proxy
mesh in a reversed order
2013-06-04 15:03:15 +00:00
eap
dccff92fcb 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

In ComputeParameters(), more attempts to get a correct result
2013-06-04 15:00:45 +00:00
eap
b61aaf79a6 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

Redesign onCriterionChanged() to avoid SIGSEGV on a comboItem of an
improper side
2013-06-04 14:59:12 +00:00
eap
a77a5a1a51 0022103: EDF 2550 SMESH : Allow viscous layer with 3D extrusion
= Allow viscous layers on boundary EDGEs of a 2D sub-mesh

Make const GetNodeU()
2013-06-04 14:58:08 +00:00
eap
ea2fec5674 - //_face.Orientation( TopAbs_FORWARD );
+  _face.Orientation( TopAbs_FORWARD ); // 2D logic works only in this case
2013-05-31 11:56:48 +00:00
eap
083e873dfe check orientation when re-loading points from a proxy mesh 2013-05-31 11:56:32 +00:00
eap
65c94961fc take care of a correct orientation (attempt No2 ) 2013-05-30 16:35:57 +00:00
eap
05c6c409ee take care of a correct orientation 2013-05-30 16:28:03 +00:00
eap
708660afc3 "import python files corresponding to plugins" is not needed (since long time) 2013-05-30 14:32:41 +00:00
eap
f72c766475 untabify and
-#ifdef WITHGENERICOBJ
2013-05-30 14:20:52 +00:00
eap
036be279a4 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
Provide access to QLabel's of parameters:

+  QLabel*                      getLabel(int i) const;

+  ListOfWidgets                myParamLabels;
2013-05-30 14:20:00 +00:00
eap
9f9b06a194 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
-    def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor, ignoreEdges=[]):
+    def ViscousLayers2D(self, thickness, numberOfLayers, stretchFactor,
+                        edges=[], isEdgesToIgnore=True ):
2013-05-30 14:18:23 +00:00
eap
62c442d05f 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer 2013-05-30 14:17:56 +00:00
eap
cb2ff0ef70 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
In addition to implementing IMP, avoid "limiting" _thickness to zero:

-    _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
+    if ( maxPossibleThick > 0. )
+      _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
2013-05-30 14:15:57 +00:00
eap
4a87093dce 0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
+  void SetBndShapes(const std::vector<int>& shapeIds, bool toIgnore);
+  std::vector<int> GetBndShapes() const { return _shapeIds; }
+  bool IsToIgnoreShapes() const { return _isToIgnoreShapes; }

  private:

-  std::vector<int> _ignoreBndShapeIds;
+  std::vector<int> _shapeIds;
+  bool             _isToIgnoreShapes;
2013-05-30 14:14:31 +00:00
inv
a29849f24b Compatibility with gcc 4.1 (centos 5) 2013-05-30 08:02:04 +00:00
eap
abdbef3f20 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
In MakeComputed(), call SMESH_Gen::Compute() with aShapeOnly = true

-    return gen->Compute( *mesh, shape );
+    return gen->Compute( *mesh, shape, /*shapeOnly=*/true );
2013-05-29 15:32:30 +00:00
eap
557a9b549c 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
-      if ( myGen.Compute( myLocMesh, myLocShape, false, aDim, &shapeIds ) )
+      if ( myGen.Compute( myLocMesh, myLocShape, false, false, aDim, &shapeIds ) )

The 3-d parameter aShapeOnly added to SMESH_Gen::Compute()
2013-05-29 15:31:16 +00:00
eap
e884e4cd7e 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
Choose a compute event (COMPUTE or COMPUTE_SUBMESH) depending on an
explicit parameter aShapeOnly.

   bool Compute(::SMESH_Mesh &        aMesh,
                const TopoDS_Shape &  aShape,
+               const bool            aShapeOnly=false,
                const bool            anUpward=false,
                const ::MeshDimension aDim=::MeshDim_3D,
                TSetOfInt*            aShapesId=0);
2013-05-29 15:29:19 +00:00
eap
ccd189545b 0022136: EDF 2345 SMESH: Improving documentation of Quadrangle mapping with the type "Reduced"
1) Send a warning if Reduced transition can't be used.
2) Fix SIGSEGV for the case of nbRows = 1, nbTop = 4, nbBot = 16
2013-05-29 13:41:51 +00:00
eap
cbfe948334 Make ElemEntityType pass nodes through as well 2013-05-28 16:51:03 +00:00
eap
dc9f23c3cd 0022108: EDF 2547 SMESH: Duplicate elements only
+    def DoubleElements(self, theElements, theGroupName=""):
2013-05-28 16:49:24 +00:00
eap
251eb76e54 0022108: EDF 2547 SMESH: Duplicate elements only
Modify UniqueName() to look through all objects (groups, sub-meshes
etc) and not only meshes.
2013-05-28 16:49:06 +00:00
eap
4effbfc0dc 0022108: EDF 2547 SMESH: Duplicate elements only 2013-05-28 16:47:51 +00:00
eap
5cc99bd09d 0022108: EDF 2547 SMESH: Duplicate elements only
1)
+  SMESH::SMESH_Group_ptr DoubleElements(SMESH::SMESH_IDSource_ptr theElements,
+                                        const char*               theGroupName)

2) set mesh to a filter
+  void prepareIdSource(SMESH::SMESH_IDSource_ptr theObject);
2013-05-28 16:46:20 +00:00
eap
2de5e478f7 0022108: EDF 2547 SMESH: Duplicate elements only
1)
+  void _pyGen::addFilterUser( Handle(_pyCommand)& theCmd, const Handle(_pyObject)& user );

2)
+   * \brief Replaces "mesh.GetIDSource([id1,id2])" argument of a given command by
+   *        a list "[id1,id2]" if the list is an accesible type of argument.
+   */
+  void GetIDSourceToList( Handle( _pyCommand)& theCommand )

3)
+   * \brief Replaces "SMESH.PointStruct(x,y,z)" and "SMESH.DirStruct( SMESH.PointStruct(x,y,z))"
+   *        arguments of a given command by a list "[x,y,z]" if the list is accesible
+   *        type of argument.
+   */
+  void StructToList( Handle( _pyCommand)& theCommand )
2013-05-28 16:45:15 +00:00
eap
eb58d6d004 0022108: EDF 2547 SMESH: Duplicate elements only
+  void _pyGen::addFilterUser( Handle(_pyCommand)& theCmd, const Handle(_pyObject)& user );
2013-05-28 16:43:28 +00:00
eap
fec22e7699 0022108: EDF 2547 SMESH: Duplicate elements only
1)
+  void DoubleElements( const TIDSortedElemSet& theElements );

2)
+  template < class ELEM_SET >
+  SMDS_ElemIteratorPtr elemSetIterator( const ELEM_SET& elements );
2013-05-28 16:42:11 +00:00
eap
9d998b2291 0022108: EDF 2547 SMESH: Duplicate elements only
+  void DoubleElements( const TIDSortedElemSet& theElements );
2013-05-28 16:41:32 +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
akl
1227aa421b Fix of 0022218: EDF 2638 SMESH: Issue when importing UNV file:
read the whole line instead of chars set.
2013-05-28 08:52:35 +00:00
eap
d9e7f2c591 0022218: EDF 2638 SMESH: Issue when importing UNV file
-  const size_t theMaxLineLen = 82;
+  const size_t theMaxLineLen = 82; // 80 for text + 2 for "\r\n"
2013-05-28 08:33:47 +00:00
akl
96625f32df Fix of 0022218: EDF 2638 SMESH: Issue when importing UNV file:
set the correct number of symbols to read the given coordinate system data.
2013-05-28 08:16:34 +00:00
vsr
2cbc0e004d Fix regression (SIGSEGV) caused by improvement 0022099 2013-05-27 14:50:33 +00:00
eap
a541c7e70e 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
Improve MakeComputed to compute a source sub-mesh using an
 all-dimensional algo of dim greater than dim of the given sub-mesh
2013-05-27 14:04:00 +00:00
eap
6b2c537fcd 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
int GetHypotheses(const TopoDS_Shape &                aSubShape,
                   const SMESH_HypoFilter&             aFilter,
                   list <const SMESHDS_Hypothesis * >& aHypList,
                   const bool                          andAncestors,
+                  list< TopoDS_Shape > *              assignedTo=0) const
2013-05-27 14:01:40 +00:00
eap
fce384ca68 Fix a typo nagate -> negate 2013-05-27 14:00:27 +00:00
eap
6a6b89f677 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...)
Fix checkConformIgnoredAlgos() to prevent warning on hiding a local
algo by a local all-dimensional algo of upper dim.
2013-05-27 13:59:56 +00:00
eap
4443257370 Make const GetAppliedHypothesis() and GetUsedHypothesis() 2013-05-27 13:56:30 +00:00
eap
b4fdb7ebde 0022172: [CEA 790] create the groups corresponding to domains
Allow calling Create() and Assign() with geom == None
2013-05-24 12:01:17 +00:00
eap
2c17372e2f 0022172: [CEA 790] create the groups corresponding to domains
Fix treating a warning sent by algorithm.Compute() - print "Warning"
instead of "Error"
2013-05-24 12:00:21 +00:00
eap
401090842f 0022172: [CEA 790] create the groups corresponding to domains
Fix dump of AddHypothesis() in the case w/o geometry
2013-05-24 11:57:38 +00:00
eap
0f7414545b 0022172: [CEA 790] create the groups corresponding to domains
1) Do not erase "mesh.Compute()" command if the next command
   "[ group1, group2 ] = mesh.GetGroups()" dumps groups created by some algorithm.

2) Clear "mesh.RemoveGroup( group )" command
3) Clear "[ group1, group2 ] = mesh.GetGroups()" command if the groups
   are removed later.
2013-05-24 11:55:12 +00:00
eap
7b5176ec4d 0022172: [CEA 790] create the groups corresponding to domains
Prepend "Warning" to error description with code==COMPERR_WARNING
2013-05-24 11:49:50 +00:00
eap
10a6101340 0022172: [CEA 790] create the groups corresponding to domains
1) Reset _algo = 0 if ( event == REMOVE_ALGO || event == REMOVE_FATHER_ALGO )

2) Avoid erasing _computeError holding a WARNING is algo->Compute() returns true

-          if ( !_computeError || ( !ret && _computeError->IsOK() ) )
+          if ( !_computeError || (/* !ret && */_computeError->IsOK() ) )
             _computeError = algo->GetComputeError();

3) Fix notifyListenersOnEvent():

-      if ( !isDeletable || !_eventListeners.count( li_da.first ))
+      if ( !isDeletable || _eventListeners.count( li_da.first ))
         li_da.first->myBusySM.erase( this ); // a listener is hopefully not dead
2013-05-24 11:46:27 +00:00
eap
610978f5f6 Treat Scale commands 2013-05-22 16:05:06 +00:00
vsr
5de80d5f32 0022101: EDF 2492 SMESH: Update Destination field when "Find closest to destination" is unchecked in "Move node" 2013-05-22 15:48:24 +00:00
eap
5dcf8c6597 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles 2013-05-22 15:36:05 +00:00
eap
f96a5f853b 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
+    def QuadTo4Tri (self, theElements=[]):
2013-05-22 15:35:28 +00:00
eap
741e8ae522 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
Treat SMESH_MeshEditor::QuadTo4Tri()
2013-05-22 15:34:17 +00:00
eap
ba9f67eab1 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
+  void           QuadTo4Tri      (SMESH::SMESH_IDSource_ptr   theObject)
2013-05-22 15:33:27 +00:00
vsr
b07f27826f 0022099: EDF 2307 SMESH: Apply a transformation to several meshes, sub-meshes or groups 2013-05-22 15:25:18 +00:00
eap
751d20eca2 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
+  void QuadTo4Tri (TIDSortedElemSet & theElems);
2013-05-22 14:58:32 +00:00
eap
8506f58d10 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
Fix position of a central node of a distorted bi-quadratic triangle

+   * \brief Return UV for the central node of a biquadratic triangle
+   */
+  static gp_XY GetCenterUV(const gp_XY& uv1,
+                           const gp_XY& uv2,
+                           const gp_XY& uv3,
+                           const gp_XY& uv12,
+                           const gp_XY& uv23,
+                           const gp_XY& uv31,
+                           bool *       isBadTria=0);
2013-05-22 14:58:06 +00:00
eap
82b050103f + void SetParameters(double aUparam, double aVparam); 2013-05-22 14:54:20 +00:00
vsr
686e5fb3ee 0022097: EDF 2408 SMESH: Hide ID of double node in the function "Merge nodes" 2013-05-22 14:03:03 +00:00
vsr
10e0608dee 0022097: EDF 2408 SMESH: Hide ID of double node in the function "Merge nodes" 2013-05-22 13:35:08 +00:00
vsr
e0528f4426 Fix problem with highlighting polyhedrons 2013-05-22 13:20:53 +00:00
vsr
e87a86a68d 0021941: [CEA 699] Use for Auto Color method on mesh group the same algorithm that this one in GEOM which define colors. 2013-05-21 14:57:30 +00:00
eap
88068fce89 0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group 2013-05-21 09:09:04 +00:00
eap
f70691d5a4 Fix a doc of GetFilter()
+   #  @param mesh the mesh to initialize the filter with
    #  @return SMESH_Filter
    #
    #  <a href="../tui_filters_page.html#tui_filters">Example of Filters usage</a>
    #  @ingroup l1_controls
    def GetFilter(self,elementType,
2013-05-21 09:08:25 +00:00
eap
af65a4c6c9 0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
+  // Create groups of elements preventing computation of a sub-shape
+  SMESH::ListOfGroups* MakeGroupsOfBadInputElements( int         theSubShapeID,
+                                                     const char* theGroupName)
+    throw (SALOME::SALOME_Exception);
2013-05-21 09:07:16 +00:00
eap
dcd520f576 0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
+  // Create groups of elements preventing computation of a sub-shape
+  SMESH::ListOfGroups* MakeGroupsOfBadInputElements( SMESH::SMESH_Mesh_ptr theMesh,
+                                                     CORBA::Short          theSubShapeID,
+                                                     const char*           theGroupName)
+    throw ( SALOME::SALOME_Exception );
2013-05-21 09:06:43 +00:00
eap
46654775eb In GetSubMesh(), assure calling fillAncestorsMap() for each compound
(take into account that a compound can be added to SMESHDS_Mesh at
creation of group on geometry)
2013-05-20 09:11:12 +00:00
akl
e69867dda8 Fix to take into account qudratic edges also. 2013-05-17 12:26:06 +00:00
eap
7c9cf53741 untabify 2013-05-16 17:18:39 +00:00
eap
0e9e37a6e8 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
0022100: EDF 2413 SMESH: Take into account TRIA7
2013-05-16 17:18:28 +00:00
eap
9791c651e7 0022100: EDF 2413 SMESH: Take into account TRIA7 2013-05-16 17:17:56 +00:00
eap
7c9baff7a5 indentation 2013-05-16 17:16:44 +00:00
eap
50e4126336 0022100: EDF 2413 SMESH: Take into account TRIA7
+  case 4137:     // BIQUADRATIC TRIANGLE

Support all types of elements in DAT format files
2013-05-16 17:15:56 +00:00
eap
b93c19aaa2 untabify 2013-05-16 17:09:28 +00:00
eap
8df43f2a70 0022195: EDF SMESH: Mesh using existing elements. 2013-05-16 17:08:45 +00:00
eap
9b739aaa01 0022195: EDF SMESH: Mesh using existing elements.
In Compute() call assure the source mesh is loaded:
_sourceHyp->GetGroups(/*loaded=*/true);

In getMaps(), do not clear n2n map to assure sharing nodes on EDGEs
for adjacent FACEs
2013-05-16 17:06:42 +00:00
eap
3010de27c3 0022195: EDF SMESH: Mesh using existing elements.
To load the mesh owning source groups

-  const std::vector<SMESH_Group*>& GetGroups() const;
+  const std::vector<SMESH_Group*>& GetGroups(bool loaded=false) const;
2013-05-16 17:02:10 +00:00
eap
42491f3cb5 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
+#include "SMESH_MeshAlgos.hxx"
2013-05-16 16:58:08 +00:00
eap
f2160ad9de + subMeshOfSolid->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE ); 2013-05-16 16:55:53 +00:00
eap
22dd2b977a 0022100: EDF 2413 SMESH: Take into account TRIA7
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

+    def NbBiQuadTriangles(self):

+    def ClearLastCreated(self):

    def GetFilter(self,elementType,
                  CritType=FT_Undefined,
                  Compare=FT_EqualTo,
                  Threshold="",
                  UnaryOp=FT_Undefined,
                  Tolerance=1e-07,
+                 mesh=None):
2013-05-16 16:55:14 +00:00
eap
70fad16a15 0022100: EDF 2413 SMESH: Take into account TRIA7 2013-05-16 16:53:18 +00:00
eap
998c774c5d 0022100: EDF 2413 SMESH: Take into account TRIA7
+  CORBA::Long NbBiQuadTriangles()
2013-05-16 16:49:03 +00:00
eap
3a8dfa1bdb +#include "SMESH_MeshAlgos.hxx"
+// A macro used in SMESH_TryCatch.hxx,
+// it re-raises a CORBA SALOME exception thrown by SMESH_MeshEditor_i and caught by SMESH_CATCH
+#define SMY_OWN_CATCH \
+  catch ( SALOME::SALOME_Exception & e ) { throw e; }

+  void ClearLastCreated() throw (SALOME::SALOME_Exception);
2013-05-16 16:48:19 +00:00
eap
143bb6d8a6 + void ClearLastCreated() throw (SALOME::SALOME_Exception); 2013-05-16 16:46:57 +00:00
eap
b47c581141 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
+  class SMESH_I_EXPORT ConnectedElements_i: public virtual POA_SMESH::ConnectedElements,
+                                            public virtual Predicate_i

+    ConnectedElements_ptr     CreateConnectedElements();
2013-05-16 16:46:26 +00:00
eap
9be03d1b02 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh 2013-05-16 16:45:34 +00:00
eap
765c100cd0 0022100: EDF 2413 SMESH: Take into account TRIA7
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
2013-05-16 16:44:02 +00:00
eap
45157dd914 0022100: EDF 2413 SMESH: Take into account TRIA7
+  aFilter->RegisterCellsWithType(VTK_BIQUADRATIC_TRIANGLE);
2013-05-16 16:41:58 +00:00
eap
7868270178 0022100: EDF 2413 SMESH: Take into account TRIA7
decompose bi-quadratic elements using the central node of face
2013-05-16 16:41:30 +00:00
eap
3e2ff42c86 1) Remove writing into stdout
2) Support all types of elements
2013-05-16 16:39:55 +00:00
eap
6d0acadd44 0022100: EDF 2413 SMESH: Take into account TRIA7 2013-05-16 16:38:48 +00:00
eap
101919845f 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
+#include "SMESH_MeshAlgos.hxx"

+    class SMESHCONTROLS_EXPORT ConnectedElements: public virtual Predicate
2013-05-16 16:36:26 +00:00
eap
b73a05d5ec 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
Move SMESH_ElementSearcher to from SMESH/SMESH_MeshEditor.hxx SMESHUtils/SMESH_MeshAlgos.hxx
in order to make SMESH_ElementSearcher accessible from Controls/SMESH_Controls.cxx

+	SMESH_MeshAlgos.cxx
2013-05-16 16:35:18 +00:00
eap
f377659e82 0022100: EDF 2413 SMESH: Take into account TRIA7
Fix AddNode() for the case if a node already in
2013-05-16 16:33:34 +00:00
eap
30c56009c3 0022100: EDF 2413 SMESH: Take into account TRIA7
-  void SetNodeInVolume(SMDS_MeshNode * aNode, const TopoDS_Shell & S);
+  void SetNodeInVolume(const SMDS_MeshNode * aNode, const TopoDS_Shell & S);

-  void MoveNode(const SMDS_MeshNode *, double x, double y, double z);
+  virtual void MoveNode(const SMDS_MeshNode *, double x, double y, double z);

+  // biquadratic triangle of 7 nodes
+  virtual SMDS_MeshFace* AddFaceWithID(int n1, int n2, int n3,
+                                       int n12,int n23,int n31, int nCenter, int ID);
2013-05-16 16:32:39 +00:00
eap
6cc3a49ea9 0022100: EDF 2413 SMESH: Take into account TRIA7 2013-05-16 16:30:18 +00:00
eap
f0c8a5c35a 0022100: EDF 2413 SMESH: Take into account TRIA7
+  inline void AddBiQuadTriasWithID(SMDS_Mesh* theMesh,
+                                   SMESH::log_array_var theSeq,
+                                   CORBA::Long theId)
2013-05-16 16:29:56 +00:00
eap
96862daa25 arrange #include 2013-05-16 16:29:29 +00:00
eap
098ecf81c2 0022100: EDF 2413 SMESH: Take into account TRIA7
+  const SMDS_MeshNode* GetCentralNode(const SMDS_MeshNode* n1,
+                                      const SMDS_MeshNode* n2,
+                                      const SMDS_MeshNode* n3,
+                                      const SMDS_MeshNode* n12,
+                                      const SMDS_MeshNode* n23,
+                                      const SMDS_MeshNode* n31,
+                                      bool                 force3d);
2013-05-16 16:28:40 +00:00
eap
664ae5e033 1) 0022100: EDF 2413 SMESH: Take into account TRIA7
2) 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh

Move SMESH_ElementSearcher to from SMESH/SMESH_MeshEditor.hxx SMESHUtils/SMESH_MeshAlgos.hxx
in order to make SMESH_ElementSearcher accessible from Controls/SMESH_Controls.cxx

-struct SMESH_NodeSearcher
-{
-struct SMESH_ElementSearcher
-{
-  SMESH_NodeSearcher* GetNodeSearcher();
-  SMESH_ElementSearcher* GetElementSearcher();
-  SMESH_ElementSearcher* GetElementSearcher( SMDS_ElemIteratorPtr elemIt );
-  static bool IsOut( const SMDS_MeshElement* element, const gp_Pnt& point, double tol );
-  static double GetDistance( const SMDS_MeshFace* face, const gp_Pnt& point );
-  static const SMDS_MeshElement* FindFaceInSet(const SMDS_MeshNode*    n1,
2013-05-16 16:27:06 +00:00
eap
68683b462f 0022100: EDF 2413 SMESH: Take into account TRIA7
+  int NbBiQuadTriangles() const throw(SALOME_Exception);
2013-05-16 16:23:11 +00:00
eap
36f9a5cb34 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
Move SMESH_ElementSearcher to from SMESH/SMESH_MeshEditor.hxx SMESHUtils/SMESH_MeshAlgos.hxx
in order to make SMESH_ElementSearcher accessible from Controls/SMESH_Controls.cxx

-  static bool FaceNormal(const SMDS_MeshElement* F, gp_XYZ& normal, bool normalized=true);
-  static std::vector< const SMDS_MeshNode*> GetCommonNodes(const SMDS_MeshElement* e1,
-                                                           const SMDS_MeshElement* e2);
2013-05-16 16:22:25 +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
eap
90925ba7c0 0022100: EDF 2413 SMESH: Take into account TRIA7
+  virtual SMDS_MeshFace* AddFace(const SMDS_MeshNode * n1,
+                                 const SMDS_MeshNode * n2,
+                                 const SMDS_MeshNode * n3,
+                                 const SMDS_MeshNode * n12,
+                                 const SMDS_MeshNode * n23,
+                                 const SMDS_MeshNode * n31,
+                                 const SMDS_MeshNode * nCenter);

+  virtual void MoveNode(const SMDS_MeshNode *n, double x, double y, double z);
2013-05-16 16:06:21 +00:00
eap
77bf33663f indentation 2013-05-16 16:04:50 +00:00
eap
7cd54f6b75 0022100: EDF 2413 SMESH: Take into account TRIA7
+      _cellDimension[VTK_BIQUADRATIC_TRIANGLE] = 2;
2013-05-16 16:04:30 +00:00
eap
42462cd3f9 0022100: EDF 2413 SMESH: Take into account TRIA7
+  SMDSEntity_BiQuad_Triangle,
2013-05-16 16:04:10 +00:00
pnoyret
b1f8e808d5 specification des unités de chordal deviation 2013-05-16 13:31:34 +00:00
pnoyret
bed33c76b7 Pour prise en compte de la bonne valeur par defaut du chordal deviation 2013-05-16 13:24:39 +00:00
eap
89682777f7 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
Fix notifyListenersOnEvent() for the case of removing an EventListener (attempt No.2)
2013-04-29 14:18:32 +00:00
eap
36550205e6 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
Fix notifyListenersOnEvent() for the case of removing an EventListener
2013-04-29 12:00:40 +00:00
eap
55e345e578 Regression of SMESH_TEST/Grids/smesh/imps7/H6
Unreachable deep idea

           bool subComputed = false, subFailed = false;
           if (!algo->OnlyUnaryInput()) {
-            if ( event == COMPUTE &&
-                 ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() ))
+            if ( event == COMPUTE /*&&
+                 ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )*/)
               shape = getCollection( gen, algo, subComputed, subFailed );
             else
               subComputed = SubMeshesComputed( & subFailed );
2013-04-26 15:53:34 +00:00
eap
adde8edd1b Regression of SMESH_TEST/Grids/smesh/imps7/H5
Fix position of medium nodes that are set to FACE by
StdMeshers_Projection_2D, since EDGEs are discreteized later than FACE.
2013-04-26 14:43:46 +00:00
eap
65c45fcb35 Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
Fix the ensuring stability of SMESH_MeshEditor::makeWalls().
2013-04-26 11:47:26 +00:00
eap
250c4f2244 Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
Fix the ensuring stability of SMESH_MeshEditor::makeWalls(). Allow
storing both nodes and cells in one map sorted by ID.


struct TIDCompare {
   bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
-  { return e1->GetID() < e2->GetID(); }
+  { return e1->GetType() == e2->GetType() ? e1->GetID() < e2->GetID() : e1->GetType() < e2->GetType(); }
2013-04-26 11:46:58 +00:00
eap
e1fe293459 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons
-  for ( int iF = 1; iF < faceToSolids.Extent(); ++iF )
+  for ( int iF = 1; iF <= faceToSolids.Extent(); ++iF )
2013-04-26 10:21:24 +00:00
akl
866063cabb Call 'Location' with correct indices only to avoid exception. 2013-04-24 13:25:21 +00:00
akl
436838c202 Fix to avoid dependence of mesh on itself (it leaded to cycle in 'SetRemovedFromStudy'). 2013-04-24 13:13:40 +00:00
eap
85cd604381 Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
To assure stability of makeWalls(), use maps sorted by ID, that are
declared in SMESH_TypeDefs.hxx

-typedef map<const SMDS_MeshElement*, list<const SMDS_MeshNode*> >    TElemOfNodeListMap;
-typedef map<const SMDS_MeshElement*, list<const SMDS_MeshElement*> > TElemOfElemListMap;
2013-04-24 12:59:33 +00:00
eap
180deae521 Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/bugs12/M6
typedef std::map<const SMDS_MeshElement*,
-                 std::list<const SMDS_MeshElement*> >             TElemOfElemListMap;
+                 std::list<const SMDS_MeshElement*>, TIDCompare > TElemOfElemListMap;
2013-04-24 12:56:57 +00:00
eap
c965dca966 -algo=smesh.xxxx ==> algo.smeshBuilder.xxxx
+algo=smesh.xxxx  ==> algo=smeshBuilder.xxxx
2013-04-24 12:13:36 +00:00
akl
f4d0371a70 Check for null object was added. 2013-04-22 10:37:55 +00:00
akl
e5bd3f688c Indexation of OCC sequence is started from 1, but not 0. 2013-04-22 10:36:36 +00:00
gdd
51f6c9cec0 Update translations 2013-04-18 09:07:26 +00:00
prascle
d8a4fd0b8c PR: correction due to refactoring 2013-04-17 20:33:51 +00:00
akl
3ec0f6d752 Correction because of 'geompyDC' refactoring. 2013-04-17 11:34:31 +00:00
akl
6524427cb2 Correction because of 'smeshDC' refactoring. 2013-04-17 10:15:09 +00:00
akl
7f7f68d7de Correction of script because of 'geompyDC' refactoring. 2013-04-17 06:21:15 +00:00
prascle
bb5c11a5ed PR: relax constraints on node distances on StdMeshers_import_1D 2013-04-16 16:47:43 +00:00
prascle
5a81ec850d PR: Deprecation Warning more precise 2013-04-16 13:50:10 +00:00
vsr
c7935f54be Fix make distcheck problem 2013-04-16 07:37:02 +00:00
eap
b0fed15261 Regression of already fixed
0021406: EDF 1975 NETGENPLUGIN: Submesh hypothesis not taken into account

Correct the patch for
0021556: EDF 2222 SMESH: 3D mesh after projection impossible

-        smWithAlgoSupportingSubmeshes[0].push_back( shDim2smIt->second );
+        smWithAlgoSupportingSubmeshes[3].push_back( shDim2smIt->second );
2013-04-15 10:48:46 +00:00
vsr
208bca92c8 Fix test script 2013-04-15 07:25:40 +00:00
vsr
ae86d2a1ab Merge from V6_main 12/04/2013 2013-04-12 14:40:29 +00:00
prascle
515a51dac3 PR: update documentation of class SMESH_2smeshpy 2013-04-11 08:59:26 +00:00
prascle
9c186f8150 PR: update comments in dump function: smesh instead of smesh.smesh 2013-04-11 08:53:12 +00:00
prascle
74ba6feb24 PR: true singleton instance of smesh 2013-04-10 16:33:43 +00:00
prascle
c211b11fa1 PR: missing imports when tests are executed alone 2013-04-10 09:16:19 +00:00
prascle
d6941cf347 PR: restore missing attributes for compatibility with old scripts 2013-04-09 16:47:57 +00:00
vsr
be13498d82 Improve documentation 2013-04-08 14:50:20 +00:00
boulant
7c7a9a15ee Add comment in the documentation of the padder plugin (for the problem of ssh connection) 2013-04-05 17:26:35 +00:00
prascle
9c2ce3dffb PR: debug G. Nicolas (EDF 1967) 2013-04-05 15:19:53 +00:00
pnoyret
c2dc77e7c1 Push double click 2013-04-05 11:43:24 +00:00
pnoyret
a64d2ab318 minor bugs 2013-04-05 09:12:37 +00:00
vsr
0e885d0f01 Restore documentation of methods dynamically added by plug-ins to the Mesh class, killed by previous integration 2013-04-05 09:00:43 +00:00
vsr
54182913fb Merge from BR_plugins_pbyacs 03/04/2013 2013-04-04 07:08:19 +00:00
vsr
de3c6b4c61 Merge from V6_main 01/04/2013 2013-04-02 14:33:29 +00:00
vsr
bd8f1aee7c Merge from V6_main 01/04/2013 2013-04-01 13:05:47 +00:00
boulant
1c3d4eccd1 Padder execution error management (the errors are raised toward the gui) 2013-03-29 13:28:26 +00:00
mpa
5d01c143df IPAL0051783: TC 7.2.0: Filter added ID elements before click 'Add' button 2013-03-25 10:28:48 +00:00
mpa
93616350f1 IPAL0051782: TC7.2.0: Incorrect operation of the dialog box "Filter" for creation of the group 2013-03-25 06:54:18 +00:00
vsr
de9ffb0699 Merge from V6_main 19/03/2013 2013-03-19 16:22:36 +00:00
vsr
31ca0b3e3b Merge from V6_main 15/03/2013 2013-03-15 14:59:29 +00:00
ouv
d0284a4ab0 Porting to VTK 6.
Debug.
2013-03-12 15:51:34 +00:00
vsr
7aebb99e42 Merge from V6_main 06/03/2013 2013-03-06 13:57:01 +00:00
vsr
ae29d46509 Merge from BR_PORTING_VTK6 01/03/2013 2013-03-01 13:13:25 +00:00
vsr
88b3dbe23b Merge from V6_main 28/02/2013 2013-02-28 15:07:35 +00:00
prascle
cb4e582b0c PR: compilation on Ubuntu 12.04 2013-02-16 20:18:23 +00:00
vsr
9a54694a0a Merge from V6_main 11/02/2013 2013-02-12 14:37:44 +00:00
vsr
1067ffa6e7 Merge from V6_main 13/12/2012 2012-12-13 11:41:29 +00:00
vsr
f5016d85b7 Merge from V6_main (04/10/2012) 2012-10-08 11:56:59 +00:00
jfa
f190e6cfb1 Mantis issue 0021668: [CEA 564] MED2.1 to MED2.3 2012-08-09 11:15:15 +00:00
vsr
bd4e115a78 Merge from V6_main_20120808 08Aug12 2012-08-09 10:03:55 +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
nge
984c4ffdd7 PAL 14158 Add the Octree and OctreeNode classes to accelerate detection of close nodes. Octree is virtual pure, OctreeNode inherites from Octree. 2007-01-22 15:14:44 +00:00
jfa
fb9855e033 New smesh example from Francis KLOSS 2006-06-08 11:02:23 +00:00
jfa
c63ee099ad Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:39:17 +00:00
jfa
7cab0901cb Fix bug 10955: Collisions with 'Ctrl+I' and 'Ctrl+M' hot keys. 2006-05-10 14:34:56 +00:00
eap
d9a6e9d9f3 fix bug 12361. In SetName(): there may be no study 2006-05-10 12:54:55 +00:00
eap
fdfe9f0f65 fix bug 12361. Peview possiblity of SetCurrentStudy(nil) 2006-05-10 12:49:13 +00:00
eap
850cf38bd9 fix PythonDump: write Criterion arg of QuadToTri() in PythonDump 2006-05-10 12:46:40 +00:00
eap
e559b8fc3d fix PythonDump: do not write distruction in PythonDump as creation is not written 2006-05-10 12:42:27 +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
e884fc2507 PAL10953. Use GUI to create hypothesis from a hypotheses set 2005-12-26 10:43:09 +00:00
eap
e019559d0b PAL10953. Make fields of parameters protected 2005-12-26 10:41:53 +00:00
eap
96874fc4b6 PAL10953. Fix GetSubmeshComputed(): there may be elements but no nodes in a submesh 2005-12-26 10:36:57 +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
eap
7ba3124c8a PAL10494. Add .._STANDARD_RTTI_... in order to build executable 2005-12-23 07:47:36 +00:00
eap
493903908d fix PAL10974. Call CleanDependants() instead of
RemoveSubMeshElementsAndNodes() before algo->Compute()
2005-12-20 13:57:13 +00:00
eap
d81b4f8f21 fix bug PAL10974: add IsReversedSubMesh() 2005-12-20 13:53:23 +00:00
eap
477d745d92 fix bug PAL10974: check if SubMeshesComputed() by presence of nodes in submesh.
Restore lost modifications fixing PAL8021.
2005-12-20 11:10:13 +00:00
eap
e07015e9cc fix bug 10959. Initialize GEOM_Gen if necessary 2005-12-19 15:30:18 +00:00
eap
dcc030258b fix bug 10073. Check isVisible() in enterEvent() which unexpectedly comes after accept() 2005-12-19 13:14:02 +00:00
eap
aeef41e893 PAL10595: unit and coordinate name length must be equal to 16 2005-12-15 09:56:38 +00:00
eap
71d173d51a PAL10494 (SMESH python dump uses idl interface). Python dump using TPythonDump tool 2005-12-15 08:38:29 +00:00
eap
95dab66d27 PAL10494 (SMESH python dump uses idl interface). Python dump converted to smesh.py API, usage of TPythonDump tool 2005-12-15 08:34:25 +00:00
eap
5a76185f82 PAL10494 (SMESH python dump uses idl interface). Add SMESH_2smeshpy, a converter of IDL API to smesh.py API 2005-12-15 07:33:07 +00:00
eap
d9e37c0ebb PAL10494 (SMESH python dump uses idl interface). Add GetAlgorithm() to class Mesh_Algorithm in order to have access to the wrapped mesher 2005-12-15 07:29:27 +00:00
asl
01d6aed55b PAL10902 - local selection is stay in viewer after "apply" of Modifiction->Orientation operation 2005-12-14 07:11:48 +00:00
asl
bfcd70d78a PAL10810 - "Display", "Erase", "Display only" on root objects 2005-12-14 06:44:19 +00:00
asl
326ed6ac2c Fix of compilation problems on some platforms 2005-12-06 12:52:53 +00:00
mzn
94b4c4f7f7 Remove unnecessary item. 2005-12-06 12:32:59 +00:00
smh
2754c581d3 Copyrights update 2005-12-05 16:31:55 +00:00
mzn
d1cf3c4101 Fix for bug PAL8377 (ExportToMed TUI vs GUI: how to set the value of the boolean "auto_groups"?). 2005-12-02 13:04:27 +00:00
mzn
7d9ae6b54f Fix for bug IPAL10313 (It is impossible to select "Start point" from 3D viewer in "Extrusion along a path" dialog box). 2005-12-02 10:52:13 +00:00
jfa
02be390389 PAL10718: Portability gfortran. Fix by Erwan ADAM. 2005-12-01 14:49:26 +00:00
jfa
e83db15137 PAL10719: Portability gcc4.0.1. Fix by Erwan ADAM. 2005-12-01 13:22:31 +00:00
asl
24e3153614 Improvement: now in rules you can use "canBeDisplayed" parameter. It is true, if current object can be displayed in active viewer. The result of this check is calculated by new virtual method LightApp_Displayer::canBeDisplayed. GEOM, SMESH, VISU overrides it in order to provide information, what object can be displayed in what viewer 2005-12-01 10:05:38 +00:00
asl
6d9831519d PAL10678 - selection is lost after "update" 2005-11-30 12:39:44 +00:00
asl
9280276b1d It is recommended to use standard Qt QInputDialog instead QtxNameDlg 2005-11-28 09:22:22 +00:00
asl
8d0c572759 PAL10397 - node mustn't be selected after add operation 2005-11-28 06:51:45 +00:00
jfa
b90943f064 Fix for bug 10498. Support old storage format of NumberOfSegments hypothesis 2005-11-25 15:58:28 +00:00
asl
5bbfd7c156 PAL10665 - unnecessary Plot2d in CreateHypothesis dialog 2005-11-25 14:40:19 +00:00
asl
6a1c128a1e PAL9878 - selection lost after some operations 2005-11-25 14:06:27 +00:00
asl
d76a2a2557 PAL10471 - incorrect 3D popup for erased objects 2005-11-24 09:44:05 +00:00
eap
9048686ff8 PAL10491. "... algo misses some hypothesis" -> "... algo misses nD hypothesis" 2005-11-23 15:08:50 +00:00
asl
25c935e78a PAL8978 - selection is lost after some operations 2005-11-23 12:08:49 +00:00
asl
4d423efd78 PAL8238 - Hypothesis for non-regular 1D meshing 2005-11-23 09:27:11 +00:00
asl
2ad752b10c PAL8238 - Hypothesis for non-regular 1D meshing 2005-11-23 09:07:44 +00:00
mzn
82ea47a7c9 Fix for bug PAL10408 (Strange behaviour of the selection icon in the "create group" dialog box). 2005-11-22 15:09:07 +00:00
eap
2850e5f7ba PAL10515. fix disconnect from selection manager 2005-11-16 15:01:31 +00:00
eap
a5e3cc49d7 PAL10515. Check shape type before calling TopoDS::Face() 2005-11-16 15:00:03 +00:00
mkr
9dbbb779fa Add new variable for finding OCC libraries during compilation. 2005-11-16 12:00:03 +00:00
eap
4fe88e90a7 PAL10501. SetCurrentStudy() to SMESH_Gen in GetSMESHGen() 2005-11-16 09:18:22 +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
773894ff04 PAL10513. Desable tabs according to shape dimention at edition as well 2005-11-14 14:11:48 +00:00
asl
52c4d72583 PAL10479 2005-11-14 13:55:07 +00:00
skl
db9a6dee24 Improvement of extrusion functionality 2005-11-14 12:41:17 +00:00
eap
f0cefe4519 PAL10500. Take into account degenerated edges 2005-11-14 09:22:24 +00:00
eap
590a56bae0 PAL10491. Add messages used by GetMessageOnAlgoStateErrors() 2005-11-14 09:18:24 +00:00
eap
bf36cccf8e PAL10491. Add GetMessageOnAlgoStateErrors() 2005-11-14 09:17:11 +00:00
eap
ad354c1c09 PAL10491. use GetAlgoState() instead of IsReadyToCompute() 2005-11-14 09:16:18 +00:00
eap
81e9dbdf6c PAL10491. Add GetAlgoState() 2005-11-14 09:11:54 +00:00
mzn
11899ab525 Fix for bug PAL10409 (Filter "Belong to geom" fails if 2 geom shapes have the same name); 2005-11-11 15:50:58 +00:00
asl
c819d8fdd3 PAL10125 - references isn't selected in mesh creation dialog 2005-11-11 11:58:16 +00:00
asl
2f652b3784 PAL9878 - selection lost after operation 2005-11-11 08:56:51 +00:00
asl
8db6ce0cb0 PAL9391 - remarks 2005-11-09 11:10:51 +00:00
asl
d696f7d582 check if module "GEOM" is found 2005-11-09 07:20:47 +00:00
asl
ab4288fb65 PAL10343 - it is impossible to select shape in "create mesh" dialog 2005-11-09 06:48:58 +00:00
eap
d5f8c39955 Fix bug 10390. fix getting submesh for a shell 2005-11-08 13:04:03 +00:00
asl
8b1761d4a6 PAL10100 - just computed mesh must be selected in VTK 2005-11-08 09:50:41 +00:00
eap
a2fe500c74 PAL10406. Enable myNodes when a pattern is loaded. UpdatePreview() when elements to refine are selected 2005-11-07 14:37:54 +00:00
eap
b992817854 PAL10158. Add clearMesh() 2005-11-07 14:34:13 +00:00
eap
7a320061b4 PAL10158. Add clearMesh() where call ComputeStateEngine(CLEANDEP) 2005-11-07 14:34:02 +00:00
asl
e292bda630 PAL5597 - export must appear in popup only for non-empty meshes 2005-11-07 08:24:51 +00:00
asl
2bb3ddd168 PAL10125 - different popup for object and reference to object 2005-11-07 07:26:06 +00:00
nds
81a502af84 Using files from package LightApp instead of files from package SalomeApp 2005-11-03 08:38:17 +00:00
nds
80b2ef84c3 Using files from package LightApp instead of SalomeApp 2005-11-03 08:37:36 +00:00
asl
d47d1f292b PAL10397 - Selection isn't cleared after apply 2005-11-02 07:26:40 +00:00
mzn
936be4abe3 Fix for bug IPAL10431 ( It is impossible create/edit mesh using GUI ). 2005-11-01 13:34:43 +00:00
eap
902a6da0b2 PAL10237. Add a button assigning a set of hypotheses 2005-11-01 10:28:04 +00:00
eap
12b34b1b56 PAL10237. Read HypothesesSet's 2005-11-01 10:14:10 +00:00
eap
60bdcf56b1 PAL10237. Add GetHypothesesSets() 2005-11-01 10:12:45 +00:00
eap
4faf049688 PAL10237. Add class HypothesesSet 2005-11-01 10:11:11 +00:00
eap
c00242c4f0 PAL10237. Add AutomaticLength 1D hypothesis 2005-11-01 10:10:14 +00:00
eap
1f81f404ba PAL10237. Add StdMeshers_AutomaticLength 1D hypothesis 2005-11-01 10:07:11 +00:00
eap
15549165c3 PAL10237. Add Mesh.AutomaticTetrahedralization() and Mesh.AutomaticHexahedralization() 2005-11-01 08:34:33 +00:00
mzn
cee115afad Icon for the volume control. 2005-10-28 11:56:18 +00:00
mzn
6719903275 Correct the scalar bar title for the volume control. 2005-10-27 14:19:54 +00:00
asl
1ca52d6d92 PAL10347 - can't create group on geometry 2005-10-27 08:09:13 +00:00
mzn
d1bef0cbc1 Fix for bug PAL10393 ( Set MED2.2 as the default version in the export to med dialog box ). 2005-10-25 08:54:19 +00:00
asl
b0105f0f9d PAL10332 - references are interpreted as original objects in filters, dialogs, etc. 2005-10-25 08:19:21 +00:00
skl
868e306e09 Improvement of extrusion functionality 2005-10-25 07:26:54 +00:00
jfa
9efbaa6f5e Fix for bug 9366: incorrect size of the 'Select color' buttons 2005-10-24 09:11:09 +00:00
jfa
5f6698232e PAL9997: Problem with ExportToMED if the file already exists 2005-10-24 08:05:15 +00:00
san
22f20048e0 Temporarily rolling back the last integration 2005-10-21 07:58:14 +00:00
skl
423f097f5e Inmprovement extrusion algorithm in MeshEditor 2005-10-21 07:44:17 +00:00
mzn
d03efc5f7a Fix for bug PAL10344. 2005-10-20 13:50:20 +00:00
mzn
2387bfa403 Movement of examples to CVS EXAMPLES SAMPLES_SRC. 2005-10-20 12:59:41 +00:00
mzn
5fec7e4eb7 Movement of examples to CVS EXAMPLES SAMPLES_SRC. 2005-10-19 14:01:04 +00:00
smh
5b66adc250 Preparation of 3.1.0a2: version ID. compilation with new HEAD and new MED (with polyhedres) 2005-10-18 14:52:45 +00:00
jfa
7cef40c6c1 Fix for bug PAL10314: Hang up on import 'essaiminimail.med' in SMESH 2005-10-18 09:25:02 +00:00
asl
8e26c31d5f PAL9881 - preferences are not taken into account in SMESH 2005-10-12 12:18:43 +00:00
asl
c06234a40f PAL10203 - dialog of triangle union wasn't updated after operation 2005-10-12 07:44:47 +00:00
mkr
309a73fb95 Modification to avoid compilation error : 'std::list' has not been declared. 2005-10-11 13:59:31 +00:00
eap
1bed3bf84e PAL10196. use renamed GetGroupNames()->GetGroupNamesAndTypes() of MED Driver 2005-10-11 13:41:57 +00:00
eap
87fd8ca50b PAL10196. Rename GetGroupNames() -> GetGroupNamesAndTypes(), add checkFamilyId() 2005-10-11 13:39:02 +00:00
eap
482a58db1b PAL10196. Make SetId() public 2005-10-11 13:35:18 +00:00
mkr
f87e54ae3a Modifications to avoid compilation errors with Qt and STL strings. 2005-10-11 10:58:59 +00:00
jfa
1d0ad233cf PAL10195: SALOME V2 study with a mesh leads to SIGSEGV of SALOME V3 2005-10-11 06:54:28 +00:00
eap
d89db6381d IMP 10199 (add Volume Control) 2005-10-10 15:12:42 +00:00
eap
81f4aba6d7 IMP 10199 (add Volume Control) 2005-10-10 14:51:36 +00:00
eap
5958c2aa89 IMP 10199 (add Volume Control). Add eVolume3D Control 2005-10-10 14:45:35 +00:00
eap
4f27e7392a IMP 10199 (add Volume Control). Add Volume3D NumericalFunctor. 2005-10-10 14:43:58 +00:00
eap
2875648bdb IMP 10199 (add Volume Control). Add Volume NumericalFunctor. 2005-10-10 14:40:28 +00:00
eap
52f87e4dea IMP 10199 (add Volume Control). Implement GetSize(). Add GetVolumeType() of instance 2005-10-10 14:38:24 +00:00
eap
365fd031c5 IMP 10199 (add Volume Control). Add GetVolumeType() of instance 2005-10-10 14:37:11 +00:00
jfa
90699a9eec PAL10195: SALOME V2 study with a mesh leads to SIGSEGV of SALOME V3 2005-10-10 10:00:24 +00:00
asl
6cbd23c4f4 PAL9881 - changing of selection of hilight preferences must occur immediate effect in VTK viewer 2005-10-07 06:44:04 +00:00
asl
ea1a40fff7 PAL9844 - selected edge must be unhilighted after apply 2005-10-07 05:15:29 +00:00
akk
62434e4dfd Back correct implementation. 2005-10-06 14:25:07 +00:00
akk
f4b3284931 Correction due to new inheritance of some interfaces from MED.idl 2005-10-06 14:14:59 +00:00
skl
e331ccd26c Modification some functionality for splitting assembly 2005-10-06 12:26:54 +00:00
skl
3f8c64cc43 Modification function HashCode() for correct work of DataMap 2005-10-05 13:27:49 +00:00
asl
544a24fb7f PAL9844 - SMESH: union of triangles - correction of common edge presentation 2005-10-05 07:43:58 +00:00
asl
63dec6763c All modules must use SVTK package instead VTK 2005-10-05 06:32:47 +00:00
jfa
7140a309e3 Only some code style changes 2005-10-04 07:58:26 +00:00
jfa
8ad9cef463 Fix crash after 'Belong to' filter creation if there are no mesh in the study 2005-10-04 07:35:48 +00:00
jfa
694e1d2360 Fix pb., appeared after wrong integration of 1.5 version: criteria are not saved 2005-10-04 07:29:19 +00:00
skl
56e741c0f7 Integration some new classes for working of core mesher 2005-10-04 06:04:02 +00:00
asl
bb608ced0c PAL10133 - Two "display" in popup 2005-10-04 05:36:09 +00:00
jfa
5aed93b518 Provide correct static variable <aFilterManager> management to avoid problems, appering if SMESHGUI is loaded from python script before module activation via GUI 2005-10-03 13:01:36 +00:00
jfa
b22f47d357 Improve NumberFilter: retrieve selected and main shape with the same instance of GEOM_Client() 2005-10-03 07:12:42 +00:00
asl
1dfdc856a7 PAL9963 - "Display", "Erase", "Display only" on mesh root object 2005-09-30 05:53:44 +00:00
asl
b4e0a04085 PAL9843 2005-09-29 08:19:07 +00:00
asl
94bdfc735c PAL9963 2005-09-29 07:00:14 +00:00
asl
40793ae45e PAL9391 2005-09-27 06:33:42 +00:00
skl
98fe24f8c9 Replaced NMTTools map with NCollection map for removing dependencies from GEOM module. 2005-09-26 12:26:52 +00:00
jfa
317741e60d Debug algorithms and hypotheses assignment 2005-09-26 11:11:52 +00:00
skl
05ae10badd Add interface for keeping information about performed operation of extrusion. 2005-09-26 07:03:47 +00:00
skl
ab6b16e673 Replaced NMTTools map with NCollection map for removing dependencies from GEOM module. 2005-09-26 07:01:06 +00:00
jfa
3e906035e4 Remove not used files 2005-09-22 14:34:08 +00:00
jfa
0d21bf88f5 Fix pb. with 'Belong to ...' filters creation 2005-09-15 13:39:48 +00:00
jfa
b8d6cdc9c9 Rool-back bad changes to the script 2005-09-13 11:31:52 +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
59ba8fec69 PAL9524. Fix type definition of references to hypo 2005-09-08 04:43:10 +00:00
eap
3291e2c4e1 PAL9874. Fix error in SMESH_HypoFilter::IsGlobalPredicate; add possibility to add all predicates in one statement. 2005-09-07 08:07:34 +00:00
mzn
287d1c4720 Fix for problem: Preferences-Mesh-General tab: Display modes ?Nodes? and ?Shrink? are permuted. 2005-09-07 06:22:45 +00:00
eap
f7a7942109 PAL9022. Improve methods binding nodes to shape, allow binding nodes to solid 2005-09-07 04:50:08 +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
mzn
f62232e212 Fix for the problem: it's impossible to modify element by typing it ID (without selection by mouse). 2005-09-02 08:32:03 +00:00
mzn
0e57fc7441 Fix for the problem: regression: SMESH ? remove nodes/elements manually. 2005-09-02 08:18:36 +00:00
mzn
fbaf4c789f Fix for the problem: VTK Viewer isn?t updated automatically after activation of any function from Control menu. 2005-09-01 10:15:35 +00:00
eap
c87dcc36c2 Bug PAL9480. Fix "import ex05_hole1build" 2005-09-01 09:59:58 +00:00
mzn
4d3a3d10b2 Fix for the problem: click "Apply" button unselects mesh. 2005-09-01 09:20:12 +00:00
szy
d9d247d43d Windows porting 2005-08-31 10:10:42 +00:00
szy
42c7eb97f9 Windows porting 2005-08-30 12:57:02 +00:00
mzn
1809a8e762 Preferences-Mesh-General tab: regressions and reorganization. 2005-08-30 10:04:41 +00:00
mzn
9d28d73b09 Fix for problem: SIGSEGV appears if to select group after opening "Edit Group" dialog box. 2005-08-29 08:05:24 +00:00
sln
c31ab40cc6 Cancel button renamed in Close and moved to the right position 2005-08-26 12:19:44 +00:00
sln
bd82c5b373 editMeshOrSubMesh method fixed for correct work with sub-meshes 2005-08-24 14:15:10 +00:00
srn
cb1e086726 Added a call to a method updateActions of SalomeApp_Application to update the status of the toolbal 2005-08-24 06:15:17 +00:00
sln
ee06fcf090 try/catch blocks added 2005-08-23 13:43:25 +00:00
sln
bbfbac1990 GetElementType method added 2005-08-23 08:58:58 +00:00
sln
aff71929ea New images and messages 2005-08-23 08:56:41 +00:00
sln
4e11a7dedb New fields red from xml file 2005-08-23 08:56:20 +00:00
sln
1f1c0e4dcb type method added 2005-08-23 08:55:53 +00:00
sln
3f8d4c84db Base class for all smesh operations that are working with selection 2005-08-23 08:55:09 +00:00
sln
ff3baa884d Base class for all smesh operations 2005-08-23 08:54:21 +00:00
sln
24d6fd82e6 Mesh redesine. Dialog and operation for creation and editing mesh and hypothesis 2005-08-23 08:53:35 +00:00
sln
f4cb697fcc Mesh redesine. New fields added to specify whether hypothesis is main or additional one and for storing information about dimensions supported by hypothesis 2005-08-23 08:52:20 +00:00
sln
0d232fb704 Base class for all smesh dialogs 2005-08-23 08:50:50 +00:00