Commit Graph

837 Commits

Author SHA1 Message Date
eap
cee1f8c11a [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
Add new NETGEN parameters to Mesh_Triangle and Mesh_Tetrahedron algorithms
2008-09-16 14:51:49 +00:00
eap
b4ce843583 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+msgid "SMESHGUI_MeshOp::SUBMESH_NOT_ALLOWED"
+msgstr "No sense in creating a submesh ignored by global algorithm \"%1\""
2008-09-16 14:51:26 +00:00
eap
fb8f3ac751 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
Read a new aglo attribute "support-submeshes":

+      QString suppSub = atts.value("support-submeshes");
+      if ( !suppSub.isEmpty() )
+        isSupportSubmeshes = (suppSub == "true");
+
2008-09-16 14:50:02 +00:00
eap
8e7cd4625d [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
//================================================================================
 /*!
+ * \brief Return name of the algorithm that does not support submeshes and makes
+ * submesh creation useless
+ *  \retval char* - string is to be deleted!!!
+ */
+//================================================================================
+
+char* SMESHGUI_MeshOp::isSubmeshIgnored() const
2008-09-16 14:49:49 +00:00
eap
2bc1c40f58 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+  bool IsSupportSubmeshes; //!< TRUE if the algo building all-dim elems supports submeshes
2008-09-16 14:49:07 +00:00
eap
dacb38a9d9 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
1)        algo->Compute() depending on algo->SupportSubmeshes()
2)
+  /*!
+   * \brief Return true if no mesh entities is bound to the submesh
+   */
+  bool IsEmpty() const;
2008-09-16 14:38:55 +00:00
eap
794f960633 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+  /*!
+   * \brief Return an alternative parameter for a node on seam
+   */
+  double GetOtherParam(const double param) const;
2008-09-16 14:38:25 +00:00
eap
b27af1c2d2 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
const SMESH_Hypothesis * GetHypothesis(const TopoDS_Shape &    aSubShape,
                                          const SMESH_HypoFilter& aFilter,
-                                         const bool              andAncestors) const;
+                                         const bool              andAncestors,
+                                         TopoDS_Shape*           assignedTo=0) const;
2008-09-16 14:38:08 +00:00
eap
6c591d8d62 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+  static SMESH_HypoPredicate* IsMoreLocalThan(const TopoDS_Shape& theShape);
2008-09-16 14:37:45 +00:00
eap
53362590aa [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
rearrange Compute()
2008-09-16 14:37:28 +00:00
eap
8f64956624 [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D
+  bool SupportSubmeshes() const { return _supportSubmeshes; }
+  // 5 - whether supports submeshes if !NeedDescretBoundary()
2008-09-16 14:36:59 +00:00
rnv
9fe8334ee2 Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups). 2008-09-16 12:11:37 +00:00
rnv
8bfa9cdd5d Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups). 2008-09-16 11:16:42 +00:00
maintenance team
dae92f6571 Porting to CAS-6.3 2008-09-10 13:06:13 +00:00
rnv
8a0f1ad782 Implementation on the issue 16186: EDF PAL 459: Mapping: when refining, to separate quadrangles into 2 triangles. 2008-09-08 13:24:39 +00:00
skl
9d559b75b8 Updated for feature 0016220 from Mantis. 2008-09-05 09:58:56 +00:00
eap
5291ea1e65 [SALOME platform 0019943]: Pb with projection 2d
In SMESH_Pattern::Load(mesh,face), fix treating seam vertices of not seam edges
2008-09-02 08:44:30 +00:00
jfa
11c8820aa0 Initialize some fields before usage. 2008-09-02 07:47:02 +00:00
akl
bc3f3f9c01 Fix for issue 0019935: EDF 793 SMESH: Drawing of a line on a non-planar surface. To draw only connectivity lines. 2008-08-01 07:39:10 +00:00
eap
c003632371 [SALOME platform 0019943] Pb with projection 2d
distinguish the case of seam edge encountered twice in face wire from
    the case of seam encountered once
