mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 04:10:34 +05:00
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+ bool ToForgetMeshDataOnHypModif() const { return myToForgetMeshDataOnHypModif; }
This commit is contained in:
parent
6bf9c4aeaf
commit
11bf8d1e4d
@ -203,6 +203,8 @@ public:
|
||||
CORBA::Boolean byMesh)
|
||||
throw ( SALOME::SALOME_Exception );
|
||||
|
||||
// Preferences
|
||||
// ------------
|
||||
/*!
|
||||
* Sets number of segments per diagonal of boundary box of geometry by which
|
||||
* default segment length of appropriate 1D hypotheses is defined
|
||||
@ -222,6 +224,12 @@ public:
|
||||
*/
|
||||
virtual char* GetOption(const char*);
|
||||
|
||||
/*!
|
||||
* To load full mesh data from study at hyp modification or not
|
||||
*/
|
||||
bool ToForgetMeshDataOnHypModif() const { return myToForgetMeshDataOnHypModif; }
|
||||
|
||||
|
||||
// Create empty mesh on a shape
|
||||
SMESH::SMESH_Mesh_ptr CreateMesh( GEOM::GEOM_Object_ptr theShapeObject )
|
||||
throw ( SALOME::SALOME_Exception );
|
||||
@ -577,7 +585,7 @@ private:
|
||||
static SALOME_NamingService* myNS; // Naming Service
|
||||
static SALOME_LifeCycleCORBA* myLCC; // Life Cycle CORBA
|
||||
static SMESH_Gen_i* mySMESHGen; // Point to last created instance of the class
|
||||
::SMESH_Gen myGen; // SMESH_Gen local implementation
|
||||
::SMESH_Gen myGen; // SMESH_Gen local implementation
|
||||
|
||||
// hypotheses managing
|
||||
map<string, GenericHypothesisCreator_i*> myHypCreatorMap;
|
||||
@ -588,6 +596,9 @@ private:
|
||||
SALOMEDS::Study_var myCurrentStudy; // Current study
|
||||
CORBA::Boolean myIsEmbeddedMode; // Current mode
|
||||
|
||||
// To load full mesh data from study at hyp modification or not
|
||||
bool myToForgetMeshDataOnHypModif;
|
||||
|
||||
// Dump Python: trace of API methods calls
|
||||
std::map < int, Handle(TColStd_HSequenceOfAsciiString) > myPythonScripts;
|
||||
bool myIsHistoricalPythonDump;
|
||||
|
Loading…
Reference in New Issue
Block a user