]>
SALOME platform Git repositories - modules/smesh.git/log
eap [Wed, 31 Jul 2013 11:21:55 +0000 (11:21 +0000)]
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);
eap [Wed, 31 Jul 2013 11:18:51 +0000 (11:18 +0000)]
fix a comment
eap [Wed, 31 Jul 2013 08:12:54 +0000 (08:12 +0000)]
decorations
boulant [Wed, 31 Jul 2013 07:58:37 +0000 (07:58 +0000)]
Remove deprecated files of padder plugin
eap [Mon, 29 Jul 2013 12:21:40 +0000 (12:21 +0000)]
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
eap [Mon, 29 Jul 2013 12:15:22 +0000 (12:15 +0000)]
Fix GetNodeIndex() for polygon
eap [Mon, 29 Jul 2013 11:51:02 +0000 (11:51 +0000)]
Rm duplicated SMDS_MeshElement::setVtkId(int vtkId)
- inline void setVtkId(int vtkId) { myVtkID = vtkId; };
eap [Mon, 29 Jul 2013 11:49:21 +0000 (11:49 +0000)]
Optimize SMDS_MeshElement::GetNodeIndex()
+ virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
eap [Mon, 29 Jul 2013 11:48:56 +0000 (11:48 +0000)]
Optimize SMDS_MeshElement::GetNodeIndex()
- int GetNodeIndex( const SMDS_MeshNode* node ) const;
+ virtual int GetNodeIndex( const SMDS_MeshNode* node ) const;
skv [Thu, 25 Jul 2013 12:03:04 +0000 (12:03 +0000)]
0022257 : [CEA 900] Regression: on test glue_performance.py
eap [Thu, 25 Jul 2013 09:00:54 +0000 (09:00 +0000)]
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
eap [Thu, 25 Jul 2013 08:59:30 +0000 (08:59 +0000)]
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();
eap [Wed, 24 Jul 2013 14:49:27 +0000 (14:49 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
Pb: myLimit leaks if it was not provided at construction
eap [Wed, 24 Jul 2013 14:48:32 +0000 (14:48 +0000)]
small optimization
eap [Wed, 24 Jul 2013 14:46:09 +0000 (14:46 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
- newFaceLocations->Register(this);
- newFaces->Register(this);
rnc [Wed, 24 Jul 2013 13:22:27 +0000 (13:22 +0000)]
IMP: SMESH: Japanese translations
eap [Wed, 24 Jul 2013 12:43:59 +0000 (12:43 +0000)]
dos2unix
eap [Wed, 24 Jul 2013 12:43:34 +0000 (12:43 +0000)]
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();
eap [Wed, 24 Jul 2013 12:42:52 +0000 (12:42 +0000)]
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 );
eap [Wed, 24 Jul 2013 12:42:22 +0000 (12:42 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
+ delete aHistogram;
eap [Tue, 23 Jul 2013 14:20:46 +0000 (14:20 +0000)]
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
Fix a leak of a CORBA object
eap [Tue, 23 Jul 2013 12:35:23 +0000 (12:35 +0000)]
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
eap [Tue, 23 Jul 2013 11:41:20 +0000 (11:41 +0000)]
Fix treatment of filters after starting usage of AddArgCmd()
eap [Mon, 22 Jul 2013 15:25:50 +0000 (15:25 +0000)]
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
eap [Mon, 22 Jul 2013 14:42:25 +0000 (14:42 +0000)]
Avoid leaks of CORBA objects at calling TPythonDump() << _this()
eap [Mon, 22 Jul 2013 14:40:00 +0000 (14:40 +0000)]
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.
eap [Mon, 22 Jul 2013 14:38:09 +0000 (14:38 +0000)]
untabify
eap [Mon, 22 Jul 2013 14:37:06 +0000 (14:37 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
Fix loading a group on filter:
+ filter->UnRegister();
eap [Mon, 22 Jul 2013 14:36:12 +0000 (14:36 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
in SetCriteria():
+ aResPredicate->UnRegister();
eap [Mon, 22 Jul 2013 14:35:30 +0000 (14:35 +0000)]
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
eap [Mon, 22 Jul 2013 14:29:04 +0000 (14:29 +0000)]
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
+ void UnRegisterFilters();
eap [Mon, 22 Jul 2013 14:27:40 +0000 (14:27 +0000)]
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.
eap [Mon, 22 Jul 2013 14:08:46 +0000 (14:08 +0000)]
In RemoveElement(), find sub-mesh by elt->getshapeId()
inv [Mon, 22 Jul 2013 12:59:01 +0000 (12:59 +0000)]
RNV: Fix link errors.
inv [Mon, 22 Jul 2013 12:55:58 +0000 (12:55 +0000)]
Fix link errors.
rnc [Mon, 22 Jul 2013 08:46:57 +0000 (08:46 +0000)]
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.
rnc [Fri, 19 Jul 2013 16:01:27 +0000 (16:01 +0000)]
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).
eap [Wed, 17 Jul 2013 14:53:51 +0000 (14:53 +0000)]
untabify
eap [Wed, 17 Jul 2013 14:38:25 +0000 (14:38 +0000)]
In ExtrusionAlongPathX() allow defining RefPoint as [x,y,z]
eap [Wed, 17 Jul 2013 14:27:42 +0000 (14:27 +0000)]
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 )
eap [Wed, 17 Jul 2013 08:26:43 +0000 (08:26 +0000)]
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
Activate selection of the Base Point right at checking its check-box
eap [Tue, 16 Jul 2013 14:31:10 +0000 (14:31 +0000)]
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
Allow selecting any node as a Base Point
eap [Tue, 16 Jul 2013 14:30:30 +0000 (14:30 +0000)]
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
Some decorations in ExtrusionAlongTrack()
eap [Tue, 16 Jul 2013 14:29:44 +0000 (14:29 +0000)]
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
eap [Tue, 16 Jul 2013 13:44:28 +0000 (13:44 +0000)]
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
eap [Tue, 16 Jul 2013 13:19:00 +0000 (13:19 +0000)]
Avoid clashing namesake files in GEOM and SMESH
rnv [Wed, 10 Jul 2013 13:31:04 +0000 (13:31 +0000)]
Add MedWrapper to dist_dir
eap [Tue, 9 Jul 2013 11:59:40 +0000 (11:59 +0000)]
Compute Progress bar
eap [Tue, 9 Jul 2013 11:59:18 +0000 (11:59 +0000)]
Compute Progress bar
+ bool DependsOn( const SMESH_subMesh* other ) const;
+ int _realComputeCost; // _computeCost depending on presence of needed hypotheses
eap [Tue, 9 Jul 2013 11:58:41 +0000 (11:58 +0000)]
Compute Progress bar
- int& GetComputeCost() { return _computeCost; }
+ std::vector<SMESH_subMesh*>& SubMeshesToCompute() { return _smToCompute; }
eap [Tue, 9 Jul 2013 11:57:50 +0000 (11:57 +0000)]
make Cancel button checkable
akl [Tue, 9 Jul 2013 08:32:08 +0000 (08:32 +0000)]
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
eap [Mon, 8 Jul 2013 11:27:16 +0000 (11:27 +0000)]
Compute Progress bar: ignore sub-meshes that are NOT_READY to compute
eap [Wed, 3 Jul 2013 16:12:38 +0000 (16:12 +0000)]
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
eap [Wed, 3 Jul 2013 16:10:31 +0000 (16:10 +0000)]
Compute Progress bar
+ double GetComputeProgress() const;
+ SMESH_Hypothesis * GetHypothesis(const int aHypID) const;
eap [Wed, 3 Jul 2013 16:09:54 +0000 (16:09 +0000)]
- 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;
eap [Wed, 3 Jul 2013 16:09:28 +0000 (16:09 +0000)]
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.]
eap [Wed, 3 Jul 2013 16:07:54 +0000 (16:07 +0000)]
SMESH_Gen::_map1D_Algo no longer exists
eap [Wed, 3 Jul 2013 16:06:14 +0000 (16:06 +0000)]
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();
eap [Wed, 3 Jul 2013 16:05:46 +0000 (16:05 +0000)]
1)
0020976 : EDF 1471 SMESH: New ergonomy to display quality controls
+ static CORBA::Long* GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
eap [Wed, 3 Jul 2013 16:05:28 +0000 (16:05 +0000)]
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();
eap [Wed, 3 Jul 2013 16:04:07 +0000 (16:04 +0000)]
0020976 : EDF 1471 SMESH: New ergonomy to display quality controls
+ virtual SMESH::long_array* GetNbElementsByType();
eap [Wed, 3 Jul 2013 16:03:14 +0000 (16:03 +0000)]
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 );
eap [Wed, 3 Jul 2013 16:02:20 +0000 (16:02 +0000)]
0020976 : EDF 1471 SMESH: New ergonomy to display quality controls
Optimization for large meshes
eap [Wed, 3 Jul 2013 16:01:42 +0000 (16:01 +0000)]
Compute progress bar
eap [Wed, 3 Jul 2013 16:00:57 +0000 (16:00 +0000)]
untabify
eap [Wed, 3 Jul 2013 16:00:19 +0000 (16:00 +0000)]
1)
0020976 : EDF 1471 SMESH: New ergonomy to display quality controls
interface SMESH_IDSource
{
+ long_array GetNbElementsByType();
2) Compute progress bar
interface SMESH_Mesh
{
+ double GetComputeProgress();
eap [Wed, 3 Jul 2013 15:58:19 +0000 (15:58 +0000)]
0020976 : EDF 1471 SMESH: New ergonomy to display quality controls
interface Predicate: Functor
{
+ long NbSatisfying( in SMESH::SMESH_IDSource obj );
interface NumericalFunctor: Functor
{
+ Histogram GetLocalHistogram( in short nbIntervals, in boolean isLogarithmic,
+ in SMESH::SMESH_IDSource obj );
eap [Tue, 2 Jul 2013 14:27:15 +0000 (14:27 +0000)]
0022238 : Study dump produced by SMESH refers to undefined variable names
void fixFunctorType()
{
+ ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined );
eap [Tue, 2 Jul 2013 13:39:05 +0000 (13:39 +0000)]
0022238 : Study dump produced by SMESH refers to undefined variable names
Fix CheckObjectPresence() again
+ ASSERT( thePartIndex > 0 );
eap [Tue, 2 Jul 2013 12:02:33 +0000 (12:02 +0000)]
0022238 : Study dump produced by SMESH refers to undefined variable names
Remove "aStudyBuilder.RemoveObjectWithChildren(SO)" for SO whose
creation command was removed or commented
mpa [Thu, 27 Jun 2013 12:35:43 +0000 (12:35 +0000)]
0020976 : EDF 1471 SMESH: New ergonomy to display quality controls
eap [Wed, 26 Jun 2013 11:17:07 +0000 (11:17 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
Remove dependency on MED
eap [Tue, 25 Jun 2013 18:17:26 +0000 (18:17 +0000)]
- $(MED_LDFLAGS) -lSalomeIDLMED \
eap [Tue, 25 Jun 2013 15:23:19 +0000 (15:23 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
eap [Tue, 25 Jun 2013 15:22:50 +0000 (15:22 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
-echo
-echo ---------------------------------------------
-echo Testing Med
-echo ---------------------------------------------
-echo
-
-CHECK_MED
eap [Tue, 25 Jun 2013 13:51:49 +0000 (13:51 +0000)]
Bug: not all fields available after switching from the 3-d to an other constructor
+ myTextLabel2->show();
+ mySelectButton2->show();
+ myLineEdit2->show();
eap [Tue, 25 Jun 2013 11:58:31 +0000 (11:58 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
-#include "MED.idl"
+ struct MedFileInfo
+ {
eap [Tue, 25 Jun 2013 11:57:48 +0000 (11:57 +0000)]
-// $Header:
eap [Tue, 25 Jun 2013 11:57:19 +0000 (11:57 +0000)]
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<<"\'\"";
eap [Tue, 25 Jun 2013 11:56:49 +0000 (11:56 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists
SALOME_MED::MedFileInfo -> SMESH::MedFileInfo
eap [Tue, 25 Jun 2013 11:56:05 +0000 (11:56 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists
eap [Tue, 25 Jun 2013 11:55:34 +0000 (11:55 +0000)]
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()
eap [Tue, 25 Jun 2013 09:14:40 +0000 (09:14 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
+ ../MEDWrapper/Factory/libMEDWrapper.la \
+ ../MEDWrapper/Base/libMEDWrapperBase.la \
+ ../MEDWrapper/V2_2/libMEDWrapper_V2_2.la \
eap [Mon, 24 Jun 2013 10:09:43 +0000 (10:09 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
+#include "MED_Factory.hxx"
eap [Mon, 24 Jun 2013 10:08:26 +0000 (10:08 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
+ -I$(srcdir)/../MEDWrapper/Base \
+ -I$(srcdir)/../MEDWrapper/Factory \
- $(MED_LDFLAGS) \
- -lMEDWrapper \
- -lMEDWrapper_V2_2 \
- -lSalomeIDLMED \
eap [Mon, 24 Jun 2013 10:07:56 +0000 (10:07 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
+ -I$(srcdir)/../MEDWrapper/Base \
eap [Mon, 24 Jun 2013 10:07:44 +0000 (10:07 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
-#include <MED_Common.hxx>
+#include "MED_Common.hxx"
eap [Mon, 24 Jun 2013 10:07:19 +0000 (10:07 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
- $(MED_CXXFLAGS) \
+ -I$(srcdir)/../MEDWrapper/Base \
eap [Mon, 24 Jun 2013 10:06:53 +0000 (10:06 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
- void SetFile(const std::string& theFileName);
+ virtual void SetFile(const std::string& theFileName);
eap [Mon, 24 Jun 2013 10:06:18 +0000 (10:06 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
+ MEDWrapper \
eap [Mon, 24 Jun 2013 10:02:47 +0000 (10:02 +0000)]
CoTech decision: move MEDWrapper from MED to SMESH
+ src/MEDWrapper/Makefile \
+ src/MEDWrapper/Base/Makefile \
+ src/MEDWrapper/Factory/Makefile \
+ src/MEDWrapper/V2_2/Makefile \
eap [Mon, 24 Jun 2013 10:01:25 +0000 (10:01 +0000)]
remove a wring comment
eap [Fri, 21 Jun 2013 10:40:14 +0000 (10:40 +0000)]
Add English translations to unfinished ones
eap [Fri, 21 Jun 2013 08:36:07 +0000 (08:36 +0000)]
Synchronizing with SMESH_msg_en.ts
eap [Fri, 21 Jun 2013 08:35:49 +0000 (08:35 +0000)]
<source>SMESH_GIGABYTE</source>
- <translation>%1 G</translation>
+ <translation>%1 GB</translation>
vsr [Fri, 21 Jun 2013 06:29:36 +0000 (06:29 +0000)]
0022169 : [CEA 750] Chose before visualization mesh element type to display
vsr [Fri, 21 Jun 2013 05:33:07 +0000 (05:33 +0000)]
0022169 : [CEA 750] Chose before visualization mesh element type to display
eap [Thu, 20 Jun 2013 14:29:16 +0000 (14:29 +0000)]
Show free RAM while computing the mesh
eap [Thu, 20 Jun 2013 13:05:03 +0000 (13:05 +0000)]
+ SUIT_OverrideCursor wc;