ENH: ptscotchDecomp: get coeffs from scotchCoeffs instead of ptscotchCoeffs

This commit is contained in:
mattijs
2012-07-02 13:48:19 +01:00
parent eba67ab3e3
commit c324e4a1d5

View File

@ -401,10 +401,10 @@ Foam::label Foam::ptscotchDecomp::decompose
}
// Dump graph
if (decompositionDict_.found("ptscotchCoeffs"))
if (decompositionDict_.found("scotchCoeffs"))
{
const dictionary& scotchCoeffs =
decompositionDict_.subDict("ptscotchCoeffs");
decompositionDict_.subDict("scotchCoeffs");
if (scotchCoeffs.lookupOrDefault("writeGraph", false))
{