mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: scotch: make repeatable. Fixes #1274.
This commit is contained in:
@ -549,6 +549,10 @@ Foam::label Foam::ptscotchDecomp::decompose
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Make repeatable
|
||||||
|
SCOTCH_randomReset();
|
||||||
|
|
||||||
// Strategy
|
// Strategy
|
||||||
// ~~~~~~~~
|
// ~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@ -236,6 +236,9 @@ Foam::label Foam::scotchDecomp::decomposeSerial
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make repeatable
|
||||||
|
SCOTCH_randomReset();
|
||||||
|
|
||||||
// Strategy
|
// Strategy
|
||||||
// ~~~~~~~~
|
// ~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user