51 Foam::manualDecomp::manualDecomp(
const dictionary& decompositionDict)
56 decompositionDict.subDict(
word(decompositionDict.
lookup(
"method"))
57 +
"Coeffs").
lookup(
"dataFile")
86 if (finalDecomp.
size() != points.
size())
90 "manualDecomp::decompose(const pointField&, const scalarField&)" 91 ) <<
"Size of decomposition list does not correspond " 92 <<
"to the number of points. Size: " 93 << finalDecomp.
size() <<
" Number of points: " 95 <<
".\n" <<
"Manual decomposition data read from file " 96 << decompDataFile_ <<
"." <<
endl 104 "manualDecomp::decompose(const pointField&, const scalarField&)" 105 ) <<
"According to the decomposition, cells assigned to " 106 <<
"impossible processor numbers. Min processor = " 107 <<
min(finalDecomp) <<
" Max processor = " <<
max(finalDecomp)
108 <<
".\n" <<
"Manual decomposition data read from file " 109 << decompDataFile_ <<
"." <<
endl
A class for handling words, derived from string.
void size(const label)
Override size to be inconsistent with allocated storage.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
stressControl lookup("compactNormalStress") >> compactNormalStress
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Abstract base class for decomposition.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Macros for easy insertion into run-time selection tables.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
const fileName & facesInstance() const
Return the current instance directory for faces.
Mesh consisting of general polyhedral cells.
virtual labelList decompose(const polyMesh &mesh, const pointField &cc, const scalarField &cWeights)
Return for every coordinate the wanted processor number. Use the.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)