mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: removed unused code
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user