Commit Graph

1027 Commits

Author SHA1 Message Date
eap
6d0508c77b - ## Returns the list of IDs of submesh elements with the given type
+    ## Returns type of elements on given shape
     #  @param Shape a geom object(subshape) IOR
     #         Shape must be a subshape of a ShapeToMesh()
-    #  @return the list of integer values
+    #  @return element type
     #  @ingroup l1_meshinfo
     def GetSubMeshElementType(self, Shape):
         if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)):
2009-06-18 12:45:53 +00:00
eap
8735b17bdc 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
/*!
+   * \brief Move medium nodes of faces and volumes to fix distorted elements
+   * \param volumeOnly - fix nodes on faces or not if the shape is solid
+   */
+  void FixQuadraticElements(bool volumeOnly=true);
2009-06-18 12:44:50 +00:00
eap
3232c8723f 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
struct SMESH_TLink: public NLink {
+  const SMDS_MeshNode* node1() const { return first; }
+  const SMDS_MeshNode* node2() const { return second; }
};
2009-06-18 12:42:13 +00:00
eap
47e62a030c 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
in ConvertToQuadratic()
+  if ( !theForce3d ) {
+    aHelper.SetSubShape(0); // apply to the whole mesh
+    aHelper.FixQuadraticElements();
+  }
2009-06-18 12:40:22 +00:00
eap
02846fd083 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
+  inline int NbElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
2009-06-18 12:38:26 +00:00
eap
51a896bafb 0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
-  SMDS_ElemIteratorPtr elementsIterator() const;
+  SMDS_ElemIteratorPtr elementsIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
2009-06-18 12:35:37 +00:00
skl
34fb01e7b5 Implementation of new version ExtrusionAlongPath (20003 from Mantis). 2009-06-10 07:09:15 +00:00
maintenance team
6a528ce128 Changing version to 5.1.2 2009-06-01 10:25:36 +00:00
nge
8657df1e18 Update documentation for BLSurf size map feature 2009-05-29 14:48:47 +00:00
vsr
23636c1eb3 Issue 0020370: Symbols multi defined 2009-05-28 13:39:06 +00:00
dmv
bd5c3ea6d2 0020373: MakeMultiTransformation1D failed on maintenances branch (V4 and V5) 2009-05-27 14:34:10 +00:00
vsr
c645e10df0 Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something 2009-05-27 14:20:16 +00:00
vsr
b726570a5c Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something 2009-05-27 14:10:47 +00:00
ouv
9df276244b Issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption) 2009-05-27 12:05:48 +00:00
rnv
e85139c53f Implementation of the issue 20115: [CEA 308] Quadratic elements visualization.
Some corrections.
2009-05-27 12:05:17 +00:00
rnv
c66c06508b Implementation of the issue 20115: [CEA 308] Quadratic elements visualization. 2009-05-27 11:25:25 +00:00
ouv
daf3ca87d0 Issue 0019818: EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption) 2009-05-27 07:24:39 +00:00
eap
cead6d7aed 0019936: EDF 794 SMESH : Export UNV : Node color and group id
default node color - 11
2009-05-26 05:22:13 +00:00
eap
c13e1f70bc 0019936: EDF 794 SMESH : Export UNV : Node color and group id
write group label as <group ID>+1
2009-05-26 05:17:10 +00:00
eap
4ac1bf1b0d minor change 2009-05-25 11:37:37 +00:00
eap
ca174cbff6 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
1) Call CheckGeomGroupModif() in Clear()
    2) In CheckGeomGroupModif(), implement case where meshed geom group changes
