From 08a20c5bd19bdebb4c3c37f2e90cd5ebd12b2bbe Mon Sep 17 00:00:00 2001 From: mattijs Date: Wed, 6 Oct 2010 12:45:42 +0100 Subject: [PATCH] BUG: indexedOctree : missing access function --- src/meshTools/indexedOctree/indexedOctree.C | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/meshTools/indexedOctree/indexedOctree.C b/src/meshTools/indexedOctree/indexedOctree.C index 3f85828c09..9971bd97b4 100644 --- a/src/meshTools/indexedOctree/indexedOctree.C +++ b/src/meshTools/indexedOctree/indexedOctree.C @@ -2794,6 +2794,30 @@ Foam::indexedOctree::getVolumeType } +template +template +void Foam::indexedOctree::findNear +( + const scalar nearDist, + const indexedOctree& tree2, + CompareOp& cop +) const +{ + findNear + ( + nearDist, + true, + *this, + nodePlusOctant(0, 0), + bb(), + tree2, + nodePlusOctant(0, 0), + tree2.bb(), + cop + ); +} + + // Print contents of nodeI template void Foam::indexedOctree::print