35 namespace decompositionMethods
63 decompositionDict.optionalSubDict
65 word(decompositionDict.lookup(
"method")) +
"Coeffs"
95 if (finalDecomp.size() !=
points.size())
98 <<
"Size of decomposition list does not correspond "
99 <<
"to the number of points. Size: "
100 << finalDecomp.size() <<
" Number of points: "
102 <<
".\n" <<
"Manual decomposition data read from file "
103 << decompDataFile_ <<
"." <<
endl
107 if (
min(finalDecomp) < 0 ||
max(finalDecomp) > nProcessors_ - 1)
110 <<
"According to the decomposition, cells assigned to "
111 <<
"impossible processor numbers. Min processor = "
112 <<
min(finalDecomp) <<
" Max processor = " <<
max(finalDecomp)
113 <<
".\n" <<
"Manual decomposition data read from file "
114 << decompDataFile_ <<
"." <<
endl
Macros for easy insertion into run-time selection tables.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Abstract base class for decomposition.
Decomposition given a cell-to-processor association in a file.
virtual labelList decompose(const polyMesh &mesh, const pointField &cellCentres, const scalarField &cellWeights)
Return for every coordinate the wanted processor number. Use the.
manual(const dictionary &decompositionDict)
Construct given the decomposition dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
const fileName & facesInstance() const
Return the current instance directory for faces.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(metis, 0)
addToRunTimeSelectionTable(decompositionMethod, metis, decomposer)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)