2008-07-28 16:00:01 +00:00
eap
030beb0855 [SALOME platform 0019943] Pb with projection 2d
+  bool IsRealSeam(const int subShape) const
2008-07-28 15:57:35 +00:00
jfa
db17b46ddb Remove debug traces 2008-07-25 10:50:02 +00:00
jfa
4b33363430 Bug 0019943: Pb with projection 2d. Fix for a seam edge on not really closed face. 2008-07-25 10:32:18 +00:00
eap
08ba46c116 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
+msgid "SMESH_HYP_13"
+msgstr "Algorithm can't work without shape"
+
+msgid "SMESHGUI_ComputeDlg::SHOW_BAD_MESH"
+msgstr "Show bad Mesh"
+
2008-07-21 09:58:49 +00:00
eap
481dfe6e2e [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
+  void onShowBadMesh();
2008-07-21 09:58:11 +00:00
eap
3ffc0ecded [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
Move MeshPreviewStruct to SMESH_Mesh.idl
2008-07-21 09:57:13 +00:00
eap
41f4d1b379 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
enum Hypothesis_Status // in the order of severity
  {
+    HYP_NEED_SHAPE    // algorithm can work on shape only
   };

  Move here MeshPreviewStruct from MeshEditor
2008-07-21 09:56:41 +00:00
eap
af4f7de11b [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
struct ComputeError
   {
+    boolean hasBadMesh; // there are elements preventing computation available for visualization
   }

+  SMESH::MeshPreviewStruct* GetBadInputElements( SMESH::SMESH_Mesh_ptr theMesh,
+                                                 CORBA::Short          theSubShapeID )
2008-07-21 09:55:03 +00:00
eap
6d10da4745 SMESH::Hypothesis_Status SMESH_Mesh_i::ConvertHypothesisStatus
(SMESH_Hypothesis::Hypothesis_Status theStatus){
  switch (theStatus) {
+  RETURNCASE( HYP_NEED_SHAPE    );
2008-07-21 09:53:33 +00:00
eap
df5d0e7d52 CORBA::Long SMESH_MeshEditor_i::AddFace(const SMESH::long_array & IDsOfNodes)
{
-    return false;
+    return 0;
2008-07-21 09:52:43 +00:00
eap
5b2379017c [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
+  // Return mesh elements preventing computation of a subshape
+  SMESH::MeshPreviewStruct* GetBadInputElements( SMESH::SMESH_Mesh_ptr theMesh,
+                                                 CORBA::Short          theSubShapeID )
2008-07-21 09:51:45 +00:00
eap
5cb83e99e0 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
fix for algos not needing shapes
2008-07-21 09:50:39 +00:00
eap
a995fac75d [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
{
   _name = "UseExisting_1D";
   _shapeType = (1 << TopAbs_EDGE); // 1 bit per shape type
+  _requireShape = false;
 }
2008-07-21 09:49:06 +00:00
eap
95b07959a5 fix misspelling 2008-07-21 09:47:54 +00:00
eap
33cfc57a7c fix the problem that dependent submeshes are not always cleared when
hypothesis is removed
2008-07-21 09:47:15 +00:00
eap
60d6911d52 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
improve work with algos not needeing shapes
2008-07-21 09:43:48 +00:00
eap
6f8dc08854 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
enum Hypothesis_Status // in the order of severity
  {
+    HYP_NEED_SHAPE    // algorithm can work on shape only
2008-07-21 09:42:35 +00:00
eap
58f17329c5 [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics
store bad input elements and nodes
2008-07-21 09:41:11 +00:00
dmv
b4aed9ff1c Bug IPAL20034 Error after Find geometry by mesh element selection,if element is selected,but mesh isn't created.Regress. 2008-07-15 06:20:48 +00:00
dmv
cba44c5492 Bug IPAL19981 4x regress: unstable font for values of scalar bar 2008-07-08 08:15:13 +00:00
eap
6da23ffa6f [SALOME platform 0019911]: pb of memory allocation in SMESH
call CheckMemory() not at any entity addition but after adding
    CHECKMEMORY_INTERVAL(=1000) entities.
2008-07-07 07:36:47 +00:00
eap
9ea74d4371 [SALOME platform 0019911]: pb of memory allocation in SMESH
make the amount of memory allocated at each step depend on total RAM size
2008-07-07 07:34:17 +00:00
skl
779689b9a7 Changes for bug IPAL19574. 2008-07-04 11:02:20 +00:00
mkr
4112f94a38 Fix for bug IPAL20043 : Problem of current folder definition during mesh export (Appendix for Mantis 0019903). 2008-07-03 09:00:42 +00:00
jfa
c174b59dd5 Bug 0019389: Impossible to create a group with a selection in another group. 2008-07-03 07:33:37 +00:00
vsr
4324ec1b43 IMP 001989: multi selection in "Import" dialog boxes 2008-07-02 08:41:03 +00:00
dmv
dcb0b83441 Bug IPAL20033 Error after Close Study with Change Clipping dialog box opened. Sometimes it either crashes or hangs up. 2008-07-01 13:26:51 +00:00
dmv
15ec793e1d Bug IPAL20038 Name disappears in Create Group on Mesh dialog box when Group type is changed. 2008-07-01 12:38:09 +00:00
mkr
4f55f53101 Fix for bug 0019903: EDF 781 SMESH: give a default name when exporting mesh. 2008-06-30 10:06:21 +00:00
dmv
d408364886 Bug IPAL19581 REGR: Fatal error SIGSEGV on validation "Selection filter library" 2008-06-26 12:54:23 +00:00