35 void Foam::domainDecomposition::distributeCells()
37 Info<<
"\nCalculating distribution of cells" <<
endl;
50 if (method.readIfPresent(
"weightField", weightName))
67 cellToProc_ = method.decomposer().decompose(*
this, cellWeights);
69 Info<<
"\nFinished decomposition in " 70 << decompositionTime.elapsedCpuTime()
const Internal::FieldType & primitiveField() const noexcept
Return a const-reference to the internal field values.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ignore writing from objectRegistry::writeObject()
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...
const Time & time() const
Return the top-level database.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
cpuTimePosix cpuTime
Selection of preferred clock mechanism for the elapsed cpu time.
messageStream Info
Information stream (stdout output on master, null elsewhere)