Salome HOME
Add test for .mesh file format
[tools/medcoupling.git] / src / INTERP_KERNEL / Interpolation1D0D.cxx
index b1a1dd03c955b58007ec75ac539b4b0892fdf1b6..1f09c091a05177fe0062aff8c32beab349adac37 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 
 namespace INTERP_KERNEL
 {
-  /**
-   * \class Interpolation1D0D
-   * \brief Class used to calculate the interpolation between a 1D mesh and 0D mesh (in 3D space)
-   * Can be seen as a specialization of Interpolation3D, and allows notably the adjustment of bounind boxes.
-   * 
-   */
-
   Interpolation1D0D::Interpolation1D0D()
   {}
 
@@ -44,8 +37,8 @@ namespace INTERP_KERNEL
     const int SPACE_DIM = 3;
     const double adj(getPrecision());// here precision is used instead of getBoundingBoxAdjustment and getBoundingBoxAdjustmentAbs because in the context only precision is relevant
 
-    long size = bbox.size()/(2*SPACE_DIM);
-    for (int i=0; i<size; i++)
+    std::size_t size = bbox.size()/(2*SPACE_DIM);
+    for (std::size_t i=0; i<size; i++)
       {
         for(int idim=0; idim<SPACE_DIM; idim++)
           {