-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D
//
// 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
#include "TetraAffineTransform.hxx"
#include "InterpolationUtils.hxx"
#include "SplitterTetra.txx"
+#include "MCIdType.hxx"
#include <iostream>
{
struct __MESH_DUMMY
{
- typedef int MyConnType;
+ typedef mcIdType MyConnType;
static const int MY_SPACEDIM=3;
};
static SplitterTetra<__MESH_DUMMY>* buildSplitterTetra()
{
- const int conn[4] = { 0,1,2,3 };
+ const mcIdType conn[4] = { 0,1,2,3 };
const double targetCoords[] = { -20., 0.,10.,
-20.,10.,10.,
void UnitTetra3D2DIntersectionTest::test_UnitTetra3D2DIntersection_1()
{
- const int conn[4] = { 0,1,2 };
+ const mcIdType conn[4] = { 0,1,2 };
const double sourceCoords[] = { -20., 0., 10.,
-12., 0., 10.,
void UnitTetra3D2DIntersectionTest::test_UnitTetra3D2DIntersection_2()
{
- const int conn[4] = { 0,1,2,3 };
+ const mcIdType conn[4] = { 0,1,2,3 };
const double sourceCoords[] = { -20., 0., 10.,
-12., 0., 10.,
void UnitTetra3D2DIntersectionTest::test_UnitTetra3D2DIntersection_3()
{
- const int conn[4] = { 0,1,2 };
+ const mcIdType conn[4] = { 0,1,2 };
const double sourceCoords[] = { -20., 0., 16.,
-18., 0., 16.,