35 void Foam::domainDecomposition::distributeCells()
37 Info<<
"\nCalculating distribution of cells" <<
endl;
64 cellToProc_ = decomposer.decompose(*
this, cellWeights);
66 Info<<
"\nFinished decomposition in " 67 << decompositionTime.elapsedCpuTime()
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ignore writing from objectRegistry::writeObject()
const Time & time() const
Return the top-level database.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
decompositionMethod & decomposer() const
Return demand-driven decomposition method.
virtual const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry if present, and assign to T val. FatalIOError if it is found and the number of tokens i...
static const decompositionModel & New(const polyMesh &mesh, const fileName &decompDictFile="", const dictionary *fallback=nullptr)
Read and register on mesh, optionally with alternative decomposeParDict path/name or with fallback co...
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field values.
cpuTimePosix cpuTime
Selection of preferred clock mechanism for the elapsed cpu time.
const word & name() const
Return reference to name.
messageStream Info
Information stream (stdout output on master, null elsewhere)
const decompositionModel & model() const
Return decomposition model used.
Do not request registration (bool: false)