diff --git a/src/parallel/decompose/metisDecomp/metisDecomp.C b/src/parallel/decompose/metisDecomp/metisDecomp.C index 2dac90ae14..33d9e4db05 100644 --- a/src/parallel/decompose/metisDecomp/metisDecomp.C +++ b/src/parallel/decompose/metisDecomp/metisDecomp.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -203,20 +203,6 @@ Foam::label Foam::metisDecomp::decompose // output: number of cut edges int edgeCut = 0; - // Vertex weight info - int* vwgtPtr = NULL; - int* adjwgtPtr = NULL; - - if (cellWeights.size()) - { - vwgtPtr = cellWeights.begin(); - } - if (faceWeights.size()) - { - adjwgtPtr = faceWeights.begin(); - } - - if (method == "recursive") { METIS_PartGraphRecursive