Skip to content
Snippets Groups Projects
Commit 2cdd9132 authored by mattijs's avatar mattijs
Browse files

ENH: scotch: make repeatable. Fixes #1274.

parent 85c40769
No related branches found
No related tags found
No related merge requests found
...@@ -549,6 +549,10 @@ Foam::label Foam::ptscotchDecomp::decompose ...@@ -549,6 +549,10 @@ Foam::label Foam::ptscotchDecomp::decompose
} }
} }
// Make repeatable
SCOTCH_randomReset();
// Strategy // Strategy
// ~~~~~~~~ // ~~~~~~~~
......
...@@ -236,6 +236,9 @@ Foam::label Foam::scotchDecomp::decomposeSerial ...@@ -236,6 +236,9 @@ Foam::label Foam::scotchDecomp::decomposeSerial
} }
} }
// Make repeatable
SCOTCH_randomReset();
// Strategy // Strategy
// ~~~~~~~~ // ~~~~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment