From e24b32a2a28b62c23236803735c8cd098ba00694 Mon Sep 17 00:00:00 2001 From: vbd Date: Fri, 14 Sep 2007 12:17:51 +0000 Subject: [PATCH] staffan : * added testUnitTetra.cxx --- src/INTERP_KERNEL/testUnitTetra.cxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/INTERP_KERNEL/testUnitTetra.cxx diff --git a/src/INTERP_KERNEL/testUnitTetra.cxx b/src/INTERP_KERNEL/testUnitTetra.cxx new file mode 100644 index 000000000..07b786972 --- /dev/null +++ b/src/INTERP_KERNEL/testUnitTetra.cxx @@ -0,0 +1,16 @@ +#include "MEDMEM_Mesh.hxx" +#include "Interpolation3D.hxx" +#include "./Test/TestingUtils.hxx" + +using namespace MEDMEM; + +// simple test to see if a certain mesh is diagonal when intersected with itself + +int main() +{ + MEDMEM::MESH mesh1(MED_DRIVER,"/home/vb144235/resources/DividedUnitTetraSimpler.med","DividedUnitTetraSimpler"); + MEDMEM::MESH mesh2(MED_DRIVER,"/home/vb144235/resources/DividedUnitTetraSimpler.med","DividedUnitTetraSimpler"); + Interpolation3D interpolator; + vector > matrix = interpolator.interpol_maillages(mesh1,mesh2); + dumpIntersectionMatrix(matrix); +} -- 2.39.2