49 Foam::manualDecomp::manualDecomp
58 findCoeffsDict(typeName +
"Coeffs").
get<
fileName>(
"dataFile")
74 labelIOList::readContents
90 <<
"Size of decomposition list does not correspond " 91 <<
"to the number of points. Size: " 92 << finalDecomp.size() <<
" Number of points: " 94 <<
".\n" <<
"Manual decomposition data read from file " 95 << dataFile_ <<
"." <<
endl 102 if (
range.min() < 0 ||
range.max() >= nDomains_)
105 <<
"According to the decomposition, cells assigned to " 106 <<
"impossible processor numbers. Min processor = " 107 <<
range.min() <<
" Max processor = " <<
range.max()
108 <<
".\n" <<
"Manual decomposition data read from file " 109 << dataFile_ <<
"." <<
endl List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
void size(const label n)
Older name for setAddressableSize.
A class for handling file names.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const fileName & facesInstance() const
Return the current instance directory for faces.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
MinMax< label > minMax(const labelHashSet &set)
Find the min/max values of labelHashSet.
Foam::word regionName(Foam::polyMesh::defaultRegion)
A class for handling words, derived from Foam::string.
Abstract base class for domain decomposition.
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Mesh consisting of general polyhedral cells.
virtual labelList decompose(const polyMesh &mesh, const pointField &cc, const scalarField &cWeights) const
Return for every coordinate the wanted processor number.
Defines the attributes of an object for which implicit objectRegistry management is supported...