56 zeroGradientFvPatchScalarField::typeName
61 cellDist[celli] = procIds[celli];
64 cellDist.correctBoundaryConditions();
67 Info<<
nl <<
"Wrote decomposition to " 68 << cellDist.objectRelPath()
69 <<
" (volScalarField) for visualization." 85 Info<<
"Wrote decomposition to " 87 <<
" for visualization." const fvMesh & mesh() const noexcept
The mesh.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool beginCellData(label nFields=0)
Begin CellData output section for specified number of fields.
fileName relativePath(const fileName &input, const bool caseTag=false) const
Return the input relative to the globalPath by stripping off a leading value of the globalPath...
Ignore writing from objectRegistry::writeObject()
const dimensionSet dimless
Dimensionless.
const Time & time() const
Return the top-level database.
#define forAll(list, i)
Loop across all elements in list.
const labelList & cellToProc() const noexcept
Cell-processor decomposition labels.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void writeVolField(const word &timeName) const
Write decomposition as volScalarField for visualization.
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
IOobject(const IOobject &)=default
Copy construct.
messageStream Info
Information stream (stdout output on master, null elsewhere)
List< label > labelList
A List of labels.
void writeCellData(const word &fieldName, const UList< Type > &field)
Write primitive field of CellData.
const fileName & output() const noexcept
The current output file name.
void writeVTK(const fileName &file) const
Write cell distribution as VTU file (binary)
virtual bool writeGeometry()
Write mesh topology.