Salome HOME
improve comments
authoreap <eap@opencascade.com>
Fri, 24 Aug 2012 13:32:35 +0000 (13:32 +0000)
committereap <eap@opencascade.com>
Fri, 24 Aug 2012 13:32:35 +0000 (13:32 +0000)
src/SMESH/SMESH_Algo.hxx
src/SMESHDS/SMESHDS_Hypothesis.hxx

index 580445b48057b0cc1c100d6ef30f66ce65cbdde0..115c26a286e64d2d903764e5028fd566028d42f4 100644 (file)
@@ -373,8 +373,8 @@ protected:
   bool _requireShape;           // work with GetDim()-1 mesh bound to geom only. Default TRUE
   bool _supportSubmeshes;       // if !_requireDiscreteBoundary. Default FALSE
 
-  // quadratic mesh creation required,
-  // is usually set trough SMESH_MesherHelper::IsQuadraticSubMesh()
+  // indicates if quadratic mesh creation is required,
+  // is usually set like this: _quadraticMesh = SMESH_MesherHelper::IsQuadraticSubMesh(shape)
   bool _quadraticMesh;
 
   int         _error;    //!< SMESH_ComputeErrorName or anything algo specific
index d819684af6a8e8b2d36f32a5a1cfc1b50b6de343..85e115c05d149150d026b3b0f07fb479cddd4e32 100644 (file)
@@ -24,7 +24,6 @@
 //  File   : SMESHDS_Hypothesis.hxx
 //  Author : Paul RASCLE, EDF
 //  Module : SMESH
-//  $Header$
 //
 #ifndef _SMESHDS_HYPOTHESIS_HXX_
 #define _SMESHDS_HYPOTHESIS_HXX_
@@ -36,7 +35,7 @@
 
 class SMESHDS_EXPORT SMESHDS_Hypothesis
 {
-public:
+ public:
   SMESHDS_Hypothesis(int hypId);
   virtual ~SMESHDS_Hypothesis();
 
@@ -50,12 +49,12 @@ public:
   virtual bool operator==(const SMESHDS_Hypothesis& other) const;
   bool operator!=(const SMESHDS_Hypothesis& other) const { return !(*this==other); }
 
-enum hypothesis_type {PARAM_ALGO, ALGO_0D, ALGO_1D, ALGO_2D, ALGO_3D};
+  enum hypothesis_type { PARAM_ALGO, ALGO_0D, ALGO_1D, ALGO_2D, ALGO_3D };
 
-protected:
-  std::string _name;
-  int _hypId;
-  int _type;
+ protected:
+  std::string _name;  // identifier if hypothesis type
+  int         _hypId; // ID unique within application session
+  int         _type;  // enum hypothesis_type
 };
 
 #endif