metisDecomp: Changed to use scalar rather than float

Requires that metis is compiled with REALTYPEWIDTH set to 32 for SP and 64 for DP.
This commit is contained in:
Henry Weller
2015-12-09 09:16:08 +00:00
parent fb871828a5
commit 67a9b8df73

View File

@ -25,7 +25,6 @@ License
#include "metisDecomp.H"
#include "addToRunTimeSelectionTable.H"
#include "floatScalar.H"
#include "Time.H"
extern "C"
@ -68,7 +67,7 @@ Foam::label Foam::metisDecomp::decompose
// processor weights initialised with no size, only used if specified in
// a file
Field<floatScalar> processorWeights;
Field<scalar> processorWeights;
// cell weights (so on the vertices of the dual)
List<label> cellWeights;