Go to the documentation of this file.
39 Info<<
"\nCalculating distribution of cells" <<
endl;
51 if (method.
found(
"weightField"))
53 word weightName = method.
lookup(
"weightField");
72 Info<<
"\nFinished decomposition in "
Starts timing CPU usage and return elapsed time from start.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
MeshObject wrapper of decompositionMethod.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Pre-declare SubField and related Field type.
decompositionMethod & decomposer() const
InternalField & internalField()
Return internal field.
double elapsedCpuTime() const
Return CPU time (in seconds) from the start.
const fileName decompDictFile_
Optional non-standard file for decomposeParDict.
labelList cellToProc_
Processor label for each cell.
static const decompositionModel & New(const polyMesh &mesh, const fileName &decompDictFile="")
Read (optionallly from absolute path) & register on mesh.
virtual labelList decompose(const pointField &points, const scalarField &pointWeights)
Return for every coordinate the wanted processor number.
const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
const Time & time() const
Return the top-level database.
Generic GeometricField class.