Commit e659f77b authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

Interpolator: fix evaluation tolerance

parent 07824879
...@@ -369,7 +369,7 @@ void Interpolator::Interpolate( ...@@ -369,7 +369,7 @@ void Interpolator::Interpolate(
} }
// Obtain Element and LocalCoordinate to interpolate // Obtain Element and LocalCoordinate to interpolate
int elmtid = m_expInField[0]->GetExpIndex(Scoords, Lcoords, 1e-3); int elmtid = m_expInField[0]->GetExpIndex(Scoords, Lcoords, NekConstants::kNekZeroTol);
if (elmtid >= 0) if (elmtid >= 0)
{ {
...@@ -445,7 +445,7 @@ void Interpolator::Interpolate( ...@@ -445,7 +445,7 @@ void Interpolator::Interpolate(
} }
// Obtain Element and LocalCoordinate to interpolate // Obtain Element and LocalCoordinate to interpolate
int elmtid = m_expInField[0]->GetExpIndex(coords, Lcoords, 1e-3); int elmtid = m_expInField[0]->GetExpIndex(coords, Lcoords, NekConstants::kNekZeroTol);
if (elmtid >= 0) if (elmtid >= 0)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment