mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -25,7 +25,6 @@ License
|
|||||||
|
|
||||||
#include "metisDecomp.H"
|
#include "metisDecomp.H"
|
||||||
#include "addToRunTimeSelectionTable.H"
|
#include "addToRunTimeSelectionTable.H"
|
||||||
#include "floatScalar.H"
|
|
||||||
#include "Time.H"
|
#include "Time.H"
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
@ -68,7 +67,7 @@ Foam::label Foam::metisDecomp::decompose
|
|||||||
|
|
||||||
// processor weights initialised with no size, only used if specified in
|
// processor weights initialised with no size, only used if specified in
|
||||||
// a file
|
// a file
|
||||||
Field<floatScalar> processorWeights;
|
Field<scalar> processorWeights;
|
||||||
|
|
||||||
// cell weights (so on the vertices of the dual)
|
// cell weights (so on the vertices of the dual)
|
||||||
List<label> cellWeights;
|
List<label> cellWeights;
|
||||||
|
|||||||
Reference in New Issue
Block a user