Commit fc1626ae authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fixed history point location algorithm on manifold (again).

parent ca52f498
......@@ -1268,6 +1268,9 @@ namespace Nektar
}
}
// retrieve local coordinate of point
(*m_exp)[min_id]->GetGeom()->GetLocCoords(gloCoords,
locCoords);
return min_id;
}
else
......
......@@ -188,7 +188,10 @@ namespace Nektar
}
if (distance > NekConstants::kGeomFactorsTol)
{
idList[i] = -1;
cout << "Warning: History point " << i << " at ("
<< gloCoord[0] << "," << gloCoord[1] << ","
<< gloCoord[2] << ") lies a distance of "
<< sqrt(distance) << " from the manifold." << endl;
}
}
......
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