]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Function minratiosurfvol is const
authormichael <michael@localhost.localdomain>
Sat, 28 Nov 2020 19:43:00 +0000 (20:43 +0100)
committermichael <michael@localhost.localdomain>
Sat, 28 Nov 2020 19:43:00 +0000 (20:43 +0100)
CDMATH/mesh/inc/Mesh.hxx
CDMATH/mesh/src/Mesh.cxx

index 5a9deff5325aaed8152aae6923e20a147fac9dd5..b5a69d8b074a6b7e5037d0d650dca067179b3388 100644 (file)
@@ -348,7 +348,7 @@ public: //----------------------------------------------------------------
        /**
         * \brief Compute the minimum value over all cells of the ratio cell perimeter/cell vaolume
         */
-    double minRatioVolSurf();
+    double minRatioVolSurf() const;
     
        /**
         * \brief Compute the maximum number of neighbours around an element (cells around a cell or nodes around a node)
index b1eb21614205232670d275021b83db14f1fcd833..1b1d4fe8722aec4592cc647f3a2bcc8b6f7d4fd8 100644 (file)
@@ -1916,7 +1916,7 @@ bool Mesh::isIndexFacePeriodicSet() const
 }
 //----------------------------------------------------------------------
 double 
-Mesh::minRatioVolSurf()
+Mesh::minRatioVolSurf() const
 {
     double dx_min  = 1e30;
     for(int i=0; i<_numberOfCells; i++)