Salome HOME
Revert "Merge branch 'yan/parallel_mesh2'"
[plugins/netgenplugin.git] / src / NETGENPlugin / NETGENPlugin_Hypothesis.cxx
index 2113c960133b61c3d1b0ba854888838041dba562..28c9c6e87cee225d9056d64c79df44cd6cce7350 100644 (file)
@@ -58,7 +58,6 @@ NETGENPlugin_Hypothesis::NETGENPlugin_Hypothesis (int hypId, SMESH_Gen * gen)
     _nbVolOptSteps      (GetDefaultNbVolOptSteps()),
     _elemSizeWeight     (GetDefaultElemSizeWeight()),
     _worstElemMeasure   (GetDefaultWorstElemMeasure()),
-    _nbThreads          (GetDefaultNbThreads()),
     _surfaceCurvature   (GetDefaultSurfaceCurvature()),
     _useDelauney        (GetDefaultUseDelauney()),
     _checkOverlapping   (GetDefaultCheckOverlapping()),
@@ -85,7 +84,7 @@ void NETGENPlugin_Hypothesis::SetMaxSize(double theSize)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetMinSize(double theSize)
@@ -99,7 +98,7 @@ void NETGENPlugin_Hypothesis::SetMinSize(double theSize)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetSecondOrder(bool theVal)
@@ -113,7 +112,7 @@ void NETGENPlugin_Hypothesis::SetSecondOrder(bool theVal)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetOptimize(bool theVal)
@@ -127,7 +126,7 @@ void NETGENPlugin_Hypothesis::SetOptimize(bool theVal)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetFineness(Fineness theFineness)
@@ -173,7 +172,7 @@ void NETGENPlugin_Hypothesis::SetFineness(Fineness theFineness)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetGrowthRate(double theRate)
@@ -188,7 +187,7 @@ void NETGENPlugin_Hypothesis::SetGrowthRate(double theRate)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetNbSegPerEdge(double theVal)
@@ -203,7 +202,7 @@ void NETGENPlugin_Hypothesis::SetNbSegPerEdge(double theVal)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetNbSegPerRadius(double theVal)
@@ -218,7 +217,7 @@ void NETGENPlugin_Hypothesis::SetNbSegPerRadius(double theVal)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetChordalErrorEnabled(bool theVal)
@@ -232,7 +231,7 @@ void NETGENPlugin_Hypothesis::SetChordalErrorEnabled(bool theVal)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetChordalError(double theVal)
@@ -246,7 +245,7 @@ void NETGENPlugin_Hypothesis::SetChordalError(double theVal)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetLocalSizeOnEntry(const std::string& entry, double localSize)
@@ -274,7 +273,7 @@ double NETGENPlugin_Hypothesis::GetLocalSizeOnEntry(const std::string& entry)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::UnsetLocalSizeOnEntry(const std::string& entry)
@@ -285,7 +284,7 @@ void NETGENPlugin_Hypothesis::UnsetLocalSizeOnEntry(const std::string& entry)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetMeshSizeFile(const std::string& fileName)
@@ -299,7 +298,7 @@ void NETGENPlugin_Hypothesis::SetMeshSizeFile(const std::string& fileName)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetQuadAllowed(bool theVal)
@@ -313,7 +312,7 @@ void NETGENPlugin_Hypothesis::SetQuadAllowed(bool theVal)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 void NETGENPlugin_Hypothesis::SetSurfaceCurvature(bool theVal)
@@ -341,7 +340,7 @@ void NETGENPlugin_Hypothesis::SetFuseEdges(bool theVal)
 
 //=======================================================================
 //function : SetNbSurfOptSteps
-//purpose  :
+//purpose  : 
 //=======================================================================
 
 void NETGENPlugin_Hypothesis::SetNbSurfOptSteps( int theVal )
@@ -355,7 +354,7 @@ void NETGENPlugin_Hypothesis::SetNbSurfOptSteps( int theVal )
 
 //=======================================================================
 //function : SetNbVolOptSteps
-//purpose  :
+//purpose  : 
 //=======================================================================
 
 void NETGENPlugin_Hypothesis::SetNbVolOptSteps( int theVal )
@@ -369,7 +368,7 @@ void NETGENPlugin_Hypothesis::SetNbVolOptSteps( int theVal )
 
 //=======================================================================
 //function : SetElemSizeWeight
-//purpose  :
+//purpose  : 
 //=======================================================================
 
 void NETGENPlugin_Hypothesis::SetElemSizeWeight( double theVal )
@@ -383,7 +382,7 @@ void NETGENPlugin_Hypothesis::SetElemSizeWeight( double theVal )
 
 //=======================================================================
 //function : SetWorstElemMeasure
-//purpose  :
+//purpose  : 
 //=======================================================================
 
 void NETGENPlugin_Hypothesis::SetWorstElemMeasure( int theVal )
@@ -397,7 +396,7 @@ void NETGENPlugin_Hypothesis::SetWorstElemMeasure( int theVal )
 
 //=======================================================================
 //function : SetUseDelauney
-//purpose  :
+//purpose  : 
 //=======================================================================
 
 void NETGENPlugin_Hypothesis::SetUseDelauney( bool theVal )
@@ -411,7 +410,7 @@ void NETGENPlugin_Hypothesis::SetUseDelauney( bool theVal )
 
 //=======================================================================
 //function : SetCheckOverlapping
-//purpose  :
+//purpose  : 
 //=======================================================================
 
 void NETGENPlugin_Hypothesis::SetCheckOverlapping( bool theVal )
@@ -425,7 +424,7 @@ void NETGENPlugin_Hypothesis::SetCheckOverlapping( bool theVal )
 
 //=======================================================================
 //function : SetCheckChartBoundary
-//purpose  :
+//purpose  : 
 //=======================================================================
 
 void NETGENPlugin_Hypothesis::SetCheckChartBoundary( bool theVal )
@@ -437,20 +436,6 @@ void NETGENPlugin_Hypothesis::SetCheckChartBoundary( bool theVal )
   }
 }
 
-//=======================================================================
-//function : SetNbThreads
-//purpose  :
-//=======================================================================
-
-void NETGENPlugin_Hypothesis::SetNbThreads( int theVal )
-{
-  if (theVal != _nbThreads)
-  {
-    _nbThreads = theVal;
-    NotifySubMeshesHypothesisModification();
-  }
-}
-
 //=============================================================================
 /*!
  *
@@ -500,7 +485,7 @@ ostream & NETGENPlugin_Hypothesis::SaveTo(ostream & save)
 
 //=============================================================================
 /*!
- *
+ *  
  */
 //=============================================================================
 istream & NETGENPlugin_Hypothesis::LoadFrom(istream & load)