From: ageay Date: Thu, 1 Aug 2013 12:47:00 +0000 (+0000) Subject: Start debugging 3D interpolation error on OCTA12 in target mesh X-Git-Tag: B4PolyhIntersect~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1dec6f45e606596bd476e529bc52d827bd681203;p=modules%2Fmed.git Start debugging 3D interpolation error on OCTA12 in target mesh --- 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.