Go to the documentation of this file.
39 void Foam::domainDecomposition::distributeCells()
41 Info<<
"\nCalculating distribution of cells" <<
endl;
54 if (method.readIfPresent(
"weightField", weightName))
71 cellToProc_ = method.decomposer().decompose(*
this, cellWeights);
73 Info<<
"\nFinished decomposition in "
74 << decompositionTime.elapsedCpuTime()
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
IOobject(const IOobject &)=default
Copy construct.
Ostream & endl(Ostream &os)
Add newline and flush stream.
cpuTimeCxx cpuTime
Selection of preferred clock mechanism for the elapsed cpu time.
messageStream Info
Information stream (uses stdout - output is on the master only)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static const decompositionModel & New(const polyMesh &mesh, const fileName &decompDictFile="")
Read (optionally from absolute path) and register on mesh.
virtual const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
const Time & time() const
Return the top-level database.