38#ifndef writePointFields_H
39#define writePointFields_H
50template<
class GeoField>
83 const auto&
field = tproxied();
104template<
class GeoField>
111 const typename GeoField::Mesh& ptMesh,
122 writePointField<GeoField>
126 getField<GeoField>(ptMesh, objects, fieldName, syncPar),
151 #undef foamToVtk_WRITE_FIELD
152 #define foamToVtk_WRITE_FIELD(FieldType) \
153 writePointFields<FieldType> \
169 #undef foamToVTK_WRITE_FIELD
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
List of IOobjects with searching and retrieving facilities.
wordList sortedNames() const
The sorted names of the IOobjects.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Simple proxy for holding a mesh, or mesh-subset. The subMeshes are currently limited to cellSet or ce...
static tmp< GeoField > interpolate(const fvMeshSubset &subsetter, const GeoField &fld)
Wrapper for field or the subsetted field.
const fvMesh & baseMesh() const noexcept
The entire base mesh.
bool useSubMesh() const noexcept
True if sub-mesh should be used.
Mesh representing a set of points created from polyMesh.
A class for managing temporary objects.
void clear() const noexcept
Write OpenFOAM patches and patch fields in VTP or legacy vtk format.
A class for handling words, derived from Foam::string.
autoPtr< vtk::internalWriter > internalWriter
PtrList< vtk::patchWriter > patchWriters
#define foamToVtk_WRITE_FIELD(FieldType)
label writeAllPointFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)
bool writePointField(ensightCase &ensCase, const ensightMesh &ensMesh, const tmp< PointField< Type > > &tfield)
label writePointFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)