0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic

+    /*!
+     * Return true if the mesh has been edited since a total re-compute
+     * and those modifications may prevent successful partial re-compute
+     */
+    boolean HasModificationsToDiscard()
+      raises (SALOME::SALOME_Exception);
This commit is contained in:
eap 2010-05-13 06:18:57 +00:00
parent d0e4aacc56
commit dc9f7a0708
3 changed files with 22 additions and 0 deletions

View File

@ -520,6 +520,13 @@ module SMESH
SMESH_MeshEditor GetMeshEditPreviewer() SMESH_MeshEditor GetMeshEditPreviewer()
raises (SALOME::SALOME_Exception); raises (SALOME::SALOME_Exception);
/*!
* Return true if the mesh has been edited since a total re-compute
* and those modifications may prevent successful partial re-compute
*/
boolean HasModificationsToDiscard()
raises (SALOME::SALOME_Exception);
/*! Check group names for duplications. /*! Check group names for duplications.
* Consider maximum group name length stored in MED file. * Consider maximum group name length stored in MED file.
*/ */

View File

@ -2229,6 +2229,19 @@ SMESH::SMESH_MeshEditor_ptr SMESH_Mesh_i::GetMeshEditPreviewer()
return aMesh._retn(); return aMesh._retn();
} }
//================================================================================
/*!
* \brief Return true if the mesh has been edited since a last total re-compute
* and those modifications may prevent successful partial re-compute
*/
//================================================================================
CORBA::Boolean SMESH_Mesh_i::HasModificationsToDiscard() throw(SALOME::SALOME_Exception)
{
Unexpect aCatch(SALOME_SalomeException);
return _impl->HasModificationsToDiscard();
}
//============================================================================= //=============================================================================
/*! /*!
* *

View File

@ -162,6 +162,8 @@ public:
SMESH::SMESH_MeshEditor_ptr GetMeshEditPreviewer(); SMESH::SMESH_MeshEditor_ptr GetMeshEditPreviewer();
CORBA::Boolean HasModificationsToDiscard() throw (SALOME::SALOME_Exception);
void ClearLog() void ClearLog()
throw (SALOME::SALOME_Exception); throw (SALOME::SALOME_Exception);