24 using reportFields = foamToVtkReportFields;
42 [](
const label i) -> fileName
97 writer->writeTimeValue(timeValue);
116 (withMeshIds ? 1 + (UPstream::parRun() ? 2 : 0) : 0)
163 << UPstream::nProcs() <<
" processes" <<
nl;
179 const word blockName(
"proc" +
Foam::name(proci));
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
label writeAllVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
constexpr char nl
The newline '\n' character (0x0a)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
fileName vtmOutputBase(outputDir/regionDir/vtkName+timeDesc)
List< wordList > procPatchNames(UPstream::nProcs())
word outputName("finiteArea-edges.obj")
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i), works like std::iota() but returning a...
autoPtr< vtk::internalWriter > internalWriter
const wordList volume
Standard volume field types (scalar, vector, tensor, etc)
vtk::vtmWriter vtmBoundaries
const polyBoundaryMesh & patches
return returnReduce(nRefine-oldNRefine, sumOp< label >())
messageStream Info
Information stream (stdout output on master, null elsewhere)
List< label > labelList
A List of labels.
PtrList< vtk::patchWriter > patchWriters
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())