mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: polyMesh::movePoints: clear cellTree since gets constructed using current geometry
so will be out of date (w.r.t bounding box, subdivisions) when the mesh moves. Only when all cells stays in all the same boxes can you skip rebuilding it so this was not deemed worthwhile. Fixes #172
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -2535,16 +2535,6 @@ Foam::labelBits Foam::indexedOctree<Type>::findNode
|
||||
|
||||
const node& nod = nodes_[nodeI];
|
||||
|
||||
if (debug)
|
||||
{
|
||||
if (!nod.bb_.contains(sample))
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Cannot find " << sample << " in node " << nodeI
|
||||
<< abort(FatalError);
|
||||
}
|
||||
}
|
||||
|
||||
direction octant = nod.bb_.subOctant(sample);
|
||||
|
||||
labelBits index = nod.subNodes_[octant];
|
||||
|
||||
Reference in New Issue
Block a user