30 template<
class GeoField>
31 Foam::label Foam::functionObjects::vtkWrite::writeVolFieldsImpl
45 const GeoField& origField
46 : baseMesh.
sorted<GeoField>(candidateNames)
51 const auto&
field = tfield();
77 Log <<
" " << GeoField::typeName <<
'(';
83 Log << origField.name();
88 if (verbose_ &&
count)
97 template<
class GeoField>
98 Foam::label Foam::functionObjects::vtkWrite::writeVolFieldsImpl
114 const GeoField& origField
115 : baseMesh.
sorted<GeoField>(candidateNames)
120 const auto&
field = tfield();
149 Log <<
" " << GeoField::typeName <<
"->point(";
155 Log << origField.name();
160 if (verbose_ &&
count)
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
Ostream & endl(Ostream &os)
Add newline and flush stream.
const fvMesh & baseMesh() const noexcept
Original mesh.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
autoPtr< vtk::internalWriter > internalWriter
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
static tmp< GeoField > interpolate(const fvMeshSubset &subsetter, const GeoField &fld)
Wrapper for field or the subsetted field.
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
Mesh data needed to do the Finite Volume discretisation.
Write OpenFOAM patches and patch fields in VTP or legacy vtk format.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
UPtrList< const regIOobject > sorted() const
Return sorted list of objects.
PtrList< vtk::patchWriter > patchWriters
autoPtr< volPointInterpolation > pInterp