ENH: removed unused code

This commit is contained in:
andy
2014-04-08 12:33:55 +01:00
committed by Andrew Heather
parent 1e157ad7b2
commit f147a276ae

View File

@ -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