38#ifndef writeDimFields_H
39#define writeDimFields_H
49template<
class GeoField>
61 const auto&
field = tfield();
73template<
class GeoField>
86 const auto&
field = tfield();
98template<
class GeoField>
113 writeDimField<GeoField>
116 getField<GeoField>(proxy, objects, fieldName, syncPar)
128template<
class GeoField>
145 writeDimField<GeoField>
148 getField<GeoField>(proxy, objects, fieldName, syncPar)
169 #undef foamToVtk_WRITE_FIELD
170 #define foamToVtk_WRITE_FIELD(FieldType) \
171 writeDimFields<FieldType> \
186 #undef foamToVTK_WRITE_FIELD
201 #undef foamToVtk_WRITE_FIELD
202 #define foamToVtk_WRITE_FIELD(FieldType) \
203 writeDimFields<FieldType> \
205 internalWriter, pInterp, \
218 #undef foamToVTK_WRITE_FIELD
List of IOobjects with searching and retrieving facilities.
wordList sortedNames() const
The sorted names of the IOobjects.
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...
A class for managing temporary objects.
void clear() const noexcept
A class for handling words, derived from Foam::string.
autoPtr< vtk::internalWriter > internalWriter
autoPtr< volPointInterpolation > pInterp
#define foamToVtk_WRITE_FIELD(FieldType)
label writeAllDimFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)
label writeDimFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)
bool writeDimField(ensightCase &ensCase, const ensightMesh &ensMesh, const tmp< VolumeInternalField< Type > > &tdf)