2009-05-25 11:37:06 +00:00
eap
b4562e1bda 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
+  void changeLocalId(int localId) { myLocalID = localId; }
+  friend void SMESH_Mesh_i::CheckGeomGroupModif();
2009-05-25 11:33:38 +00:00
eap
8a18d05e3b 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
enable Load() in case if meshed geom group has changed
2009-05-25 11:32:35 +00:00
eap
a16572377f 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
update object browser as some object can be removed
2009-05-25 11:29:49 +00:00
eap
b5cb4a64fb 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
In ShapeToMesh(), delete submeshes
2009-05-25 11:24:54 +00:00
eap
c7b8fb12f3 0020145: EDF 666 SMESH: Modifications of GEOM groups are not taken into account
allow changing shape to mesh in case of shape being group
2009-05-25 11:20:50 +00:00
vsr
9a32d230ac 0020354: EDF 1031 OTHER warnings with automake 1.10 2009-05-22 12:39:14 +00:00
dmv
adc76cf234 0020104: EDF 861 SMESH : Mesh element info evolution 2009-05-21 13:09:36 +00:00
vsr
efc89ab066 0020362: EDF SMESH: Smesh commands always generate print logs 2009-05-21 11:11:41 +00:00
eap
c4e4d52dd6 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix for SIGSEGV on quadratic  mesh
2009-05-20 13:21:04 +00:00
eap
c8e501d713 0020279: [CEA 334] control the "random" use when using mesh algorithms
sort faces by IDs
2009-05-19 15:41:19 +00:00
eap
318d07b4db 0020279: [CEA 334] control the "random" use when using mesh algorithms
1) delete temporary faces in destructor
   2) bind created pyramids to shape
   3) create quadratic pyramids when necessary
   4) sort faces by IDs
2009-05-19 15:40:53 +00:00
eap
58e6fd99b6 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix FindMatchingNodesOnFaces() on quadratic mesh
2009-05-19 15:36:09 +00:00
eap
e07947533e 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SetSourceMesh(): set mesh before calling NotifySubMeshesHypothesisModification()
2009-05-19 15:35:17 +00:00
eap
eb2c096f8e 0020279: [CEA 334] control the "random" use when using mesh algorithms
Compare TNode's by node ID
2009-05-19 15:34:07 +00:00
eap
966f6ecf06 0020279: [CEA 334] control the "random" use when using mesh algorithms
In SetEventListener(), avoid meshing of internal vertices of
   complex edge
2009-05-19 15:33:12 +00:00
eap
ec51778b0c 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SourceShape3D() for the case when no vertices are provided
2009-05-19 15:32:08 +00:00
eap
f33734eda1 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix GetHypothesisList() for mesh w/o shape
2009-05-19 15:31:06 +00:00
eap
ea772b0267 0020279: [CEA 334] control the "random" use when using mesh algorithms
Use TIDCompare from SMDS_MeshElement.hxx
2009-05-19 15:28:40 +00:00
eap
60009bb9da 0020279: [CEA 334] control the "random" use when using mesh algorithms
For stability of StdMeshers_CompositeSegment_1D:
+  bool IsAlwaysComputed() { return _alwaysComputed; }
2009-05-19 15:27:52 +00:00
eap
aa8faf765a #include SMESH_MeshEditor.hxx via SMESH_MesherHelper.hxx 2009-05-19 15:26:34 +00:00
eap
413a2425d7 eliminate compilation warning 2009-05-19 15:23:46 +00:00
eap
c50dcca3fe +#include "SMESH_MeshEditor.hxx" // needed for many meshers 2009-05-19 15:20:28 +00:00
eap
b6c9c862b4 0020279: [CEA 334] control the "random" use when using mesh algorithms
fix IsQuadraticSubMesh() to work on mesh w/o shape
2009-05-19 15:19:52 +00:00
eap
b632539159 move struct TIDCompare to SMDS_MeshElement.hxx 2009-05-19 15:17:19 +00:00
eap
eb1ffbdba2 static const SMDS_MeshNode* VertexNode(const TopoDS_Vertex& V,
-                                         SMESHDS_Mesh*        meshDS);
+                                         const SMESHDS_Mesh* meshDS);
2009-05-19 15:16:37 +00:00
eap
24f41d7b2b in GetNodeParamOnEdge(), take into account that nodes on vertices not
always present, e.g. when Composite side discretisation is used
2009-05-19 15:16:23 +00:00
eap
91d01b7efe + const SMDS_MeshNode* GetNodeWrap(const int ind) const { return GetNode( WrappedIndex( ind )); }
+// ============================================================
+/*!
+ * \brief Comparator of elements by ID for usage in std containers
+ */
+// ============================================================
+
+struct TIDCompare {
+  bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
+  { return e1->GetID() < e2->GetID(); }
+};
2009-05-19 15:13:59 +00:00
eap
b6986ac1b1 GetNode(int index) no longer wraps index, rather GetNodeWrap(int index) does 2009-05-19 15:12:54 +00:00
maintenance team
88eccafce6 Update according to change of boolean operation. 2009-05-19 10:18:06 +00:00