30 template<
class GeoField>
31 Foam::label Foam::functionObjects::vtkWrite::writeVolFieldsImpl
45 const GeoField& origField
46 : baseMesh.
csorted<GeoField>(candidateNames)
51 const auto&
field = tfield();
75 Log <<
" " << GeoField::typeName <<
'(';
81 Log << origField.name();
86 if (verbose_ &&
count)
95 template<
class GeoField>
96 Foam::label Foam::functionObjects::vtkWrite::writeVolFieldsImpl
112 const GeoField& origField
113 : baseMesh.
csorted<GeoField>(candidateNames)
118 const auto&
field = tfield();
147 Log <<
" " << GeoField::typeName <<
"->point(";
153 Log << origField.name();
158 if (verbose_ &&
count)
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
UPtrList< const Type > csorted() const
Return sorted list of objects with a class satisfying isA<Type> or isType<Type> (with Strict) ...
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.
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...
PtrList< vtk::patchWriter > patchWriters
autoPtr< volPointInterpolation > pInterp