GGI with octree search: fix bounding box extension

This commit is contained in:
Martin Beaudoin 2011-07-27 15:36:49 -04:00
parent dbdb3f2d65
commit 97301fe2a2

View file

@ -361,7 +361,7 @@ inline Foam::treeBoundBox Foam::treeBoundBox::extend(const scalar s) const
for (direction dir = 0; dir < vector::nComponents; dir++)
{
span[dir] = Foam::max(s*magSpan, span[dir]);
span[dir] = Foam::max(magSpan, span[dir]);
}
bb.min() -= cmptMultiply(s*vector::one, span);