-// Copyright (C) 2007-2020 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
INTERP_KERNEL::Interpolation3D myInterpolator;
std::vector<std::map<mcIdType,double> > res;
myInterpolator.setPrecision(1e-12);
- INTERP_KERNEL::SplittingPolicy sp[] = { INTERP_KERNEL::PLANAR_FACE_5, INTERP_KERNEL::PLANAR_FACE_6, INTERP_KERNEL::GENERAL_24, INTERP_KERNEL::GENERAL_48 };
- for ( int i = 0; i < 4; ++i )
+ INTERP_KERNEL::SplittingPolicy sp[] = { INTERP_KERNEL::PLANAR_FACE_5, INTERP_KERNEL::PLANAR_FACE_6, INTERP_KERNEL::GENERAL_24};
+ for ( int i = 0; i < 3; ++i )
{
myInterpolator.setSplittingPolicy( sp[i] );
res.clear();
CPPUNIT_ASSERT_DOUBLES_EQUAL( 0.0972222 ,res[4][2],precis);
CPPUNIT_ASSERT_DOUBLES_EQUAL( 0.0138889 ,res[4][5],precis);
- std::vector<std::map<int,double> > resRev;
+ std::vector<std::map<mcIdType,double> > resRev;
myInterpolator.interpolateMeshesRev(targetWrapper,sourceWrapper,resRev,"P0P0");
CPPUNIT_ASSERT_DOUBLES_EQUAL( res[0][0] ,resRev[0][0],precis);