ENH: scotch: make repeatable. Fixes #1274.

This commit is contained in:
mattijs
2019-06-19 08:45:48 +01:00
committed by Andrew Heather
parent 3f955cac07
commit 355d6c4c4f
2 changed files with 7 additions and 0 deletions

View File

@ -549,6 +549,10 @@ Foam::label Foam::ptscotchDecomp::decompose
}
}
// Make repeatable
SCOTCH_randomReset();
// Strategy
// ~~~~~~~~

View File

@ -236,6 +236,9 @@ Foam::label Foam::scotchDecomp::decomposeSerial
}
}
// Make repeatable
SCOTCH_randomReset();
// Strategy
// ~~~~~~~~