35void Foam::domainDecompositionDryRun::writeVolField
38 const labelUList& procIds
55 zeroGradientFvPatchScalarField::typeName
60 cellDist[celli] = procIds[celli];
63 cellDist.correctBoundaryConditions();
66 Info<<
nl <<
"Wrote decomposition to "
67 << cellDist.objectRelPath()
68 <<
" (volScalarField) for visualization."
88 Info<<
"Wrote decomposition to "
90 <<
" for visualization."
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
fileName relativePath(const fileName &input, const bool caseTag=false) const
const fvMesh & mesh() const noexcept
The mesh.
const Time & time() const
Return the top-level database.
void writeVTK() const
Write VTK freeSurface mesh.
const fileName & output() const noexcept
The current output file name.
virtual bool beginCellData(label nFields=0)
Begin CellData output section for specified number of fields.
void writeCellData(const word &fieldName, const UList< Type > &field)
Write primitive field of CellData.
virtual bool writeGeometry()
Write mesh topology.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimless
Dimensionless.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
UList< label > labelUList
A UList of labels.
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.