GGI with octree search: fix bounding box extension
This commit is contained in:
parent
dbdb3f2d65
commit
97301fe2a2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue