34 void Foam::domainDecompositionDryRun::writeVolField
59 cellDist[celli] = procIds[celli];
62 cellDist.correctBoundaryConditions();
65 Info<<
nl <<
"Wrote decomposition to " 66 << cellDist.objectRelPath()
67 <<
" (volScalarField) for visualization." 72 void Foam::domainDecompositionDryRun::writeVTK
87 Info<<
"Wrote decomposition to " 89 <<
" for visualization." static const word & zeroGradientType() noexcept
The type name for zeroGradient patch fields.
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
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...
const fvMesh & mesh() const noexcept
The mesh.
Ignore writing from objectRegistry::writeObject()
const dimensionSet dimless
Dimensionless.
const Time & time() const
Return the top-level database.
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
void writeCellData(const word &fieldName, const UList< Type > &field)
Write primitive field of CellData.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static const word null
An empty word.
virtual bool beginCellData(label nFields=0)
Begin CellData output section for specified number of fields.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
messageStream Info
Information stream (stdout output on master, null elsewhere)
virtual bool writeGeometry()
Write patch topology.
const fileName & output() const noexcept
The current output file name.
Do not request registration (bool: false)