-// Copyright (C) 2018 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()
{}
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++)
{