polyMesh: Stopped re-seeding of RNG on each cell-tree update
This resolves bug report https://bugs.openfoam.org/view.php?id=2772
This commit is contained in:
parent
a268af9720
commit
e00301939f
1 changed files with 1 additions and 1 deletions
|
|
@ -878,7 +878,7 @@ Foam::polyMesh::cellTree() const
|
|||
{
|
||||
treeBoundBox overallBb(points());
|
||||
|
||||
Random rndGen(261782);
|
||||
static Random rndGen(261782);
|
||||
|
||||
overallBb = overallBb.extend(rndGen, 1e-4);
|
||||
overallBb.min() -= point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue