Commit 95e85e47 authored by berenger-bramas's avatar berenger-bramas

Update the tee arranger and the octree.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@344 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 156b3cdc
......@@ -30,7 +30,6 @@ public:
const F3DPosition min(tree->getBoxCenter(),-boxWidth/2);
const F3DPosition max(tree->getBoxCenter(),boxWidth/2);
{ // iterate on the leafs and found particle to remove
typename OctreeClass::Iterator octreeIterator(tree);
octreeIterator.gotoBottomLeft();
......
......@@ -87,7 +87,7 @@ public:
const FReal inBoxWidth, const F3DPosition& inBoxCenter)
: boxWidthAtLevel(new FReal[inHeight]),
height(inHeight) , subHeight(inSubHeight), leafIndex(this->height-1),
root(0), boxCenter(inBoxCenter), boxCorner(inBoxCenter - (inBoxWidth/2)), boxWidth(inBoxWidth)
root(0), boxCenter(inBoxCenter), boxCorner(inBoxCenter,-(inBoxWidth/2)), boxWidth(inBoxWidth)
{
fassert(subHeight <= height - 1, "Subheight cannot be greater than height", __LINE__, __FILE__ );
// Does we only need one suboctree?
......
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