ENH: removed unused code
This commit is contained in:
parent
0d1ba8b51e
commit
37e2c51677
1 changed files with 1 additions and 15 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
|
|
@ -203,20 +203,6 @@ Foam::label Foam::metisDecomp::decompose
|
||||||
// output: number of cut edges
|
// output: number of cut edges
|
||||||
int edgeCut = 0;
|
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")
|
if (method == "recursive")
|
||||||
{
|
{
|
||||||
METIS_PartGraphRecursive
|
METIS_PartGraphRecursive
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue