Commit 36a1aee8 authored by 's avatar
Browse files

add octree queryR

parent 6cba4e73
......@@ -100,6 +100,12 @@ void Octree::Process()
}
}
NekDouble Octree::QueryR(Array<OneD, NekDouble> loc)
{
NekDouble d = Query(loc);
return d/2.0/(sqrt(m_eps * (2.0 - m_eps)));
}
NekDouble Octree::Query(Array<OneD, NekDouble> loc)
{
// starting at master octant 0 move through succsesive m_octants which
......
......@@ -127,6 +127,8 @@ public:
*/
NekDouble Query(Array<OneD, NekDouble> loc);
NekDouble QueryR(Array<OneD, NekDouble> loc);
/**
* @brief returns the miminum spacing in the octree (for meshing purposes)
*
......
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