eap [Thu, 15 Nov 2007 14:36:27 +0000 (14:36 +0000)]
PAL17694 (New Tool About Hexahedral Meshing)
+ void SetNodeOnVertex(in long NodeID, in long VertexID)
+ void SetNodeOnEdge(in long NodeID, in long EdgeID, in double paramOnEdge)
+ void SetNodeOnFace(in long NodeID, in long FaceID, in double u, in double v)
+ void SetNodeInVolume(in long NodeID, in long SolidID)
+ void SetMeshElementOnShape(in long ElementID, in long ShapeID)
eap [Thu, 15 Nov 2007 14:29:56 +0000 (14:29 +0000)]
PAL17694 (New Tool About Hexahedral Meshing)
+ /*!
+ * Node location on a shape
+ */
+ struct NodePosition {
+ long shapeID;
+ GEOM::shape_type shapeType;
+ double_array params; // [U] on EDGE, [U,V] on FACE, [] on the rest shapes
+ };
+ * \brief Return position of a node on shape
+ */
+ NodePosition GetNodePosition(in long NodeID);
+
+ /*!
eap [Mon, 12 Nov 2007 09:59:34 +0000 (09:59 +0000)]
PAL16842 (Genertion of groups when a mesh is transformed)
+ /*!
+ * \brief Create groups of elements made during transformation
+ * \param nodeGens - nodes making corresponding myLastCreatedNodes
+ * \param elemGens - elements making corresponding myLastCreatedElems
+ * \param postfix - to append to names of new groups
+ */
+ PGroupIDs generateGroups(const SMESH_SequenceOfElemPtr& nodeGens,
+ const SMESH_SequenceOfElemPtr& elemGens,
+ const std::string& postfix);
eap [Mon, 12 Nov 2007 09:57:27 +0000 (09:57 +0000)]
PAL16842 (Genertion of groups when a mesh is transformed)
+ typedef boost::shared_ptr< SMDS_Iterator<SMESH_Group*> > GroupIteratorPtr;
+ GroupIteratorPtr GetGroups() const;
eap [Wed, 7 Nov 2007 10:08:53 +0000 (10:08 +0000)]
PAL16202,16203 (Propagation 1D on edges group)
1) fix error message when Mesh.Compute() fails due to bad hypo definition
2) fix args of TreatHypoStatus() calls
eap [Wed, 7 Nov 2007 09:48:46 +0000 (09:48 +0000)]
PAL16202,16203 (Propagation 1D on edges group)
- * * theNumber - Number of subshapes. Object is selected if it contains theNumber of
- * theSubShapeType sub-shapes
+ * * theNumber - Number of subshapes. Object is selected if it contains
+ * theNumber of theSubShapeType sub-shapes, or at least
+ * one theSubShapeType, provided that theNumber==0
eap [Wed, 7 Nov 2007 09:41:55 +0000 (09:41 +0000)]
PAL16202,16203 (Propagation 1D on edges group)
remove useless includes and
+ /*!
+ * \brief Return submeshes of groups containing the given subshape
+ */
+ std::list<SMESH_subMesh*> GetGroupSubMeshesContaining(const TopoDS_Shape & shape) const
+ throw(SALOME_Exception);
PAL14858 (The Mesh Info Dialog Box is too slow)
+enum SMDSAbs_ElementOrder {
+ ORDER_ANY, /*! entities of any order */
+ ORDER_LINEAR, /*! entities of 1st order */
+ ORDER_QUADRATIC /*! entities of 2nd order */
+};
PAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
- void Update(const Handle(SALOME_InteractiveObject)& theIO,
+ bool Update(const Handle(SALOME_InteractiveObject)& theIO,
+ // PAL16857(SMESH not conform to the MED convention):
+ if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane
+ aMeshDimension = 3;
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
- bool CheckMemory()
+ int CheckMemory() - return size of free memory
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
- void Update( int theIsClear = true );
+ bool Update( int theIsClear = true );
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
1)
- void Update( int theIsClear = true );
+ bool Update( int theIsClear = true );
2) Do not catch here
eap [Mon, 27 Aug 2007 07:02:36 +0000 (07:02 +0000)]
PAL16773: First display of a group of nodes appears as not selected in VTK.
- myHighlitableActor->SetVisibility(anIsVisible);
myHighlitableActor->GetExtractUnstructuredGrid()->
SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::ePoints);
+ myHighlitableActor->SetVisibility(anIsVisible);
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
+ /*!
+ * \brief Return wires of a face as StdMeshers_FaceSide's
+ */
+ static TSideVector GetFaceWires(const TopoDS_Face& theFace,
+ SMESH_Mesh & theMesh,
+ const bool theIgnoreMediumNodes,
+ TError & theError);
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
move declaration of class SMESH_2smeshpy here from
SMESH_2smeshpy.hxx to remove dependency of SMESH_DumpPython.cxx
on SMESH_2smeshpy.hxx
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
catch exceptions in myPattern.Apply( aMesh, fset, theNodeIndexOnKeyPoint1, theReverse );
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
- TPythonDump() << "if not isDone: print 'Mesh', " << theMesh << ", ': computation failed'";
PAL15881 New NETGEN capability: is it possible to do only a 2D mesh ?
+ * \brief Check if shape is a degenerated edge or it's vertex
+ bool IsDegenShape(const int subShape) const