From 1dec6f45e606596bd476e529bc52d827bd681203 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 1 Aug 2013 12:47:00 +0000 Subject: [PATCH] Start debugging 3D interpolation error on OCTA12 in target mesh --- src/INTERP_KERNEL/SplitterTetra.hxx | 2 +- src/INTERP_KERNEL/SplitterTetra.txx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/INTERP_KERNEL/SplitterTetra.hxx b/src/INTERP_KERNEL/SplitterTetra.hxx index dc082002c..2f3c5f0b8 100644 --- a/src/INTERP_KERNEL/SplitterTetra.hxx +++ b/src/INTERP_KERNEL/SplitterTetra.hxx @@ -363,7 +363,7 @@ namespace INTERP_KERNEL /// Smallest volume of the intersecting elements in the transformed space that will be returned as non-zero. /// Since the scale is always the same in the transformed space (the target tetrahedron is unitary), this number is independent of the scale of the meshes. - static const double SPARSE_TRUNCATION_LIMIT=1.0e-14; + static const double SPARSE_TRUNCATION_LIMIT; }; /** diff --git a/src/INTERP_KERNEL/SplitterTetra.txx b/src/INTERP_KERNEL/SplitterTetra.txx index 8364bb1b4..6364c79d9 100644 --- a/src/INTERP_KERNEL/SplitterTetra.txx +++ b/src/INTERP_KERNEL/SplitterTetra.txx @@ -38,6 +38,9 @@ namespace INTERP_KERNEL { + template + const double SplitterTetra::SPARSE_TRUNCATION_LIMIT=1.0e-14; + /*! * output is expected to be allocated with 24*sizeof(void*) in order to store the 24 tetras. * These tetras have to be deallocated. -- 2.39.2