-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
#define __MEDCOUPLINGBASICSTEST_HXX__
#include <cppunit/extensions/HelperMacros.h>
+#include "MCType.hxx"
#include <map>
#include <vector>
-namespace ParaMEDMEM
+namespace MEDCoupling
{
class DataArrayDouble;
class MEDCouplingUMesh;
static DataArrayDouble *buildCoordsForMultiTypes_1();
static MEDCouplingMultiFields *buildMultiFields_1();
static std::vector<MEDCouplingFieldDouble *> buildMultiFields_2();
- static double sumAll(const std::vector< std::map<int,double> >& matrix);
+ static double sumAll(const std::vector< std::map<mcIdType,double> >& matrix);
protected:
- static int countNonZero(const std::vector< std::map<int,double> >& matrix);
+ static int countNonZero(const std::vector< std::map<mcIdType,double> >& matrix);
static void test2D1DMeshesIntersection(MEDCouplingUMesh *sourceMesh,
MEDCouplingUMesh *targetMesh,