24 using reportFields = foamToVtkReportFields;
28 reportFields::volume(Info, objects);
39 [](
const label i) -> fileName
81 auto writer = autoPtr<vtk::patchWriter>::New
96 writer->useCellValue(nearCellValue);
101 writer->writeTimeValue(timeValue);
120 (withMeshIds ? 1 + (UPstream::parRun() ? 2 : 0) : 0)
167 << UPstream::nProcs() <<
" processes" << nl;
183 const word blockName(
"proc" +
Foam::name(proci));
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/(vtkBaseFileName+"-edgesCentres")))
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
fileName vtmOutputBase(outputDir/regionDir/vtkName+timeDesc)
labelList selectedPatchId(1)
autoPtr< vtk::internalWriter > internalWriter
List< wordList > procPatchNames(UPstream::nProcs())
PtrList< vtk::patchWriter > patchWriters
const polyBoundaryMesh & patches
word outputName("finiteArea-edges.obj")
vtk::vtmWriter vtmBoundaries
return returnReduce(nRefine-oldNRefine, sumOp< label >())
bool is_volume(const word &clsName)
Test if the class name appears to be a volume field.
label writeAllVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define forAll(list, i)
Loop across all elements in list.