From: michael Date: Sat, 28 Nov 2020 19:43:00 +0000 (+0100) Subject: Function minratiosurfvol is const X-Git-Tag: V9_7_0~139 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aae17416970c3ff5c7b99f9f7482d69d6d3b1a63;p=tools%2Fsolverlab.git Function minratiosurfvol is const --- diff --git a/CDMATH/mesh/inc/Mesh.hxx b/CDMATH/mesh/inc/Mesh.hxx index 5a9deff..b5a69d8 100644 --- a/CDMATH/mesh/inc/Mesh.hxx +++ b/CDMATH/mesh/inc/Mesh.hxx @@ -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) diff --git a/CDMATH/mesh/src/Mesh.cxx b/CDMATH/mesh/src/Mesh.cxx index b1eb216..1b1d4fe 100644 --- a/CDMATH/mesh/src/Mesh.cxx +++ b/CDMATH/mesh/src/Mesh.cxx @@ -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++)